Skip to main content
TOWARD//AGI

// cost comparison

API Pricing

Compare token-based pricing across major AI providers. All prices in USD per 1M tokens.

Last updated: 17d ago

OpenAI

ModelInputOutputContext
GPT-4o$2.50$10.00128K
GPT-4o mini$0.150$0.600128K
GPT-5$1.25$10.00400K
o1$15.00$60.00200K
o3-mini$1.10$4.40200K

Anthropic

ModelInputOutputContext
Claude 4 Opus$15.00$75.00200K
Claude 4 Sonnet$3.00$15.00200K
Claude 4 Haiku$0.250$1.25200K

Google

ModelInputOutputContext
Gemini 2.5 Pro$1.25$10.001.0M
Gemini 2.0 Flash$0.100$0.4001.0M
Gemini 1.5 Flash-8B$0.075$0.3001.0M

Mistral AI

ModelInputOutputContext
Mistral Large 3$2.00$6.00256K
Mistral Small$0.200$0.60032K
Codestral$0.200$0.60032K

Meta (via API)

ModelInputOutputContext
Llama 4 ScoutFreeFree10.0M
Llama 4 MaverickFreeFree1.0M

DeepSeek

ModelInputOutputContext
DeepSeek V4$0.270$1.10262K
DeepSeek R1$0.550$2.19128K

Together AI

ModelInputOutputContext
Llama 3.1 8B$0.060$0.060131K
Llama 3.1 70B$0.880$0.880131K
Qwen 2.5 72B$0.800$0.800131K

Groq

ModelInputOutputContext
Llama 3.1 8B$0.050$0.0808K
Llama 3.1 70B$0.590$0.7908K
Mixtral 8x7B$0.240$0.24033K

// notes

  • • Prices are in USD per 1 million tokens unless otherwise noted.
  • • Input tokens are typically cheaper than output tokens.
  • • Open-weights models (Meta, Mistral, Qwen, DeepSeek) can be self-hosted for free.
  • • Prices may change frequently. Always verify with the provider.