Get model pricing
models_get_pricingThe full price of one model in rubles — the authoritative answer to "what does this cost".
Prefer this over the pricing embedded in models_list and models_search whenever the model is not billed per token. Those two return "0.00" token rates for such models; only this tool returns perUnit, where the real price per image, per second or per thousand characters lives.
For speech models it also lists the voices speech_create accepts (supportedVoices), for video models the durations, resolutions and aspect ratios video_create accepts (video).
Errors with InvalidParams if the model id is unknown or the model is no longer active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | Yes | Exact model id from the catalogue, vendor included, e.g. "openai/gpt-6-astra". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | Billing unit. "token" — priced per token, the two Rub fields below are meaningful. "unit" — priced per image, per minute, per character and so on; token fields are "0.00" and the real price is in models_get_pricing → perUnit. "unknown" — no pricing on record. | |
| video | No | Video models only: the values video_create accepts for this model. | |
| isFree | Yes | True only for genuinely free models. Do not infer this from a zero price: models billed per image or per minute also report "0.00" token rates. | |
| perUnit | No | Present only for models not billed per token. This is where their real price lives. | |
| currency | Yes | All prices are in rubles. | |
| inputPer1MRub | Yes | Price of 1M input tokens in rubles, decimal string, e.g. "182.40". "0.00" when unit is not "token". | |
| outputPer1MRub | Yes | Price of 1M output tokens in rubles, decimal string. "0.00" when unit is not "token". | |
| supportedVoices | No | Speech models only: voice names to pass as `voice` to speech_create. Absent when the model has no list. |