Skip to content

One API,
every major LLM

Call every major model with the SDK you already use.

  • 329 models
  • Official and cloud routes
  • Pay as you go

Every major model, one API key

Change one URL, keep your SDK

Automatic failover between routes

Connect in three steps.
Most tools need two lines of config.

  1. Create an API key

    Sign up, then create a new key in the console.

  2. Replace the Base URL

    Replace the address in your SDK or tool with the one below.

    https://codaapi.com/v1
  3. Pick a model, send a request

    Set model to any name listed in Models.

Read the integration docs
Terminal
# Set two environment variables, then start as usual
export ANTHROPIC_BASE_URL="https://codaapi.com"
export ANTHROPIC_AUTH_TOKEN="$CODAAPI_KEY"
claude
Base URL https://codaapi.com/v1

Works with the AI tools you use,
and with your own apps

  • Three native protocols
  • One API key
  • Multi-route scheduling

Any tool that supports the OpenAI or Anthropic protocol can connect.

Models at a glance

Data is read directly from the gateway pricing API, so models added in the admin panel appear here as well. Counts are by model name: dated versions and aliases of the same model are counted separately.

OpenAI 180
Google 63
xAI 37
Anthropic 35
Alibaba 9
Zhipu AI 4
iFLYTEK 1
  1. gpt-5.5 Chat
  2. claude-opus-5-5 ChatMessages
  3. gemini-3.5-flash ChatGemini
  4. gpt-5.4-mini Chat
  5. claude-sonnet-5-5 ChatMessages
  6. grok-4.3 ChatResponses
  7. gemini-2.5-pro ChatGemini
  8. glm-5.3 Chat

Data as of 2026-11-18

Billing and FAQ

How is billing calculated?

Charges are deducted from your account balance based on actual usage. Chat models are billed by tokens, with input and output priced separately. Image, video and similar models are billed per image, per request or per second. For each model, the price listed in Models applies.

How much of my existing code do I need to change?

Change the Base URL to https://codaapi.com/v1 and the key to your CodaAPI API key. Leave everything else as it is.

Which API protocols are supported?

OpenAI Chat Completions and Responses, Anthropic Messages, the native Gemini API, and the image generation API.

Can I use tools like Claude Code and Codex?

Yes. Enter the CodaAPI address and your API key in the tool configuration. The examples above show the format.

Will my requests be used to train models?

We do not use your request content to train models, and we do not store the input or output of chat requests. We only record the usage needed for billing and troubleshooting. Asynchronous generation tasks such as video and drawing keep a task record (the prompt you submitted and the task result) so that you can query progress and results. Requests are forwarded to the provider of the model you call, and how that provider handles data is governed by its own terms. Read the privacy policy

Change one Base URL and start

Sign up, create a key in the console, and usage is deducted from your balance.

Frontend design and development by New API contributors. github.com/QuantumNous/new-api