LLM pricing

Large Language Model api pricing can be hard to calculate, that is why we made this simple calculator to help you estimate your llm costs.

Tokens

Context window: 64,000

OpenAI

$

3 /mo


GPT-4.1 nano pricing

Variant:

Context windows size:

1000 k
Description:

Fastest, most cost-effective model for low-latency tasks

More info

Per million tokens

Input:

$0.1

Output:

$0.4

Input Batch:

$0.05

Output Batch:

$0.2

Cached input:

$0.025

Cached output:

$0

Google

$

3 /mo


Gemini 2.5 Flash-Lite pricing

Variant:

Context windows size:

1000 k
Description:

text, image and video input, audio input costs $0.30

More info

Per million tokens

Input:

$0.1

Output:

$0.4

Input Batch:

$0.05

Output Batch:

$0.2

Cached input:

$0

Cached output:

$0.01

Ai21

$

3 /mo


Jamba 1.5 pricing

Variant: Mini

Context windows size:

256 k
Description:

Efficient & lightweight

More info

Per million tokens

Input:

$0.2

Output:

$0.4

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0

OpenAI

$

4 /mo


GPT-6 Luna pricing

Variant:

Context windows size:

1050 k
Description:

Most efficient model, for focused high-volume tasks

More info

Per million tokens

Input:

$0.1

Output:

$0.5

Input Batch:

$0.05

Output Batch:

$0.25

Cached input:

$0.125

Cached output:

$0.01

Anthropic

$

4 /mo


Claude 5.5 pricing

Variant: Haiku

Context windows size:

1000 k
Description:

fastest, most cost-effective model, $0.50 input / $2.50 output above 100K tokens

More info

Per million tokens

Input:

$0.1

Output:

$0.5

Input Batch:

$0.05

Output Batch:

$0.25

Cached input:

$0.125

Cached output:

$0.01

Cohere

$

4 /mo


Command R pricing

Variant:

Context windows size:

128 k
Description:

optimized for long context tasks

More info

Per million tokens

Input:

$0.15

Output:

$0.6

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0

Deepseek

$

4 /mo


deepseek-flash pricing

Variant: DeepSeek-V4.1-Flash

Context windows size:

1000 k
Description:

peak hours cost $0.30 input and $1.20 output

More info

Per million tokens

Input:

$0.15

Output:

$0.6

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0.003

OpenAI

$

5 /mo


GPT-4o mini pricing

Variant:

Context windows size:

128 k
Description:

cost-efficient small model

More info

Per million tokens

Input:

$0.15

Output:

$0.6

Input Batch:

$0.75

Output Batch:

$0.3

Cached input:

$0.075

Cached output:

$0

OpenAI

$

5 /mo


GPT-4o mini pricing

Variant: 2024-07-18

Context windows size:

128 k
Description:

cost-efficient small model

More info

Per million tokens

Input:

$0.15

Output:

$0.6

Input Batch:

$0.75

Output Batch:

$0.3

Cached input:

$0.075

Cached output:

$0

Cohere

$

8 /mo


Command R pricing

Variant: Fine-tuned

Context windows size:

128 k
Description:

optimized for long context tasks

More info

Per million tokens

Input:

$0.3

Output:

$1.2

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0

Google

$

9 /mo


Gemini 3.1 Flash-Lite pricing

Variant:

Context windows size:

1000 k
Description:

text, image and video input, audio input costs $0.50

More info

Per million tokens

Input:

$0.25

Output:

$1.5

Input Batch:

$0.125

Output Batch:

$0.75

Cached input:

$0

Cached output:

$0.025

OpenAI

$

11 /mo


GPT-4.1 mini pricing

Variant:

Context windows size:

1000 k
Description:

Affordable model balancing speed and intelligence

More info

Per million tokens

Input:

$0.4

Output:

$1.6

Input Batch:

$0.2

Output Batch:

$0.8

Cached input:

$0.1

Cached output:

$0

Deepseek

$

14 /mo


deepseek-v4-pro pricing

Variant: DeepSeek-V4-Pro

Context windows size:

