OpenRouter API
OpenAI-compatible unified API for 340+ models at direct provider rates, plus six OpenRouter routers for auto-selection, free routing, and multi-model deliberation
Core models
Model id: openrouter/auto. NotDiamond picks the optimal underlying model per prompt—no extra router fee; response includes actual model field, with session_id sticky routing and cost_quality_tradeoff (0–10).
Model id: openrouter/free. Smart random selection from free pool—$0 tokens, subject to daily limits.
Model id: openrouter/fusion. Parallel panel + judge synthesis—cost equals sum of participating model fees.
Model id: openrouter/pareto-code. Coding model shortlist ranked by Artificial Analysis coding scores.
Model id: openrouter/bodybuilder (beta). Natural language to structured API request objects.
Additional core model names still appear above, with full details on the latest official page.
Plan details
Pay-as-you-go
Pay-as-you-goRecommendedSmart Routers
Smart routersSmart Routers
Smart routersNotes
- Third-party models (GPT, Claude, Gemini, etc.) use provider/model ids at models page rates—see each vendor's direct API page on this site.
- Router responses include the actual underlying model id in metadata; Auto/Fusion/Pareto/Body Builder bill at the routed model's token rates (summed for multi-model calls).
- openrouter/auto is powered by NotDiamond with no extra router fee—billed at the selected underlying model's token rate; supports session_id sticky routing and allowed_models allowlists.
- Free model API defaults to 50/day, 1000/day after $10+ Credits; paid model rate limits depend on balance—see docs/faq.
Supported coding tools
Pricing and model data sourced from official vendor websites