Get model pricing
models_get_pricingRetrieve the full price of a single model in rubles, including non-token billing. Returns the real per-unit cost (per image, second, or thousand characters) instead of zeroed token rates.
Instructions
The 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.
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. | |
| 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". |