1000 k
Description:

peak hours cost $1.32 input and $3.96 output

More info

Per million tokens

Input:

$0.66

Output:

$1.98

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0.022

Google

$

15 /mo


Gemini 3.5 Flash-Lite pricing

Variant:

Context windows size:

1000 k
Description:

More info

Per million tokens

Input:

$0.3

Output:

$2.5

Input Batch:

$0.15

Output Batch:

$1.25

Cached input:

$0

Cached output:

$0.03

Google

$

15 /mo


Gemini 2.5 Flash pricing

Variant:

Context windows size:

1000 k
Description:

text, image and video input, audio input costs $1.00

More info

Per million tokens

Input:

$0.3

Output:

$2.5

Input Batch:

$0.15

Output Batch:

$1.25

Cached input:

$0

Cached output:

$0.03

Grok

$

15 /mo


Grok Build 0.1 pricing

Variant:

Context windows size:

256 k
Description:

More info

Per million tokens

Input:

$1

Output:

$2

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0.2

Google

$

18 /mo


Gemini 3 Flash Preview pricing

Variant:

Context windows size:

1000 k
Description:

text, image and video input, audio input costs $1.00

More info

Per million tokens

Input:

$0.5

Output:

$3

Input Batch:

$0.25

Output Batch:

$1.5

Cached input:

$0

Cached output:

$0.05

Grok

$

19 /mo


Grok 4.3 pricing

Variant:

Context windows size:

1000 k
Description:

More info

Per million tokens

Input:

$1.25

Output:

$2.5

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0.2

Grok

$

19 /mo


Grok 4.20 pricing

Variant:

Context windows size:

1000 k
Description:

reasoning and non-reasoning variants

More info

Per million tokens

Input:

$1.25

Output:

$2.5

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0.2

Google

$

24 /mo


Gemini 3.8 Flash pricing

Variant:

Context windows size:

1000 k
Description:

price doubles on January 1, 2027

More info

Per million tokens

Input:

$0.75

Output:

$3.75

Input Batch:

$0.375

Output Batch:

$1.875

Cached input:

$0

Cached output:

$0.075

Google

$

24 /mo


Gemini 3.6 Flash pricing

Variant:

Context windows size:

1000 k
Description:

price doubles on January 1, 2027

More info

Per million tokens

Input:

$0.75

Output:

$3.75

Input Batch:

$0.375

Output Batch:

$1.875

Cached input:

$0

Cached output:

$0.075

OpenAI

$

29 /mo


o3-mini pricing

Variant: o3

Context windows size:

200 k
Description:

cost-efficient small model

More info

Per million tokens

Input:

$1.1

Output:

$4.4

Input Batch:

$0.55

Output Batch:

$2.2

Cached input:

$0.55

Cached output:

$0

Anthropic

$

31 /mo


Claude 4.5 pricing

Variant: Haiku

Context windows size:

200 k
Description:

fast and cost-effective model

More info

Per million tokens

Input:

$1

Output:

$5

Input Batch:

$0.5

Output Batch:

$2.5

Cached input:

$1.25

Cached output:

$0.1

Grok

$

40 /mo


Grok 4.7 pricing

Variant:

Context windows size:

500 k
Description:

More info

Per million tokens

Input:

$2

Output:

$6

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0.5

Grok

$

40 /mo


Grok 4.6 pricing

Variant:

Context windows size:

500 k
Description:

More info

Per million tokens

Input:

$2

Output:

$6

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0.5

Grok

$

40 /mo


Grok 4.5 pricing

Variant:

Context windows size:

500 k
Description:

More info

Per million tokens

Input:

$2

Output:

$6

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0.3

Ai21

$

50 /mo


Jamba 1.5 pricing

Variant: Large

Context windows size:

256 k
Description:

powerful long context model

More info

Per million tokens

Input:

$2

Output:

$8

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0

OpenAI

$

52 /mo


GPT-4.1 pricing

Variant:

Context windows size:

1000 k
Description:

Smartest model for complex tasks

More info

Per million tokens

Input:

$2

Output:

