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",
)Untuk pengembang
Semua model.
Satu API.
chat.pyKompatibel dengan SDK OpenAI
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)Pratinjau respons
Lakukan panggilan pertama Anda.
Semua modalitas
Chat. Gambar. Video. Pencarian.
Perutean sesuai cara Anda
Otomatis. Cadangan. Kebijakan penyedia.
Lihat setiap permintaan
Jejak. Token. Biaya sebenarnya.
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.