Get AI model API pricing
get_model_pricingCurrent verified API prices for AI models from OpenAI, Anthropic and Google, in USD per million tokens: input, output and cached input, with any dated price change the provider has announced, the checked date and the source page. Optionally for one provider or model.
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_pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model name or id, for example "Claude Sonnet 5.5" or "gpt-6.2-sol" | |
| provider | No | Optional: openai, anthropic or google |