$8

Input Batch:

$1

Output Batch:

$4

Cached input:

$0.5

Cached output:

$0

Google

$

58 /mo


Gemini 2.5 Pro pricing

Variant: 1m context

Context windows size:

1000 k
Description:

prompts up to 200k tokens

More info

Per million tokens

Input:

$1.25

Output:

$10

Input Batch:

$0.625

Output Batch:

$5

Cached input:

$0

Cached output:

$0.125

OpenAI

$

62 /mo


GPT-6.1 Sol pricing

Variant:

Context windows size:

1050 k
Description:

Near-Astra performance for complex work at a lower cost

More info

Per million tokens

Input:

$2

Output:

$10

Input Batch:

$1

Output Batch:

$5

Cached input:

$2.5

Cached output:

$0.1

Anthropic

$

62 /mo


Claude 5.5 pricing

Variant: Sonnet

Context windows size:

1000 k
Description:

speed and capability for everyday coding, agent, and enterprise work

More info

Per million tokens

Input:

$2

Output:

$10

Input Batch:

$1

Output Batch:

$5

Cached input:

$2.5

Cached output:

$0.1

Anthropic

$

62 /mo


Claude 5 pricing

Variant: Sonnet

Context windows size:

1000 k
Description:

speed and capability for everyday coding, agent, and enterprise work

More info

Per million tokens

Input:

$2

Output:

$10

Input Batch:

$1

Output Batch:

$5

Cached input:

$2.5

Cached output:

$0.2

Cohere

$

63 /mo


Command R+ pricing

Variant:

Context windows size:

128 k
Description:

most powerful, scalable large language model

More info

Per million tokens

Input:

$2.5

Output:

$10

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0

OpenAI

$

65 /mo


GPT-4o pricing

Variant:

Context windows size:

128 k
Description:

Their most advanced multimodal model

More info

Per million tokens

Input:

$2.5

Output:

$10

Input Batch:

$1.25

Output Batch:

$5

Cached input:

$1.25

Cached output:

$0

OpenAI

$

65 /mo


GPT-4o pricing

Variant: 2024-11-20

Context windows size:

128 k
Description:

Their most advanced multimodal model

More info

Per million tokens

Input:

$2.5

Output:

$10

Input Batch:

$1.25

Output Batch:

$5

Cached input:

$1.25

Cached output:

$0

OpenAI

$

65 /mo


GPT-4o pricing

Variant: 2024-08-06

Context windows size:

128 k
Description:

GPT-4o with improved reasoning capabilities

More info

Per million tokens

Input:

$2.5

Output:

$10

Input Batch:

$1.25

Output Batch:

$5

Cached input:

$1.25

Cached output:

$0

Google

$

72 /mo


Gemini 3.1 Pro Preview pricing

Variant: 1m context

Context windows size:

1000 k
Description:

prompts up to 200k tokens

More info

Per million tokens

Input:

$2

Output:

$12

Input Batch:

$1

Output Batch:

$6

Cached input:

$0

Cached output:

$0.2

Google

$

90 /mo


Gemini 2.5 Pro pricing

Variant: 1m context, long prompts

Context windows size:

1000 k
Description:

prompts over 200k tokens

More info

Per million tokens

Input:

$2.5

Output:

$15

Input Batch:

$1.25

Output Batch:

$7.5

Cached input:

$0

Cached output:

$0.25

Anthropic

$

93 /mo


Claude 4.6 pricing

Variant: Sonnet

Context windows size:

1000 k
Description:

intelligent model

More info

Per million tokens

Input:

$3

Output:

$15

Input Batch:

$1.5

Output Batch:

$7.5

Cached input:

$3.75

Cached output:

$0.3

OpenAI

$

103 /mo


GPT-4o pricing

Variant: 2024-05-13

Context windows size:

128 k
Description:

GPT-4o with improved reasoning capabilities

More info

Per million tokens

Input:

$5

Output:

$15

Input Batch:

$2.5

Output Batch:

$7.5

Cached input:

$0

Cached output:

$0

Google

$

113 /mo


