devvkit / calculators
LLM Token Cost Calculator
Calculate API costs for GPT-4, Claude, Gemini, and other LLMs.
Context: 128,000 tokens
Cost Breakdown
ModelGPT-4o
Input cost ($/1K tokens)$2.50
Output cost ($/1K tokens)$10.00
Total input tokens1,000,000
Total output tokens500,000
Input cost$2500.00
Output cost$5000.00
Total Monthly$7500.00
Pricing as of 2025-01-15and subject to change by providers. Always verify current rates on the provider's pricing page before budgeting.
share this tool
related tools
Calculate cost estimates for major LLM providers from a built-in price table. Set input tokens, output tokens, and monthly requests to get per-request and monthly totals.
>[x]Features
- -Supports GPT-4o, GPT-4 Turbo, Claude 3/3.5, Gemini 1.5, Llama 3, Mistral
- -Built-in price table with an "as of" date shown on the tool
- -Separate input and output token cost breakdown
- -Per-request and monthly totals
- -Context window shown for each model
>>Use Cases
- >Budgeting for AI API usage in production applications
- >Comparing cost efficiency between different LLM models
- >Estimating fine-tuning and batch processing costs
- >Optimizing prompt length to minimize API spend