Logo

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.

Open LLM Pricing Calculator

Image Generation API Pricing Calculator

Compare image generation API costs by provider, model, image size and quantity.

Compare Image API Pricing
Sponsored DigitalOcean

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.

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