Every kind of AI model, below market price
600+ models for chat, images, video, and more from OpenAI, Anthropic, Google and 83 more labs, in one API. Each request goes to the lowest-priced provider that can serve it right now; if it fails, it moves to the next.
- Models
- 600+
- Tokens processed
- 485B
- Users
- 37K
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/deepseek-v4.1-flash-1017",
input="Hello",
)
print(response.output_text)Models from 86 labs, including
Flagship models, up to 75% below the market price
Pay only for what you use, from one balance, with no subscription. How our prices work
- Input / 1M
- $4
- Output / 1M
- $20
- Input / 1M
- $4
- Output / 1M
- $20
- Input / 1M
- $0.75
- up to $1.50
- Output / 1M
- $3.75
- up to $7.50
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 catalogDeepSeek V4.1 Flash 1017Deepseek
MiniMax M3.1 FlashMinimax
MiMo-V2.6-FlashXiaomi
GPT OSS 20BOpenAI
GLM 5.3 FlashZ.ai
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
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.
- Claude CodeCoding agent
- Codex CLICoding agent
- ClineCoding agent
- Kilo CodeCoding agent
- OpenCodeCoding agent
- OpenClawAI agent
- Hermes AgentAI agent
- LangChainFramework
- Vercel AI SDKFramework
- Open WebUIChat app
Also Continue, LibreChat and any OpenAI or Anthropic client. Every chat model answers on OpenAI Responses, OpenAI Chat Completions and Anthropic Messages, adapted to each provider. What changes
Start in three steps
- 01Create an account
Sign up with Google, GitHub, Discord or email.
- 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.
- 03Add credits for paid models
Pay by card, PayPal, crypto, Alipay or WeChat Pay. No subscription, and credits do not expire.
From the blog
· Launch
Every chat model on Responses, Chat Completions and MessagesOne model, three request formats. Use the Responses API, Chat Completions or Anthropic Messages with any chat model in the catalog.
· Launch
Video generation in the APIKling, Grok Imagine, Wan and MiniMax video models with the same key and balance, priced per second, with nothing charged for a failed job.
· Launch
Referral program: earn on every top-upEarn 10% of every top-up your referrals make, 15% once 20 of them have paid. They get a 25% bonus on their first top-up.