Get AI model API prices
get_model_pricesCurrent per-token API prices for AI models, with context limits and official sources. The reviewed set (OpenAI, Anthropic, Google) is human-reviewed and re-verified every few hours; the extended set (other providers) is parsed automatically from official pricing pages and marked verification "automated-page-parse". Only rows with state "current" have a confirmed price; held or expired rows show none.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_model_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model id or name, e.g. gpt-5.4 or "Claude Opus 5.5". Omit to list all. | |
| provider | No | Provider name, e.g. OpenAI, Anthropic, Google, xAI, DeepSeek. | |
| current_only | No | Return only rows with a currently confirmed price. | |
| include_automated_parse | No | Include extended providers parsed automatically from official pages (verification "automated-page-parse"). Default true. |