NinjaChat API
Build with AI.
Ship more than text.
Text, images, video, search and agent tools. One API key, one balance.
- models
- 220
- providers
- 44
- free to start
- $0.50

Python · request
image = client.images.generate(
model="gpt-image-2",
prompt="Cobalt running shoe campaign, warm concrete",
)Für Entwickler
Jedes Modell.
Eine API.
chat.pyKompatibel mit dem OpenAI SDK
import os from openai import OpenAI client = OpenAI(api_key=os.environ["NINJACHAT_API_KEY"], base_url="https://www.ninjachat.ai/api/v1") response = client.chat.completions.create( model="claude-opus-5", messages=[{"role": "user", "content": "Make a clear plan for my next big idea"}], extra_body={"routing": {"strategy": "balanced", "allow_fallbacks": True}},) print(response.choices[0].message.content)Antwortvorschau
Mach deinen ersten Aufruf.
Jede Modalität
Chat. Bild. Video. Suche.
Routing, ganz nach deinen Regeln
Automatisch. Fallbacks. Anbieterrichtlinien.
Jede Anfrage im Blick
Traces. Tokens. Tatsächliche Kosten.
Pricing
One balance.
Published prices.
Pay per request from one prepaid balance. Top up from $5.
Rates
- Text
- from $0.01/M input
- Image
- $0.0002–$0.128 / image
- Video
- $0.422–$3.64 / output
- Search
- $0.05 / query
- MCP
- model price + 8%
req_8f31 · exampleSettled
- Model usage
- $0.032
- Service fee · 8%
- $0.0026
- Total
- $0.035
Example charge. Every request settles against your balance at the published rate.