AI Prompt Cost Calculator
Estimate the cost of a single AI prompt or batch of prompts using input tokens, output tokens, and model pricing.
Result
Cost per prompt
—
Estimated cost of one prompt-response pair.
Total batch cost
—
Cost for all prompts.
Total tokens
—
Input + output tokens including overhead.
Cost per 1,000 prompts
—
Useful for scaling estimates.
Approximate estimate only. Real prompt costs depend on model pricing, tokenizer, context length, system prompts, tool calls, retries, caching, and output length.
How we calculate
- Input cost = input tokens ÷ 1,000,000 × input price.
- Output cost = output tokens ÷ 1,000,000 × output price.
- Overhead increases token cost for real-world usage.
- Total batch cost = cost per prompt × number of prompts.