Models
Browse available models and their capabilities.
List Models
GET
/v1/models
Returns a list of all available models.
Example Request
curl https://api.routerhub.ai/v1/models \
-H "Authorization: Bearer $ROUTERHUB_API_KEY"Example Response
{
"object": "list",
"data": [
{
"id": "anthropic/claude-sonnet-4",
"object": "model",
"created": 1700000000,
"owned_by": "anthropic"
}
]
}Claude Models
| Model ID | Description | Structured Output | Reasoning |
|---|---|---|---|
| anthropic/claude-opus-4 | Most capable Claude model (Opus 4.5) | Yes (native) | Yes |
| anthropic/claude-sonnet-4.5 | High-performance balance (Sonnet 4.5) | Yes (native) | Yes |
| anthropic/claude-sonnet-4 | Fast and capable (Sonnet 4) | Yes | Yes |
| anthropic/claude-opus-4.1 | Previous-gen Opus (4.1) | Yes | Yes |
| anthropic/claude-haiku-4.5 | Fastest Claude model (Haiku 4.5) | Yes (native) | Yes |
| anthropic/claude-3.5-sonnet-v2 | Legacy Sonnet 3.5 v2 | Yes | Yes |
| anthropic/claude-3.5-haiku | Legacy Haiku 3.5 | Yes | No |
Gemini Models
| Model ID | Description | Structured Output | Reasoning |
|---|---|---|---|
| google/gemini-3.1-pro-preview | Latest Gemini Pro preview | Yes | Yes |
| google/gemini-3-flash-preview | Gemini 3 Flash preview | Yes | Yes |
| google/gemini-2.5-pro | Gemini 2.5 Pro | Yes | Yes |
| google/gemini-2.5-flash | Gemini 2.5 Flash | Yes | Yes |
| google/gemini-2.5-flash-lite | Gemini 2.5 Flash Lite | Yes | Yes |
GPT Models
| Model ID | Description | Structured Output | Reasoning |
|---|---|---|---|
| openai/gpt-5 | GPT-5 | Yes | Yes |
| openai/gpt-5.4 | GPT-5.4 | Yes | Yes |
| openai/gpt-5.3-chat | GPT-5.3 Chat | Yes | Yes |
| openai/gpt-5.2-chat | GPT-5.2 Chat | Yes | Yes |
| openai/gpt-5.2 | GPT-5.2 | Yes | Yes |
| openai/gpt-5.3-codex | GPT-5.3 Codex | Yes | Yes |
| openai/gpt-5.2-codex | GPT-5.2 Codex | Yes | Yes |
| openai/gpt-5.1 | GPT-5.1 | Yes | Yes |
| openai/gpt-5.1-codex | GPT-5.1 Codex | Yes | Yes |
| openai/gpt-5.1-codex-mini | GPT-5.1 Codex Mini | Yes | Yes |
| openai/gpt-4.1 | GPT-4.1 | Yes | No |
| openai/gpt-4o | GPT-4o | Yes | No |
| openai/o1 | OpenAI o1 reasoning model | Yes | Yes |
All models support tool calling. Structured output and reasoning support varies by model — see the tables above.
API Compatibility
All models work with both API endpoints:
POST /v1/chat/completions— OpenAI-compatible formatPOST /v1/messages— Anthropic-compatible format
Use the same model ID in both APIs. For example, anthropic/claude-sonnet-4 works identically whether you call it via the OpenAI Chat Completions endpoint or the Anthropic Messages endpoint.