compare_token_pricing
Compare per-1M input and output token rates plus estimated monthly costs for the same LLM model across providers, so you can choose the lower-cost hosting option for your workload.
Instructions
Cross-provider LLM token pricing comparison — the only FinOps tool that returns per-1M input/output rates AND monthly cost for the same model on each provider that hosts it (Claude on Anthropic vs Bedrock vs Vertex; GPT on OpenAI vs Azure OpenAI; Llama on Bedrock; Gemini on Google vs Vertex; Mistral / DeepSeek direct). Filter by model_family ('claude', 'gpt', 'gemini', 'llama', 'mistral', 'deepseek'), exact model_id, or provider list. If monthly_input_tokens + monthly_output_tokens are provided, ranks by total monthly USD. Otherwise ranks by per-1M output cost (output tokens dominate most workloads). Surfaces cache_read / cache_write rates when published — most workloads see 30-90% input cost reduction with proper prompt caching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | Exact model ID (e.g. 'claude-4-sonnet', 'gpt-4o', 'gemini-2.0-flash'). Optional. | |
| providers | No | Optional list of providers to include. | |
| model_family | No | Filter to one model family. Optional. | |
| monthly_input_tokens | No | Monthly input token volume. Required to get monthly_total_usd in result. | |
| monthly_output_tokens | No | Monthly output token volume. Required to get monthly_total_usd in result. |