API reference
Models
GET https://api.flyrouter.ai/v1/models
Lists the models the current API key can call. If the key is limited to certain models, only those are returned.
Example request
Terminal
curl https://api.flyrouter.ai/v1/models \
-H "Authorization: Bearer $FLYROUTER_API_KEY"Response
json
{
"object": "list",
"data": [
{ "id": "claude-opus-5-5", "object": "model" },
{ "id": "claude-sonnet-5-5", "object": "model" },
{ "id": "gpt-6.1-sol", "object": "model" },
{ "id": "gemini-4-argon", "object": "model" }
]
}Get a single model
GET https://api.flyrouter.ai/v1/models/{model} returns one model, or an error if it isn't available. Use it to validate configured model IDs at startup.
Gemini format
Tools such as the Google Gen AI SDK request GET https://api.flyrouter.ai/v1beta/models for a Gemini-format model list. That works too.
Prices, context length and other details are on the model pricing page.