Compare Models
metrx_compare_modelsCompare LLM model pricing and capabilities across providers to identify cost savings when switching from a current model. Returns pricing per 1M tokens, context windows, batch/cache support, and savings estimates. Works without usage data.
Instructions
Compare LLM model pricing and capabilities across providers. Returns pricing per 1M tokens, context window sizes, batch/cache support, and cost savings estimates for switching from a current model to alternatives. Works without any usage data (Day 0 value). Do NOT use for agent-specific recommendations — use get_optimization_recommendations which factors in actual usage patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current_model | No | Current model to compare against (e.g., "gpt-4o", "claude-sonnet-4-20250514") | |
| tier | No | Capability tier to filter alternatives | |
| provider | No | Filter to a specific provider (e.g., "openai", "anthropic", "google") |