SupaNexus

SupaNexus provides two endpoints that share the same account and API key. Request paths, authentication, model list, and billing are identical — use either.

Replace <BASE_URL> in other docs with a base URL from the table below.

Base URLs

SiteBase URLWhen to use
Globalhttps://api.supanexus.ai/v1Default endpoint
CNhttps://api.supanexus.io/v1Backup endpoint

How to choose

  • Use Global by default.
  • If Global is unreachable or unstable, switch to the CN backup endpoint.
  • When switching, change only base_url / SNX_BASE_URL / OPENAI_BASE_URL (or equivalent). API key and other code stay the same.

OpenAI SDK

OpenAI-compatible paths include /v1:

from openai import OpenAI

client = OpenAI(
    base_url="https://api.supanexus.ai/v1",  # or "https://api.supanexus.io/v1"
    api_key="your-api-key",
)

Anthropic SDK

Anthropic SDK base_url does not include /v1:

import anthropic

client = anthropic.Anthropic(
    api_key="sk-snx-...",
    base_url="https://api.supanexus.ai",  # or "https://api.supanexus.io"
)

Related