Get Model
GET
/api/models/:idGet detailed information about a specific model, including pricing, capabilities, and examples.
Response
json
{
"code": 0,
"data": {
"id": "model_01abc...",
"name": "openai/gpt-4o",
"display_name": "GPT-4o",
"vendor": "OpenAI",
"description": "Most capable GPT-4 model with vision...",
"type": "llm",
"context_length": 128000,
"capability_tags": ["chat", "streaming", "vision", "tools", "json_mode", "cache"],
"model_card": {
"prompt_token_price": "0.0000025",
"completion_token_price": "0.000010",
"cache_read_multiplier": "0.5"
},
"examples": []
}
}SEO-Friendly Slug
You can also fetch by vendor/model slug:
GET /api/models/slug/:vendorSlug/*modelSlugExample: GET /api/models/slug/openai/gpt-4o

