AIone API (English)
    • 01 - Quick Start
    • 02 - Authentication
    • 03 - Error Codes
    • 04 - Pricing
    • 05 - Contact Us
    • 06 - Quality of Service
    • 07 - Complete Examples
    • 08 - Caching & Cost Optimization
    • 11 - Model Quality Monitoring
    • 12 - Network & Connectivity
    • 13 - Model Naming & Compatibility
    • 14 - Gemini Image Generation
    • 09 - Model Verification
    • 10 - IDE Integration

    02 - Authentication

    AIone supports both the OpenAI-compatible protocol and the Anthropic native protocol. Choose the appropriate authentication header and Base URL based on your client type.

    OpenAI-Compatible Format#

    Use this for the OpenAI SDK, Cursor, Cline, Continue, and any custom client that supports OpenAI-compatible endpoints.
    Base URL: https://api.nexara.net/v1
    Authentication header:
    Example:

    Anthropic Native Format#

    Use this for Claude Code, the Anthropic SDK, and clients that call the Messages API directly.
    Base URL: https://api.nexara.net
    Authentication headers:
    Example:
    If your client only asks for a Base URL, use https://api.nexara.net for Anthropic native clients. The SDK will automatically append /v1/messages as required by the protocol.

    Security Best Practices#

    API Keys use the sk-nex- prefix and can be created and managed in the AIone Console.
    Never commit API Keys to source control repositories
    Never hardcode API Keys in frontend code
    Store keys in environment variables:

    Key Management#

    ActionDescription
    CreateConsole > API Keys > Create; optionally restrict which models the key can access
    RotateCreate a new key, migrate your workloads, then disable or delete the old key
    Disable / EnableTemporarily suspend or reactivate a key
    DeletePermanently remove a key (irreversible)
    Modified at 2026-04-04 15:55:30
    Previous
    01 - Quick Start
    Next
    03 - Error Codes
    Built with