Skip to content
NagaAI

One API for chat, images, video, and more

380+ models from OpenAI, Anthropic, Google and 53 more labs, below market price. Every request goes to the provider that is working best right now.

Models
380+
Tokens processed
376B
Users
35K
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.naga.ac/v1",
    api_key=os.environ["NAGA_API_KEY"],
)

response = client.responses.create(
    model="deepseek-v4.1-flash-1017",
    input="Hello",
)
print(response.output_text)

Models from 56 labs, including

Text, images, video and audio in one API

One key and one balance for every kind of model, through the SDK you already use.

Chat, reasoning and coding models from every major lab, with tools and vision where the model supports them.

Browse in the catalog

Routing that measures every provider

Most models are served by several providers. NagaAI ranks them on live traffic and sends each request to the one that is working best right now.

Measured on live traffic
We track how often each provider answers and how fast, for every model, and send each request to the one doing best right now.
Failures stay on our side
If a provider errors or stops answering, your request moves to the next one. Providers that are down are skipped before your request reaches them.
You pay for the answer
Attempts that failed before another provider answered cost nothing.

Care more about speed than reliability? Pick another routing strategy for a request or for a whole key. Routing strategies

Flagship models, below market price

Pay per token from one balance, with no subscription. Next to our price, struck through, is the lowest price elsewhere.

Flagship models with input and output prices per 1M tokens
ModelInput / 1MOutput / 1M
$2market price $4$10market price $20
$2.50market price $5$12.50market price $25
$0.50market price $1$2.50market price $5
$1market price $2$3market price $6
$0.45market price $0.617$0.75market price $1.23
$1market price $2$3market price $6
Logo of MoonShotAI
Kimi K3.1 ProMoonShotAI
$1market price $2$5market price $10
Logo of Meta Llama
Muse WonderMeta Llama
$2market price $4$10market price $20
$1.40market price $2.80$4.40market price $8.80
$0.35market price $0.70$1.05market price $2.10
All 382 models

Works with the code you already have

Every chat model works with the OpenAI and Anthropic SDKs. Change the base URL and the key, and keep your code, your agent and your prompts.

  • OpenAI ResponsesOpenAI SDK, Codex CLI, OpenAI Agents SDK
  • OpenAI Chat CompletionsOpenAI SDK and most OpenAI-compatible tools
  • Anthropic MessagesAnthropic SDK, Claude Code

Providers differ, your request does not: NagaAI adapts it to each provider, so the same code works with every model. What changes

Start in three steps

  1. 01Create an account

    Sign up with Google, GitHub, Discord or email.

  2. 02Create an API key

    Create a key in the dashboard. It opens with a first request ready to run, and free models answer right away.

  3. 03Add credits for paid models

    Pay by card, PayPal, crypto, Alipay or WeChat Pay. No subscription, and credits do not expire.

From the blog

All posts

Start building with one API key.