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

    12 - Network & Connectivity

    Network & Connectivity#

    Endpoints#

    Choose the Base URL that matches your client's protocol:
    ScenarioBase URLDescription
    OpenAI Compatiblehttps://api.nexara.net/v1For OpenAI SDK, Cursor, Cline, Continue, Cherry Studio
    Anthropic Nativehttps://api.nexara.netFor Claude Code, Anthropic SDK

    Use Streaming Mode#

    We recommend enabling stream: true for all interactive scenarios. In streaming mode, time-to-first-token drops to 2-3 seconds. Non-streaming requests must wait for the model to generate the entire response before returning, which can time out when the model produces longer outputs.
    If you encounter response timeouts or empty responses in clients such as Cherry Studio or ChatBox, first check whether streaming mode is enabled.

    Connection Troubleshooting#

    1.
    Verify the Base URL matches your client's protocol.
    2.
    Ensure your network allows outbound access to api.nexara.net.
    3.
    Check whether proxies, firewalls, or gateways are blocking HTTPS long-lived connections or SSE streams.
    4.
    Verify that local DNS resolution and certificate validation are working correctly.
    5.
    If responses time out or return no content: Confirm that your request includes "stream": true. Non-streaming requests may time out when the model generates lengthy output.

    OpenAI-Compatible Example (Streaming)#

    Anthropic Messages API Example (Streaming)#

    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.
    Modified at 2026-04-04 16:04:15
    Previous
    11 - Model Quality Monitoring
    Next
    13 - Model Naming & Compatibility
    Built with