API Docs
API Reference

GET /v1/models

List callable models, their capability tags and the endpoints each model offers; filter by capability or endpoint, or look up one model by ID.

Request

curl https://api.unioapi.com/v1/models \
  -H "Authorization: Bearer $UNIO_API_KEY"

Response (excerpt)

{
  "object": "list",
  "data": [
    {
      "id": "gpt-5.6-sol",
      "object": "model",
      "type": "model",
      "owned_by": "openai",
      "display_name": "GPT-5.6 Sol",
      "created_at": "2026-11-01T00:00:00Z",
      "capabilities": ["file.input", "image.input", "prompt_cache", "reasoning.effort", "service_tier", "stream", "text.input", "text.output", "tools.function"],
      "protocols": ["openai"],
      "endpoint_capabilities": ["openai.chat_completions", "openai.responses"],
      "endpoints": ["openai.chat_completions", "openai.responses"],
      "operations": ["openai.chat_completions", "openai.responses", "openai.responses.compact"],
      "context_window": 1050000
    },
    {
      "id": "claude-sonnet-5",
      "object": "model",
      "type": "model",
      "owned_by": "anthropic",
      "display_name": "Claude Sonnet 5",
      "created_at": "2026-06-30T00:00:00Z",
      "capabilities": ["file.input", "image.input", "prompt_cache", "stream", "text.input", "text.output", "tools.function"],
      "protocols": ["anthropic"],
      "endpoint_capabilities": ["anthropic.messages"],
      "endpoints": ["anthropic.messages"],
      "operations": ["anthropic.messages", "anthropic.messages.count_tokens"],
      "context_window": 1000000
    }
  ]
}

Field semantics

  • List scope: the models you can call right now, not filtered by the protocol of this request.
  • id: the model identifier to send, identical to the vendor's official model ID (the undated main model ID).
  • owned_by: the vendor, openai or anthropic.
  • created_at: the official release date; when the vendor has not published one, the date the model became available.
  • endpoint_capabilities: the endpoints the model offers. endpoints is the same set in short form; operations also lists each endpoint's auxiliary operations (such as openai.responses.compact and anthropic.messages.count_tokens).
  • protocols: a compatibility field derived from endpoint_capabilities (openai / anthropic); use endpoint_capabilities to decide whether a call will work.
  • capabilities: capability tags such as text.input, image.input, file.input, tools.function, reasoning.effort, response_format.json_schema, prompt_cache, service_tier and stream, in alphabetical order.
  • context_window: the context window in tokens, omitted when unknown.
  • Being listed does not guarantee capacity at this instant; if a call returns OpenAI-shape 503 server_is_overloaded or Anthropic-shape 529 overloaded_error, retry later — see Errors.

Prices, service tiers and long-context rules are not part of this endpoint — see Models & Pricing and Billing & Usage.

Filtering

?capability= AND-filters on capability tags; repeat it or separate values with commas:

curl "https://api.unioapi.com/v1/models?capability=tools.function&capability=image.input" \
  -H "Authorization: Bearer $UNIO_API_KEY"

?endpoint= keeps only models that offer that endpoint:

curl "https://api.unioapi.com/v1/models?endpoint=openai.responses" \
  -H "Authorization: Bearer $UNIO_API_KEY"

GET /v1/models/{model}

Returns a single model object with the same fields as a list element. An unknown model returns 404 invalid_request_error with code model_not_found.

curl https://api.unioapi.com/v1/models/gpt-5.6-sol \
  -H "Authorization: Bearer $UNIO_API_KEY"

Billing note

This endpoint is free and creates no request record, but it shares request admission with other /v1 endpoints — aggressive polling may get 429.