AI API Cost Calculator
Model
Input Tokens per Request
Output Tokens per Request
Monthly Requests
An AI API cost calculator estimates the cost of using large language model APIs based on token usage. AI APIs charge separately for input (prompt) and output (completion) tokens.
- 1Cost = (input tokens ÷ 1000) × input rate + (output tokens ÷ 1000) × output rate
- 2Rates are per 1,000 tokens (or per million tokens on newer models)
- 3Monthly cost = cost per request × monthly request volume
- 4Input tokens are typically cheaper than output tokens
GPT-4o: 500 input + 200 output tokens, 1000 req/month=~$3.25/month
Claude Haiku: same usage=~$1.20/month
GPT-4o-mini: 1M requests/month=~$150–300/month typical
| Model | Input ($/1K) | Output ($/1K) |
|---|---|---|
| GPT-4o | $0.0025 | $0.010 |
| GPT-4o-mini | $0.00015 | $0.0006 |
| Claude Sonnet 4 | $0.003 | $0.015 |
| Claude Haiku 4 | $0.0008 | $0.004 |
| Gemini 1.5 Pro | $0.00125 | $0.005 |
References
🔒
୧୦୦% ମାଗଣା
ପଞ୍ଜୀକରଣ ଆବଶ୍ୟକ ନାହିଁ
✓
ସଠିକ
ଯାଞ୍ଚ ହୋଇଥିବା ସୂତ୍ର
⚡
ତତ୍କ୍ଷଣ
ତତ୍କ୍ଷଣ ଫଳ
📱
ମୋବାଇଲ୍ ଅନୁକୂଳ
ସମସ୍ତ ଡିଭାଇସ୍