Models
List available AI models and their capabilities.
Models
List all AI models available through AssistantRouter. Models are sourced from OpenRouter and cached for performance.
List Models
/v1/modelsReturns all available models with pricing and capability information.
Response
{
"object": "list",
"data": [
{
"id": "anthropic/claude-haiku-4.5",
"object": "model",
"name": "Claude Haiku 4.5",
"provider": "anthropic",
"provider_display_name": "Anthropic",
"description": "Fast and affordable Claude model",
"context_length": 200000,
"max_output_tokens": 8192,
"input_price_per_1m": 3.0,
"output_price_per_1m": 15.0,
"supports_tools": true,
"supports_vision": true,
"eu_compliant": true,
"is_recommended": true
}
],
"recommended": [
{
"id": "anthropic/claude-haiku-4.5",
"name": "Claude Haiku 4.5",
"is_recommended": true
}
],
"groups": {
"anthropic": [...],
"openai": [...],
"google": [...]
}
}Model Fields
Prop
Type
Example
curl https://api.assistantrouter.com/v1/models \
-H "Authorization: Bearer $API_KEY"const response = await fetch('https://api.assistantrouter.com/v1/models', {
headers: {
Authorization: `Bearer ${process.env.API_KEY}`,
},
});
const { data, recommended, groups } = await response.json();
// Get recommended models
console.log('Recommended:', recommended.map(m => m.name));
// Get all Anthropic models
console.log('Anthropic models:', groups.anthropic.map(m => m.name));Response Structure
The response includes three views of the model data:
| Field | Description |
|---|---|
data | Flat list of all available models |
recommended | Models marked as recommended for your workspace |
groups | Models organized by provider |
Model data is cached for 1 hour. The response includes a Cache-Control header.
Model Access
All models are available on all tiers. There are no tier-based model restrictions.
EU Compliance
If your workspace has EU mode enabled, the models endpoint automatically filters to only show EU-compliant models. Models with eu_compliant: true process data within the European Union.
Enable EU mode in the dashboard under Settings > Compliance.
Popular Models
Claude Haiku 4.5
id: anthropic/claude-haiku-4.5Fast and affordable for high-volume use cases with excellent quality.
Claude Sonnet 4.5
id: anthropic/claude-sonnet-4.5Best for complex reasoning, coding, and analysis tasks.
GPT-5.1
id: openai/gpt-5.1OpenAI's flagship model with vision support and 200K context.
Gemini 3 Pro
id: google/gemini-3-proGoogle's multimodal model with 1M token context.
Llama 4 70B
id: meta-llama/llama-4-70b-instructMeta's open-source model with excellent performance.