Compare Model Pricing
tokencost_compare_modelsCompare pricing across multiple LLM models side by side to analyze input/output costs, context windows, and relative cost differences.
Instructions
Compare pricing across multiple LLM models side by side.
Args:
models (string[]): Array of model IDs or names to compare (2-10 models)
Returns: Side-by-side comparison table with input/output costs, context windows, and relative cost differences.
Examples:
["gpt-5", "claude-sonnet-4.6"] → Compare OpenAI vs Anthropic pricing
["gpt-5-mini", "gemini-3-flash", "claude-haiku-4.5"] → Compare budget models
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | Model IDs or names to compare |