Gemini 3.1 Pro Preview pricing

Variant: 1m context, long prompts

Context windows size:

1000 k
Description:

prompts over 200k tokens

More info

Per million tokens

Input:

$4

Output:

$18

Input Batch:

$2

Output Batch:

$9

Cached input:

$0

Cached output:

$0.4

Anthropic

$

123 /mo


Claude 5.5 pricing

Variant: Opus

Context windows size:

1000 k
Description:

most intelligent Opus model for complex tasks

More info

Per million tokens

Input:

$4

Output:

$20

Input Batch:

$2

Output Batch:

$10

Cached input:

$5

Cached output:

$0.2

Anthropic

$

154 /mo


Claude 5 pricing

Variant: Opus

Context windows size:

1000 k
Description:

powerful model for complex tasks

More info

Per million tokens

Input:

$5

Output:

$25

Input Batch:

$2.5

Output Batch:

$12.5

Cached input:

$6.25

Cached output:

$0.5

Anthropic

$

154 /mo


Claude 4.8 pricing

Variant: Opus

Context windows size:

1000 k
Description:

powerful model for complex tasks

More info

Per million tokens

Input:

$5

Output:

$25

Input Batch:

$2.5

Output Batch:

$12.5

Cached input:

$6.25

Cached output:

$0.5

Anthropic

$

154 /mo


Claude 4.7 pricing

Variant: Opus

Context windows size:

1000 k
Description:

powerful model for complex tasks

More info

Per million tokens

Input:

$5

Output:

$25

Input Batch:

$2.5

Output Batch:

$12.5

Cached input:

$6.25

Cached output:

$0.5

Anthropic

$

154 /mo


Claude 4.6 pricing

Variant: Opus

Context windows size:

1000 k
Description:

powerful model for complex tasks

More info

Per million tokens

Input:

$5

Output:

$25

Input Batch:

$2.5

Output Batch:

$12.5

Cached input:

$6.25

Cached output:

$0.5

OpenAI

$

308 /mo


GPT-6 Astra pricing

Variant:

Context windows size:

1050 k
Description:

OpenAI's most capable model, for the most demanding work

More info

Per million tokens

Input:

$10

Output:

$50

Input Batch:

$5

Output Batch:

$25

Cached input:

$12.5

Cached output:

$1

Anthropic

$

308 /mo


Claude 5.1 pricing

Variant: Fable

Context windows size:

1000 k
Description:

most capable widely released model

More info

Per million tokens

Input:

$10

Output:

$50

Input Batch:

$5

Output Batch:

$25

Cached input:

$12.5

Cached output:

$0.25

Anthropic

$

308 /mo


Claude 5 pricing

Variant: Fable

Context windows size:

1000 k
Description:

most capable model

More info

Per million tokens

Input:

$10

Output:

$50

Input Batch:

$5

Output Batch:

$25

Cached input:

$12.5

Cached output:

$1

OpenAI

$

385 /mo


o1 pricing

Variant:

Context windows size:

200 k
Description:

Frontier reasoning model

More info

Per million tokens

Input:

$15

Output:

$60

Input Batch:

$7.5

Output Batch:

$30

Cached input:

$7.5

Cached output:

$0

OpenAI

$

1500 /mo


GPT-4o pricing

Variant: audio-preview

Context windows size:

128 k
Description:

GPT-4o with audio capabilities

More info

Per million tokens

Input:

$100

Output:

$200

Input Batch:

$0

Output Batch:

$0

Cached input:

$0

Cached output:

$0

LLM pricing comparison is not too hard to figure out, the newest models are usually pretty expensive, so give the last generation models a try to see if you can get away with a cheaper price.

The LLM pricing calculator works with large numbers, all the inputs usually take a million or more requests per box to start showing the real price.

Disclaimer

This is an estimation tool only.The actual bill could be very different. SaaS Pricing is not responsible for any miscalculations. The prices and terms may be wrong, and may be changed. If no region is specified, you can assume it's Frankfurt, Germany. SaaS Prices is not affiliated with the providers in the calculators, unless explicitly stated.