get_model_prices
Today's official API list prices (USD per 1M tokens) for leading AI language models from 12 providers, read daily from each provider's pricing page. Free.
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 | Filter by text in the model name | |
| provider | No | Filter by provider name, e.g. OpenAI, Anthropic, Google |