Model pricing
get_model_pricingGet what each generation model costs. Without modelId returns { prices }, optionally filtered by category (for example "image" or "video"); with modelId returns { price } for that model (404 if unknown) and category is ignored. Each price has modelId, category, unit, description, credits (charged per unit) and retailPrice in US dollars at the Creator plan's rate per credit (null when the model has no credit cost). Read-only; use before an expensive generation to quote the cost.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>"
},
"name": "get_model_pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| modelId | No | One model, e.g. "flux-pro". category is ignored when set. | |
| category | No | Filter for the full list, e.g. "image" or "video". | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |