Current price
current_priceRetrieve today's input and output price per million tokens for a given AI model, with the first-party source. Supports short or aliased model IDs and optional provider disambiguation.
Instructions
Today's input and output price per million tokens (usd_per_mtok) for a model id, with the first-party source. Accepts short or aliased ids (e.g. "claude-opus-4-8", "gpt-4o", "gemini-2.5-pro"). Pass provider to disambiguate a bare id shared across vendors.
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": {
"model": "<model>"
},
"name": "current_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id or alias, e.g. "claude-opus-4-8" or "gpt-4o". | |
| provider | No | Optional provider slug (e.g. "openai", "anthropic") to disambiguate a bare id. |