Skip to main content
gradually.ai logogradually.ai
  • Blog
  • About Us
AI Newsletter
AI Newsletter
65+ AI Models

AI API Cost Calculator

Calculate costs for OpenAI, Anthropic Claude and Google Gemini APIs with all available models.

New: New: Claude 4.6, Gemini 3.1 Pro and more models now available! Compare 65+ different AI models.

Filter & Search
Find the perfect model for your requirements
64 models found
Calculation
Enter your parameters to calculate costs

≈ 1000 Tokens

≈ 1000 Tokens

Total cost:$0.0187
Cost per call:$0.000188
Input cost:$0.0037
Output cost:$0.0150
Model Comparison
Cost comparison of all available AI models
ModelAPI ProviderInput $/1MOutput $/1MContextTotal Cost
GoogleGemini 1.5 Flash-8B
Google$0.04$0.151M
$0.0187
GoogleGemini 2.0 Flash-Lite
Google$0.07$0.301M
$0.0375
GoogleGemini 1.5 Flash
Google$0.07$0.301M
$0.0375
OpenAIGPT-5 Nano
OpenAI$0.05$0.40272K
$0.0450
Groq / Together AILlama 4 Scout
Groq / Together AI$0.11$0.3410M
$0.0450
OpenAIGPT-4.1 nano
OpenAI$0.10$0.401M
$0.0500
GoogleGemini 2.5 Flash-Lite
Google$0.10$0.401M
$0.0500
GoogleGemini 2.0 Flash
Google$0.10$0.401M
$0.0500
OpenAIGPT-4o mini
OpenAI$0.15$0.60128K
$0.0750
xAIGrok 3 Mini
xAI$0.30$0.50131K
$0.0800
Mistral AIMistral Small
Mistral AI$0.20$0.60128K
$0.0800
Groq / Together AILlama 4 Maverick
Groq / Together AI$0.50$0.771M
$0.1270
AnthropicClaude Haiku 3
Anthropic$0.25$1.25200K
$0.1500
GoogleGemini 3.1 Flash-Lite
Google$0.25$1.501M
$0.1750
OpenAIGPT-4.1 mini
OpenAI$0.40$1.601M
$0.2000
OpenAIGPT-3.5 Turbo
OpenAI$0.50$1.5016K
$0.2000
OpenAIGPT-5 Mini
OpenAI$0.25$2.00272K
$0.2250
GoogleGemini 2.5 Flash
Google$0.30$2.501M
$0.2800
GoogleGemini 3 Flash
Google$0.50$3.001M
$0.3500
AnthropicClaude Haiku 3.5
Anthropic$0.80$4.00200K
$0.4800
OpenAIo4-mini
OpenAI$1.10$4.40200K
$0.5500
OpenAIo3-mini
OpenAI$1.10$4.40200K
$0.5500
AnthropicClaude Haiku 4.5
Anthropic$1.00$5.00200K
$0.6000
GoogleGemini 1.5 Pro
Google$1.25$5.002M
$0.6250
OpenAIGPT-3.5 Turbo 16K
OpenAI$3.00$4.0016K
$0.7000
Mistral AIMistral Large 2
Mistral AI$2.00$6.00128K
$0.8000
OpenAIGPT-4.1
OpenAI$2.00$8.001M
$1.0000
OpenAIo3
OpenAI$2.00$8.00200K
$1.0000
OpenAIGPT-5
OpenAI$1.25$10.00272K
$1.1250
OpenAIGPT-5 Chat
OpenAI$1.25$10.00272K
$1.1250
OpenAIGPT-5.1 Thinking
OpenAI$1.25$10.00272K
$1.1250
OpenAIGPT-5.1 Instant
OpenAI$1.25$10.00272K
$1.1250
GoogleGemini 2.5 Pro
Google$1.25$10.001M
$1.1250
OpenAIGPT-4o
OpenAI$2.50$10.00128K
$1.2500
OpenAIGPT-4o Audio
OpenAI$2.50$10.00128K
$1.2500
GoogleGemini 3.1 Pro
Google$2.00$12.001M
$1.4000
GoogleGemini 3 Pro
Google$2.00$12.001M
$1.4000
OpenAIo1-mini
OpenAI$3.00$12.00128K
$1.5000
OpenAIGPT-5.3 Codex
OpenAI$1.75$14.00272K
$1.5750
OpenAIGPT-5.3 Instant
OpenAI$1.75$14.00272K
$1.5750
OpenAIGPT-5.2
OpenAI$1.75$14.00272K
$1.5750
OpenAIGPT-5.4
OpenAI$2.50$15.00272K
$1.7500
AnthropicClaude Sonnet 4.6
Anthropic$3.00$15.001M
$1.8000
AnthropicClaude Sonnet 4.5
Anthropic$3.00$15.00200K
$1.8000
AnthropicClaude Sonnet 4
Anthropic$3.00$15.00200K
$1.8000
AnthropicClaude Sonnet 3.7
Anthropic$3.00$15.00200K
$1.8000
AnthropicClaude Sonnet 3.5
Anthropic$3.00$15.00200K
$1.8000
xAIGrok 4
xAI$3.00$15.00256K
$1.8000
xAIGrok 3
xAI$3.00$15.00131K
$1.8000
OpenAIGPT-4o Realtime
OpenAI$5.00$20.00128K
$2.5000
AnthropicClaude Opus 4.6
Anthropic$5.00$25.001M
$3.0000
AnthropicClaude Opus 4.5
Anthropic$5.00$25.00200K
$3.0000
xAIGrok 4 Heavy
xAI$5.00$25.00256K
$3.0000
xAIGrok 3 Speed
xAI$5.00$25.00131K
$3.0000
OpenAIGPT-4 Turbo
OpenAI$10.00$30.00128K
$4.0000
OpenAIo1
OpenAI$15.00$60.00200K
$7.5000
OpenAIGPT-4
OpenAI$30.00$60.008K
$9.0000
AnthropicClaude Opus 4.1
Anthropic$15.00$75.00200K
$9.0000
AnthropicClaude Opus 4
Anthropic$15.00$75.00200K
$9.0000
AnthropicClaude Opus 3
Anthropic$15.00$75.00200K
$9.0000
OpenAIo3-pro
OpenAI$20.00$80.00200K
$10.0000
OpenAIGPT-5 Pro
OpenAI$15.00$120.00272K
$13.5000
OpenAIGPT-4-32K
OpenAI$60.00$120.0032K
$18.0000
OpenAIGPT-5.4 Pro
OpenAI$30.00$180.00272K
$21.0000

