List Models
GET /v1/models
Returns a list of all models available to the authenticated API key, including ID, provider, and context window size.
Example Response
{
"object": "list",
"data": [
{
"id": "gpt-5.4-mini",
"object": "model",
"owned_by": "openai",
"context_length": 400000
},
{
"id": "gemini-2.5-flash",
"object": "model",
"owned_by": "google",
"context_length": 1048576
},
{
"id": "qwen3.5-flash",
"object": "model",
"owned_by": "alibaba",
"context_length": 1048576
}
]
} For per-token pricing next to each of these IDs, see the model price comparison.