GET /v1/models
Lists every model your account can call. The list is filtered by your plan and any provider keys configured for your account.
Endpoint
http
GET /v1/modelsExample request
bash
curl https://api.foxora.ai/v1/models \
-H "Authorization: Bearer $FOXORA_API_KEY"Example response
json
{
"object": "list",
"data": [
{
"id": "gpt-4o-mini",
"provider": "openai",
"context_window": 128000,
"input_per_1k_usd": 0.00015,
"output_per_1k_usd": 0.0006,
"supports": ["chat", "tools", "vision", "json_mode"]
},
{
"id": "claude-3-5-sonnet",
"provider": "anthropic",
"context_window": 200000,
"input_per_1k_usd": 0.003,
"output_per_1k_usd": 0.015,
"supports": ["chat", "tools", "vision"]
}
]
}Notes
- Pricing is per 1,000 tokens, billed in USD. Foxora applies the provider’s public pricing without markup unless your plan says otherwise.
- The
supportsarray tells you which features the model can use — e.g. tool calling or vision. Use this to gate UI client-side. - New models appear here automatically when added to the gateway.