Skip to main content
NagaAI is one API for chat, image, video, audio, embedding, moderation, and rerank models from many providers. You keep the OpenAI or Anthropic SDK you already use and change only the base URL and the key. When a provider fails, NagaAI sends your request to another one.

Make your first request

Set NAGA_API_KEY to a key from the API Keys page and run:
For a step-by-step version, see the Quickstart.

Connection settings

Every SDK and tool needs the following settings:

Explore the docs

Get started

Create a key and get your first answer in five minutes.

Concepts

How routing, pricing, and the chat formats work.

Guides

Streaming, tool calling, structured outputs, images, video, and audio.

API reference

Every endpoint, object, and error.

Integrations

Claude Code, Codex, OpenCode, and other tools.

Changelog

Changes that affect your code or your bill.