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.
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. |