Models API
List and query all available models on the OfoxAI platform. The returned data follows the OpenRouter standard and includes complete model metadata: architecture, pricing, supported parameters, and more.
The Models API is a public endpoint that does not require an API Key. For detailed field descriptions, see Model Catalog — Models API Standard.
List All Models
GET https://api.ofox.ai/v1/modelsRequest Examples
cURL
Terminal
curl https://api.ofox.ai/v1/modelsResponse Format
{
"object": "list",
"data": [
{
"id": "anthropic/claude-sonnet-4.5",
"object": "model",
"created": 1759104000,
"owned_by": "bedrock",
"canonical_slug": "claude-sonnet-4-5-20250929",
"name": "Claude Sonnet 4.5",
"description": "Anthropic's balanced model with state-of-the-art performance...",
"context_length": 200000,
"architecture": {
"modality": "text+image+file->text",
"input_modalities": ["text", "image", "file"],
"output_modalities": ["text"],
"tokenizer": "claude",
"instruct_type": null
},
"pricing": {
"prompt": "0.000003",
"completion": "0.000015",
"input_cache_read": "0.0000003",
"input_cache_write_5m": "0.00000375",
"input_cache_write_1h": "0.000006"
},
"top_provider": {
"context_length": 200000,
"max_completion_tokens": 16384,
"is_moderated": false
},
"per_request_limits": null,
"supported_parameters": [
"temperature",
"top_p",
"max_tokens",
"stop",
"tools",
"tool_choice",
"response_format",
"reasoning"
],
"default_parameters": null,
"expiration_date": null
}
]
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Model identifier, e.g. "anthropic/claude-sonnet-4.5" |
canonical_slug | string | Permanent identifier, never changes |
name | string | Model display name |
created | number | Time added (Unix timestamp) |
description | string | Model capability description |
context_length | number | Maximum context window (tokens) |
architecture | object | Input/output modalities and tokenizer info |
pricing | object | Pricing (USD/token) |
top_provider | object | Provider config (context limit, max output, etc.) |
supported_parameters | string[] | Supported API parameters |
Filter Models by Provider
GET https://api.ofox.ai/v1/models/{provider}Returns only models from the specified provider.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
provider | string | Provider identifier, e.g. anthropic, openai, google, bailian, volcengine |
Request Examples
Terminal
# List all Anthropic models
curl https://api.ofox.ai/v1/models/anthropic
# List all OpenAI models
curl https://api.ofox.ai/v1/models/openaiResponse Format
The response format is the same as listing all models, with the data array containing only models from the specified provider.
Get Model Details
GET https://api.ofox.ai/v1/models/{provider}/{model_id}Path Parameters
| Parameter | Type | Description |
|---|---|---|
provider | string | Provider identifier, e.g. anthropic |
model_id | string | Model name, e.g. claude-sonnet-4.5 |
Request Example
Terminal
curl https://api.ofox.ai/v1/models/anthropic/claude-sonnet-4.5Response Format
Returns a single Model object with the same structure as objects in the list endpoint.
Last updated on