Models / openrouter
openrouter

Auto Router

openrouter/auto

Your prompt will be processed by a meta-model and routed to one of dozens of models (see below), optimizing for the best possible output. To see which model was used,...

Input
$-1300000 / 1M tokens
Output
$-1300000 / 1M tokens
Context
2000K tokens

Capabilities

✓ Streaming✓ Tool / function calling✓ JSON / structured output✓ Vision (image input)

Call this model

Pass openrouter/auto as the model. Change only the base URL from your existing OpenAI SDK setup.

quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
  -H "Authorization: Bearer $MDB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openrouter/auto",
    "messages": [{"role":"user","content":"Hello!"}]
  }'

Prices are final — the routing margin is already included. See the full pricing table or the API docs.