Frontier models
Image Models
Video Models
Browse the live catalog
Get every available model, current pricing and supported parameters.Smart Routing
How smart routing works
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Explore chat, image and video models from OpenAI, Anthropic, Google, Black Forest Labs and more.
const catalog = await client.models.list();
const images = catalog.data.filter(
(model) => model.modality === "image"
);
catalog = client.models.list()
images = [m for m in catalog["data"] if m["modality"] == "image"]
curl https://www.ninjachat.ai/api/v1/models
| ID | Strategy | Billed at |
|---|---|---|
ninja/auto | Choose an eligible model, then route to a healthy provider | Resolved model and rail’s rate |
routing.strategy: "latency" | Prefer the fastest eligible rail | Resolved rail’s rate |
routing.strategy: "cost" | Prefer the least expensive eligible rail | Resolved rail’s rate |
routing.strategy: "quality" | Prefer the highest-quality eligible rail | Resolved rail’s rate |
models: [...] | Ordered model fallbacks | Successful execution only |