Get your API key
Head to your NinjaChat Developer Settings and generate a new API key.
Set up your API key
Add your API key to your environment. You’ll reference it in every request.Or add it to a
.env file in your project:Make your first request
Send a message to any model. Set
model to auto and NinjaChat picks the best one for you.Next steps
Smart Routing
Auto-select the best model for each prompt
Model Compare
Benchmark models side-by-side
Batch
Run up to 20 prompts in parallel
Sessions
Build multi-turn conversations
Images
Generate images with 13 models
All Models
See every available model