getAiModelPricing
Real-time token pricing, context limits, latency (TTFT), and benchmark scores for OpenAI, Anthropic, Gemini, and open-weights LLMs. Use when comparing commercial and open-weights LLM API token pricing (USD per 1M input/output tokens), context window limits, latency (TTFT in ms), and coding benchmarks. Do not use for consumer chat subscriptions (e.g., ChatGPT Plus) or bare-metal GPU server rental (use getCloudServerPricing).
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": "getAiModelPricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_category | No | Primary LLM workload category to filter benchmark and pricing matrices (defaults to 'all'). | all |