Anthropic's best everyday model — exceptional code and reasoning.
78 chat, image, and video models behind one OpenAI-compatible key — flat per-token pricing, automatic failover across 16 providers.
No card required · $0.50 starter credit · OpenAI-compatible
Every major lab. One key.
Real generations from the video and image rails — the prompt is the caption, the price is on the card, and every one runs on the same key as chat.
“A lone rider crosses a mirror-flat salt lake at dawn, perfect reflection below, wide anamorphic framing, hooves echoing in the silence”
google-veo-2from $2.5/secEvery text model with flat per-token pricing. Latency, uptime, and volume are measured on our own traffic over the trailing 30 days — never quoted.
Anthropic's best everyday model — exceptional code and reasoning.
NinjaChat's uncensored model for creative and unrestricted use cases.
Google's most capable standard model — excellent creative output.
OpenAI's flagship model — excellent across all task types.
Google's ultra-fast model with a 1M token context window.
Anthropic's previous Sonnet — strong at code and analysis.
Anthropic's fastest Claude variant — lightning-quick responses.
Anthropic's most intelligent model — use when quality is paramount.
Gemini's high-efficiency flash variant.
OpenAI's latest flagship — the most capable GPT for hard reasoning and code.
OpenAI's high-volume GPT-5.6 model with 1.05M context and full tool support.
OpenAI's flagship GPT-5.6 model for the hardest reasoning and coding workloads.
OpenAI's balanced GPT-5.6 model for coding, agents, and professional work.
OpenAI's compact open-weight reasoning model on three independently operated inference rails.
Anthropic's highest-capability generally available model for long-running agents.
Anthropic's Opus 5 for complex agentic coding and enterprise knowledge work.
Anthropic's frontier Sonnet for coding and agents, with a native 1M context window.
Gemini's high-efficiency flash variant.
Google's pro model with a massive 1M token context.
Google's ultra-fast model with a 1M token context window.
Gemini 3 Pro — Google's latest standard-tier powerhouse.
Google's newest Flash model for coding, multimodal reasoning, and high-throughput agents.
Meta's larger Llama 4 variant — stronger reasoning than Scout.
Moonshot's multimodal agentic model for long-horizon coding and autonomous execution.
Moonshot's coding-specialized Kimi with faster, more token-efficient long-horizon execution.
Moonshot's Kimi K3 frontier model on Fireworks with native vision and 1M context.
Z.ai's extremely low-cost GLM reasoning model for fast coding and tool workflows.
Z.AI's GLM 5.2 agentic model served directly through Fireworks' zero-retention endpoint.
Qwen's sparse 35B/3B-active multimodal model for efficient coding and agents.
Qwen's fast multimodal flagship for agent loops, coding, and tool use.
Qwen's open-weight 2.4T-parameter sparse-MoE flagship with 95B active parameters.
Qwen's efficient 27B model on independently operated DeepInfra and GMI rails.
Qwen's 2.4T-parameter sparse-MoE frontier model for autonomous long-horizon work.
Qwen's efficient 80B/3B-active instruct model on two independent direct rails.
Mistral's flagship multilingual model.
Mistral's frontier-class multimodal model optimized for agentic coding and professional work.
Mistral's efficient 119B/6.5B-active hybrid model unifying instruct, reasoning, and coding.
MiniMax's efficient agent model for complex harnesses and multi-step productivity work.
MiniMax's low-cost open-weight frontier model with native multimodality and 512K context.
Routes each request to an eligible text model. The resolved model's token rates determine the actual charge.
Thinking Machines Lab's 975B multimodal open-weight generalist with 1M context.
Google's sparse Gemma 4 variant with efficient multimodal reasoning on two independent hosts.
Google's popular open multimodal model with native reasoning and function calling.
Tencent's reasoning and coding model on two independently operated, live-tested rails.
Xiaomi's efficient multimodal agent model, currently one of OpenRouter's most-used coding models.
Xiaomi's higher-capability MiMo V2.5 tier for long-context coding and tool-driven agents.
ByteDance Seed's coding-specialized multimodal model for repository-scale engineering.
ByteDance Seed's low-cost multimodal reasoning model with a 256K context window.
ByteDance Seed's full-capability multimodal reasoning model for professional agent workloads.
The same request reaches any model in the catalog — swap one line, keep your code.
curl https://www.ninjachat.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NINJACHAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4.6",
"messages": [{ "role": "user", "content": "Hello!" }]
}'NinjaChat is an all-in-one AI API: OpenAI, Anthropic, Google Gemini, Fal, and other labs — chat, image, and video generation — behind one OpenAI-compatible endpoint, one prepaid key (nj_sk_), and automatic provider failover. No lock-in to a single lab.
Yes. Point base_url at https://www.ninjachat.ai/api/v1 and use an nj_sk_ key. Streaming, tool calls, JSON modes, and models.list work. Always use the www host — the apex domain redirects and most HTTP clients strip Authorization on that redirect.
Yes. The same key calls POST /v1/chat/completions, POST /v1/images/generations (synchronous), and POST /v1/videos (submit, then poll GET /v1/videos/{id} or register a webhook). Register webhooks at https://www.ninjachat.ai/developers/keys#webhooks. Image models include FLUX, Imagen 4, Recraft, and gpt-image-2. Video models include Veo, Kling, and Seedance.
For OpenAI-compatible clients, change the base URL and API key. Step-by-step guides for OpenAI, Anthropic, OpenRouter, Replicate, fal.ai, Together AI, Fireworks AI live at https://www.ninjachat.ai/migrate. Frameworks (Vercel AI SDK, LangChain, LlamaIndex, LiteLLM) keep working.
Pay as you go from one prepaid balance. Chat bills metered per-token rates. Images and video bill per generation. Prices live on GET /api/v1/models — no auth required. No credit card to start; $0.50 starter credit.
OpenAPI 3.1 at https://www.ninjachat.ai/openapi.json (also GET /api/v1/openapi). Live catalog at GET /api/v1/models (no auth). Docs at https://docs.ninjachat.ai. Status at https://www.ninjachat.ai/status. Benchmarks at https://www.ninjachat.ai/benchmarks.
Auto-routed across providers, transparent per-token pricing, OpenAI-compatible. Start in under a minute.
Get an API keyEvery model runs on ranked provider rails. A bad rail is skipped automatically — and you pay one price, whichever rail serves.
This card is live — latency, success, and volume from our own traffic, the same health data the status surface publishes.
See the live rankings →base_url="https://api.openai.com/v1"base_url="https://ninjachat.ai/api/v1"client.chat.completions.create(…)OpenAI-compatible end to end: swap the base URL and key, keep your SDK, streaming, and tool calls.
Migration guides →