compare_llm_api_costs
Rank 18 LLM models by the real monthly cost of a given workload (input/output tokens per call × calls per month). Reports the cheapest and most expensive option, the cost spread, and which models can actually hold your prompt in their context window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | How many models to return, cheapest first (default 8) | |
| provider | No | Filter to one provider: openai, anthropic, google, deepseek or meta | |
| callsPerMonth | Yes | Number of API calls per month | |
| minContextWindow | No | Only include models whose context window is at least this many tokens | |
| inputTokensPerCall | No | Average input (prompt) tokens per call | |
| outputTokensPerCall | No | Average output (completion) tokens per call |