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:
{"model": "seedance", "mode": "seedance-2-5"}{"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 https://api.unitool.ai/v1/models -H "Authorization: Bearer $UNITOOL_API_KEY"{
"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,audioorall(together with text models). A media entry in the list has its modes andpricing.from, the price of the cheapest mode on its example. GET /v1/models/{id}: one model. For media: the modes, theinput_schemaof each mode (JSON Schema 2020-12), a ready example request and the price make-up. The same schemas are collected inGET /v1/openapi.json.- The answer is cached for 60 seconds and comes with an
ETag. SendIf-None-Matchand an unchanged catalog answers304. - 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/modelswithin a minute of being added.
Retiring models
A model leaving the API gets a deprecation field:
"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:
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.
| Model | Vendor | Context | Max output | Input | Output |
|---|---|---|---|---|---|
Claude Fable 5.2claude-fable-5-2 | anthropic | 1M | 128K | 925.5735 | 4,627.8675 |
Claude Haiku 5.5claude-haiku-5-5 | anthropic | 1M | 128K | 15.4262 | 77.1311 |
Claude Opus 5.5claude-opus-5-5 | anthropic | 200K | 128K | 617.049 | 3,085.245 |
Claude Sonnet 5.5claude-sonnet-5-5 | anthropic | 1M | 128K | 231.3934 | 1,156.9669 |
Gemini 3.1 Progemini-3.1-pro | 1M | 64K | 925.5735 | 5,553.441 | |
Gemini 3.5 Flashgemini-3.5-flash | 1M | 64K | 231.3934 | 1,388.3602 | |
Gemini 3.8 Flashgemini-3.8-flash | 1M | 64K | 260.3175 | 1,301.5877 | |
Gemini 4 Argongemini-4-argon | 1M | 64K | 308.5245 | 1,542.6225 | |
Gemini 4 Carbongemini-4-carbon | 1M | 64K | 308.5245 | 1,542.6225 | |
Gemini 4 Hydrogengemini-4-hydrogen | 1M | 64K | 231.3934 | 1,156.9669 | |
Gemini 4 Neongemini-4-neon | 1M | 64K | 462.7867 | 2,313.9337 | |
GPT-5.6 Lunagpt-5-6-luna | openai | 400K | 128K | 30.8525 | 185.1147 |
GPT-5.6 Terragpt-5-6-terra | openai | 400K | 128K | 308.5245 | 1,851.147 |
GPT-5.6 Solgpt-5.6-sol | openai | 1.1M | 128K | 231.3934 | 1,156.9669 |
GPT-6 Astragpt-6-astra | openai | 1.1M | 128K | 1,156.9669 | 5,784.8344 |
GPT-6 Lunagpt-6-luna | openai | 1.1M | 128K | 15.4262 | 77.1311 |
GPT-6 Solgpt-6-sol | openai | 1.1M | 128K | 308.5245 | 1,542.6225 |
GPT-6.1 Solgpt-6.1-sol | openai | 1.1M | 128K | 308.5245 | 1,542.6225 |
GPT-6.1 Terragpt-6.1-terra | openai | 1.1M | 128K | 154.2622 | 771.3112 |
GPT-6.2 Astragpt-6.2-astra | openai | 1.1M | 128K | 1,234.098 | 6,170.49 |
GPT-6.2 Solgpt-6.2-sol | openai | 1.1M | 128K | 308.5245 | 1,542.6225 |
Grok 4.6grok | xai | 500K | 64K | 308.5245 | 925.5735 |
Kimi K3kimi-k3 | moonshot | 1M | 64K | 462.7867 | 2,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.
| Model | Type | Vendor | Modes | Price from |
|---|---|---|---|---|
Gemini Omni 1.1 Flashgemini-omni | Video | unitool | generate | 85 |
GPT-Image 2.6gpt-image-2-6 | Images | unitool | image, gif, svg | 6 |
HappyHorse happyhorse | Video | unitool | happyhorse-1-1, happyhorse, happyhorse-reference-to-video, happyhorse-video-edit | 88 |
Kling 3.0 Turbokling-3-0-turbo | Video | unitool | t2v, i2v | 70 |
Kling 4.0kling-4-0 | Video | unitool | t2v, i2v, v2v | 108 |
Luma Ray 3.2luma-ray-3-2 | Video | unitool | t2v, frames, edit, reframe | 1 |
Luma UNI-1luma-uni-1 | Images | unitool | t2i, edit | 7 |
MAGI-2magi-2 | Video | unitool | t2v, i2v | 68 |
Seedanceseedance | Video | unitool | seedance-2-5, seedance-2-0, seedance-2-fast, seedance-2-mini, seedance-1.5-pro | 9 |
Seedreamseedream | Images | unitool | seedream-4-5, seedream-5-lite | 4 |
Wanwan | Video | unitool | wan-3-0-video, wan-3-0-video-prime | 61 |