Compare AI API Pricing for LLMs and Image Generation
Estimate API costs for text generation and image generation models. Compare current prices, context windows and usage-based costs across OpenAI, Claude, Gemini, Mistral, DeepSeek, Grok, Stability AI and more.
LLM API Pricing Calculator
Compare text generation API costs by input tokens, output tokens, context window and total cost across current LLM models.
Image Generation API Pricing Calculator
Compare image generation API costs by provider, model, image size and quantity.
Hosting your AI app?
After comparing API costs, the next cost factor is where your app runs. DigitalOcean can be a simple option for hosting prototypes, API backends, workers, databases, and Laravel apps.
Explore DigitalOcean →This link is an affiliate link. This means that, at zero cost to you, we earn commissions when you shop through the link.
Popular starting points
Jump directly into common AI pricing questions and calculators.
RAG chatbot API cost
Retrieved context + generated answer pricing.
PDF summary API cost
Summarization cost for larger documents.
OpenAI vs Claude API pricing
Side-by-side current model comparison.
Cheapest LLM API models
Find current low-cost model options.
LLM API cost for 1 million tokens
Estimate high-volume token usage cost.
OpenAI API Pricing Calculator
Provider-focused pricing tables and examples.
Why use AI Pricing Comparison?
- Compare input and output token costs
- See context windows and current model status
- Use realistic presets for common AI workloads
- Compare providers like OpenAI, Claude, Gemini, Mistral, DeepSeek and Grok
- Open shareable calculator links with predefined usage