LLM cost calculator
ai_costCost per call and for N calls of a workload on each listed model: items[] {id, usd_per_call, usd_total, fits_context}, cheapest. $0.002/call. Use to estimate what a workload costs on several LLMs before choosing one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | No | ||
| models | No | comma-separated ids, e.g. openai/gpt-5,anthropic/claude-sonnet | |
| input_tokens | No | ||
| output_tokens | No |