Note on Pricing

Displayed prices are based on official API pricing (as of March 2026). Audio and Realtime models show text-based prices only. Gemini prices may vary by context length (standard prices shown). Actual costs may vary based on usage, discounts, and specific features.

Frequently Asked Questions

Important information about using AI APIs

Token Conversion & Examples
Understand how tokens are counted

Average Conversions

1 Token≈ 4 characters (English)
1 Token≈ 2-3 characters (German)
1 Word≈ 1.3 tokens
1 Sentence (15 words)≈ 20 tokens
1 Paragraph (100 words)≈ 130 tokens

Typical Use Cases

Simple Q&A
Input: ~50 tokens, Output: ~100 tokens
Gemini 1.5 Flash-8B: $0.000017 | GPT-4o-mini: $0.000068 | Claude Haiku 3: $0.000138
Text Summary
Input: ~1000 tokens, Output: ~200 tokens
Gemini Flash-8B: $0.000068 | Gemini 2.0 Flash-Lite: $0.000135 | GPT-4o-mini: $0.000195
Code Generation
Input: ~200 tokens, Output: ~500 tokens
≈ $0.00031 with GPT-4o-mini | ≈ $0.00053 with Claude Haiku 3
Complex Reasoning
Input: ~500 tokens, Output: ~1000 tokens
≈ $0.00495 with O3 | ≈ $0.01875 with O1
Changelog
Die neuesten Updates und Verbesserungen unseres API Cost Calculator
v3.1.0March 13, 2026

