DocsAPI referenceModels

Models

List the models your key can actually call, in OpenAI and Gemini shapes.

Model lists are generated by the gateway, not proxied: what you get is the aggregated set of models your key can actually call across all upstreams. Requests require an API key and count toward your RPM limit.

OpenAI shape

GET/v1/models
list_models.sh
curl https://api.soleapi.com/v1/models \
  -H "Authorization: Bearer $SOLEAPI_API_KEY"
response.json
{
  "object": "list",
  "data": [
    { "id": "claude-fable-5", "object": "model", "owned_by": "anthropic" },
    { "id": "gemini-2.5-pro", "object": "model", "owned_by": "google" }
  ]
}

Retrieve a model

GET/v1/models/{model}

Returns metadata for a single model; unknown or retired models return 404 (model_not_found / model_disabled).

Gemini shape

GET/v1beta/models
response.json
{
  "models": [
    {
      "name": "models/gemini-2.5-pro",
      "supportedGenerationMethods": ["generateContent", "streamGenerateContent"]
    }
  ]
}

Model capabilities and pricing are listed on the model catalog; the console shows the actual rates that apply to your account.