Top.Mail.Ru
General icon
General
Галерея icon
Галерея
Unitool Labs icon
Unitool Labs
Блог icon
Блог
MCP icon
MCP

Models

Model id

A model id in the API is the model id of the site catalog: claude-sonnet-5-5, gpt-6.2-astra, gemini-4-carbon, nanobanana, seedance. The model field of an answer repeats what you sent.

Media models can have modes: versions and variants of one model at different prices. Pass the mode in mode or after a colon:

JSON
{"model": "seedance", "mode": "seedance-2-5"}
JSON
{"model": "seedance:seedance-2-5"}

Without mode the default mode is used. The modes of a model and the price of each are in GET /v1/models/{id}.

Text models are called only through POST /v1/chat/completions, media only through POST /v1/generations. A text model sent to /v1/generations gets 400 use_chat_endpoint.

Catalog

GET /v1/models without parameters returns text models in the OpenAI shape, the way Open WebUI, LibreChat and SDKs read it:

curl
curl https://api.unitool.ai/v1/models -H "Authorization: Bearer $UNITOOL_API_KEY"
JSON
{
  "object": "list",
  "data": [
    {
      "id": "claude-sonnet-5-5",
      "object": "model",
      "created": 0,
      "owned_by": "anthropic",
      "name": "Claude Sonnet 5.5",
      "type": "chat",
      "context_length": 200000,
      "max_output_tokens": 64000,
      "capabilities": { "vision": true, "files": true, "tools": true, "reasoning": true, "temperature": true },
      "pricing": { "unit": "tokens_per_1m", "input": "300", "cached_input": "30", "cache_write_1h": "600", "output": "1500" }
    }
  ]
}

The numbers in the example are made up; real prices are in the tables below and in the API answer.

  • Media models: GET /v1/models?type=image, video, audio or all (together with text models). A media entry in the list has its modes and pricing.from, the price of the cheapest mode on its example.
  • GET /v1/models/{id}: one model. For media: the modes, the input_schema of each mode (JSON Schema 2020-12), a ready example request and the price make-up. The same schemas are collected in GET /v1/openapi.json.
  • The answer is cached for 60 seconds and comes with an ETag. Send If-None-Match and an unchanged catalog answers 304.
  • Optional fields: description, tags, featured: true (a recommended model), deprecation (the model is leaving, below).
  • List order: featured first, then the showcase order, then by id.
  • capabilities.web_search: true: the model can search the web.
  • New catalog models appear in the API on their own; new text models show in /v1/models within a minute of being added.

Retiring models

A model leaving the API gets a deprecation field:

JSON
"deprecation": { "deprecated_at": "2026-12-01T00:00:00Z", "sunset_at": "2027-01-15T00:00:00Z", "replacement": "claude-sonnet-5-5" }

While the model still works, every call to it (/v1/chat/completions, POST /v1/generations, /v1/quotes, GET /v1/models/{id}) carries these headers:

HTTP
Deprecation: @1796083200
Sunset: Fri, 15 Jan 2027 00:00:00 GMT
Link: <https://unitool.ai/developers/models/claude-sonnet-5-5>; rel="successor-version"

replacement may be null: the model has no replacement, and then there is no Link header. After sunset_at the model drops out of the list and a call gets 410 model_retired with details.replacement and details.sunset_at. Watch for the Sunset header in your logs and move to replacement ahead of time.

Prices

Prices are in balance tokens per 1M model tokens: input, cached_input (input read from the cache), cache_write_5m and cache_write_1h (cache writes), output (reasoning counts as output). The long_context block applies when the input is longer than threshold_tokens: then the whole request is priced at its rates.

Prices change immediately, without notice. A request is priced at the rate in force when it was admitted. How this becomes a charge is explained in Billing.

Text models now

Prices in balance tokens per 1M model tokens. The list is live: the same one GET /v1/models returns.

ModelVendorContextMax outputInputOutput
Claude Fable 5.2claude-fable-5-2anthropic1M128K925.57354,627.8675
Claude Haiku 5.5claude-haiku-5-5anthropic1M128K15.426277.1311
Claude Opus 5.5claude-opus-5-5anthropic200K128K617.0493,085.245
Claude Sonnet 5.5claude-sonnet-5-5anthropic1M128K231.39341,156.9669
Gemini 3.1 Progemini-3.1-progoogle1M64K925.57355,553.441
Gemini 3.5 Flashgemini-3.5-flashgoogle1M64K231.39341,388.3602
Gemini 3.8 Flashgemini-3.8-flashgoogle1M64K260.31751,301.5877
Gemini 4 Argongemini-4-argongoogle1M64K308.52451,542.6225
Gemini 4 Carbongemini-4-carbongoogle1M64K308.52451,542.6225
Gemini 4 Hydrogengemini-4-hydrogengoogle1M64K231.39341,156.9669
Gemini 4 Neongemini-4-neongoogle1M64K462.78672,313.9337
GPT-5.6 Lunagpt-5-6-lunaopenai400K128K30.8525185.1147
GPT-5.6 Terragpt-5-6-terraopenai400K128K308.52451,851.147
GPT-5.6 Solgpt-5.6-solopenai1.1M128K231.39341,156.9669
GPT-6 Astragpt-6-astraopenai1.1M128K1,156.96695,784.8344
GPT-6 Lunagpt-6-lunaopenai1.1M128K15.426277.1311
GPT-6 Solgpt-6-solopenai1.1M128K308.52451,542.6225
GPT-6.1 Solgpt-6.1-solopenai1.1M128K308.52451,542.6225
GPT-6.1 Terragpt-6.1-terraopenai1.1M128K154.2622771.3112
GPT-6.2 Astragpt-6.2-astraopenai1.1M128K1,234.0986,170.49
GPT-6.2 Solgpt-6.2-solopenai1.1M128K308.52451,542.6225
Grok 4.6grokxai500K64K308.5245925.5735
Kimi K3kimi-k3moonshot1M64K462.78672,313.9337

Media models now

Price in balance tokens per generation: the cheapest mode on its example. The exact price of a request: POST /v1/quotes.

ModelTypeVendorModesPrice from
Gemini Omni 1.1 Flashgemini-omniVideounitoolgenerate85
GPT-Image 2.6gpt-image-2-6Imagesunitoolimage, gif, svg6
HappyHorse happyhorseVideounitoolhappyhorse-1-1, happyhorse, happyhorse-reference-to-video, happyhorse-video-edit88
Kling 3.0 Turbokling-3-0-turboVideounitoolt2v, i2v70
Kling 4.0kling-4-0Videounitoolt2v, i2v, v2v108
Luma Ray 3.2luma-ray-3-2Videounitoolt2v, frames, edit, reframe1
Luma UNI-1luma-uni-1Imagesunitoolt2i, edit7
MAGI-2magi-2Videounitoolt2v, i2v68
SeedanceseedanceVideounitoolseedance-2-5, seedance-2-0, seedance-2-fast, seedance-2-mini, seedance-1.5-pro9
SeedreamseedreamImagesunitoolseedream-4-5, seedream-5-lite4
WanwanVideounitoolwan-3-0-video, wan-3-0-video-prime61
This page as Markdown

We use cookies

By continuing to use the site you agree to our Privacy Policy.