UI improvements and centralized pricing

  • • Migrated all model prices to centralized database
  • • Added provider icons next to each model name
  • • Removed badges and model descriptions (cleaner table)
  • • Added Gemini 3.1 Flash-Lite
  • • Total of 65+ AI models available
v3.0.0February 20, 2026

New Models: Claude 4.6, Gemini 3 Series

  • • Added Claude Opus 4.6 with 1M context and agent teams
  • • Added Claude Sonnet 4.6 with Opus-level performance
  • • Added Claude Opus 4.5 with extended thinking
  • • Added Gemini 3.1 Pro with GPQA Diamond record
  • • Added Gemini 3 Pro and Gemini 3 Flash
  • • Total of 65+ AI models available
v2.0.0September 15, 2025

Major Update with New Models

  • • Added GPT-5 series (Nano, Mini, Standard, Chat)
  • • Claude 4.1 Opus with 74.5% SWE-bench score
  • • Added Claude 4.5 Sonnet
  • • xAI Grok models (Grok 3 & 4 series)
  • • Meta Llama 4 models (Scout & Maverick)
  • • Added Mistral Large 2 and Small
  • • Updated Gemini 2.5 Pro pricing
  • • Total of 50+ AI models available
v1.2.1July 23, 2025

Changelog Added

  • • Added changelog section to API cost calculator
v1.2.0July 22, 2025

Major Update

  • • Added all Claude 4 and Gemini 2.5 models
  • • Implemented comprehensive filter and sort functions
  • • Extended comparison options for 36 AI models
v1.1.0July 22, 2025

New Models

  • • Added GPT-4.1 series with 1M token context
  • • Updated O3 model with 80% price reduction
  • • Integrated new audio and realtime model variants
v1.0.0July 22, 2025

Initial Release

  • • Initial version with 21 OpenAI models
  • • Token conversion for words and characters
  • • Interactive cost calculation and comparison table

Stay Updated with the AI Newsletter

Get the latest AI tools, tutorials, and exclusive tips delivered to your inbox weekly

Unsubscribe anytime. About 4 to 8 emails per month. Consent includes notes on revocation, service provider, and statistics according to our Privacy Policy.

gradually.ai logogradually.ai

Germany's leading platform for AI tools and knowledge for online entrepreneurs.

AI Tools

  • AI Chat
  • ChatGPT in German
  • Text Generator
  • Prompt Enhancer
  • Prompt Link Generator
  • FLUX AI Image Generator
  • AI Art Generator
  • Midjourney Prompt Generator
  • Veo 3 Prompt Generator
  • AI Humanizer
  • AI Text Detector
  • Gemini Watermark Remover
  • All Tools →

Creative Tools

  • Blog Name Generator
  • AI Book Title Generator
  • Song Lyrics Generator
  • Artist Name Generator
  • Team Name Generator
  • AI Mindmap Generator
  • Headline Generator
  • Company Name Generator
  • AI Slogan Generator
  • Brand Name Generator
  • Newsletter Name Generator
  • YouTube Channel Name Generator

Business Tools

  • API Cost Calculator
  • Token Counter
  • AI Ad Generator
  • AI Copy Generator
  • Essay Generator
  • Story Generator
  • AI Rewrite Generator
  • Blog Post Generator
  • Meta Description Generator
  • AI Email Generator
  • Email Subject Line Generator
  • Instagram Bio Generator
  • AI Hashtag Generator

Resources

  • Claude Code MCP Servers
  • Claude Code Skills
  • n8n Hosting Comparison
  • OpenClaw Hosting Comparison
  • Claude Code Plugins
  • Claude Code Use Cases
  • Claude Cowork Use Cases
  • OpenClaw Use Cases
  • Changelogs

© 2025 Gradually AI. All rights reserved.

  • Blog
  • About Us
  • Legal Notice
  • Privacy Policy