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.
Anthropic's highest-capability generally available model for long-running agents.
Anthropic's fastest Claude variant — lightning-quick responses.
Anthropic's most intelligent model — use when quality is paramount.
Anthropic's Opus 5 for complex agentic coding and enterprise knowledge work.
Anthropic's previous Sonnet — strong at code and analysis.
Anthropic's best everyday model — exceptional code and reasoning.
Anthropic's frontier Sonnet for coding and agents, with a native 1M context window.
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 →