Skip to main content
ARouter exposes an OpenAI-compatible models endpoint to list all available models for your account.

List Models

GET /v1/models
Returns a list of models available to your API key. The list reflects which providers are enabled for your account.

Request

curl https://api.arouter.ai/v1/models \
  -H "Authorization: Bearer lr_live_xxxx"

Response

{
  "object": "list",
  "data": [
    {
      "id": "openai/gpt-5.4",
      "object": "model",
      "created": 1748000000,
      "owned_by": "openai"
    },
    {
      "id": "openai/gpt-5.4-pro",
      "object": "model",
      "created": 1748000000,
      "owned_by": "openai"
    },
    {
      "id": "anthropic/claude-sonnet-4.6",
      "object": "model",
      "created": 1748000000,
      "owned_by": "anthropic"
    },
    {
      "id": "anthropic/claude-opus-4.5",
      "object": "model",
      "created": 1748000000,
      "owned_by": "anthropic"
    },
    {
      "id": "google/gemini-2.5-flash",
      "object": "model",
      "created": 1748000000,
      "owned_by": "google"
    },
    {
      "id": "deepseek/deepseek-v3.2",
      "object": "model",
      "created": 1748000000,
      "owned_by": "deepseek"
    }
  ]
}

Model Object Schema

FieldTypeDescription
idstringModel identifier in provider/model format
objectstringAlways "model"
createdintegerUnix timestamp of model registration
owned_bystringProvider that owns the model (e.g. "openai", "anthropic")

Using Models

Use the id directly as the model field in your requests:
from openai import OpenAI

client = OpenAI(
    base_url="https://api.arouter.ai/v1",
    api_key="lr_live_xxxx",
)

# List available models
models = client.models.list()
for model in models.data:
    print(model.id)

# Use a specific model
response = client.chat.completions.create(
    model="anthropic/claude-sonnet-4.6",
    messages=[{"role": "user", "content": "Hello!"}],
)

Auto Routing

In addition to specific model IDs, ARouter supports a special value:
ModelDescription
"auto"ARouter automatically selects the best available model for your request
curl https://api.arouter.ai/v1/chat/completions \
  -H "Authorization: Bearer lr_live_xxxx" \
  -H "Content-Type: application/json" \
  -d '{"model": "auto", "messages": [{"role": "user", "content": "Hello!"}]}'
The response model field always shows the model that was actually used. See Model Routing — Auto Routing for details.

Notes

  • The model list is filtered by your account’s enabled providers. If a provider is not enabled for your account, its models will not appear.
  • New models are added automatically as providers release them.
  • Use model IDs from this list directly in the model field of your chat completion requests.
See Providers for a curated list of available providers and their flagship models.