Comprehensive AI API Pricing: GPT, Gemini, Claude, and More

Discover the latest API pricing for popular AI models like GPT, Claude, and Gemini. Make informed budget decisions today!

The rise of powerful AI models like GPT, Gemini, Claude, Mistral, Llama, and others has opened doors for AI developers, entrepreneurs, and startups. But with so many options available, choosing the right model for your project can feel overwhelming, especially when considering cost.

This post lists the pricing structures of popular AI models, comparing their sizes, context window, and costs per million tokens to help you make informed decisions about your AI projects. We obtain the price information of these AI APIs from their official websites and will update it frequently to maintain its accuracy.

Subscribe to our newsletter and get the top 10 AI tools and apps delivered straight to your inbox. Subscribe now!

TL;DR

ModelContext WindowInput/1M TokensOutput/1M Tokens
GPT-4o128K$5.00$15.0
gpt-4-turbo128K$10.0$30.0
Claude 3 Opus200K$15.0$75.0
Gemini 1.5 ProUp to 100M$7.0$21.0
open-mixtral-8x22b64K$2.00$6.00
mistral-large32K$8.00$24.00
Llama 3 70B8K$0.59$0.79

GPT-4 & GPT-3

ModelContext WindowInput/1M TokensOutput/1M Tokens
gpt-4o128K$5.00$15.0
gpt-4-turbo-2024-04-09128K$10.0$30.0
gpt-48,192$30.0$60.0
gpt-4-32k32,768$60.0$120.0
gpt-3.5-turbo-012516,385$0.50$1.50
gpt-3.5-turbo-instruct4,096$1.50$2.00
From OpenAI

Claude 3

ModelContext WindowInput/1M TokensOutput/1M Tokens
Claude 3 Opus200K$15.0$75.0
Claude 3 Sonnet200K$3.00$15.00
Claude 3 Haiku200K$0.25$1.25
From Anthropic

Gemini

ModelContext WindowInput/1M TokensOutput/1M Tokens
Gemini 1.5 ProUp to 100M$7.0$21.0
Gemini 1.0 Pro32K$0.5$1.50
From Google

Mistral

ModelContext WindowInput/1M TokensOutput/1M Tokens
mistral-large32K$4.00$12.00
mistral-medium32K$2.70$8.10
mistral-small32K$1.00$3.00
open-mixtral-8x22b64K$2.00$6.00
open-mixtral-8x7b32K$0.70$0.70
open-mixtral-7b32K$0.25$0.25
mistral-embed32k$0.10$0.10
From Mistral

Llama

ModelContext WindowInput/1M TokensOutput/1M Tokens
Llama 3 70B8K$0.59$0.79
Llama 3 8B8K$0.27$0.27
Llama 2 70B4K$0.64$0.80
Llama 2 7B2K$0.10$0.10
From Groq

PPLX

ModelContext WindowInput/1M TokensOutput/1M Tokens
pplx-70b-online4K$1.00$1.00
pplx-7b-online4K$0.2$0.2
From Perplexity

See Also:

Changelog:

05/12/2024

  • Updated

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest & top AI tools sent directly to your email.

Subscribe now to explore the latest & top AI tools and resources, all in one convenient newsletter. No spam, we promise!