Skip to content

Models

LLM API Pricing: OpenAI, Claude, Gemini

API prices per 1M input, cached input, and output tokens for 98 current OpenAI, Claude, Gemini, and other models, and how each call is billed.

API prices for 98 current models, in US dollars per 1M tokens, from Sim's model catalog. Prices were last updated Dec 1, 2026. Every model listed is available in the Sim Agent block.

How a call is billed

Every LLM API call is billed per token, with separate rates for the tokens you send (system prompt, conversation history, tool results, retrieved documents) and the tokens the model generates. Output tokens usually cost several times more than input tokens, and reasoning models bill their hidden reasoning tokens as output.

To estimate a call, multiply input tokens by the input rate and output tokens by the output rate, divide each by 1,000,000, and add them. Multiply by your calls per day and by 30 for a monthly figure.

Cached input

When a provider supports prompt caching, a repeated prompt prefix such as a long system prompt is read from cache at the cached input rate. Inkling, for example, lists $0.17 per 1M cached input tokens against $1 per 1M uncached. Models without a cached rate bill all input at the input rate.

Long-context tiers

Some models charge a higher rate for the whole request once its input crosses a size threshold. MiniMax M3 bills $0.3 per 1M input tokens up to 512k input tokens and $0.6 per 1M once a request goes past that. Sim resolves the tier from all input tokens, cached and uncached, and applies it to input, cached input, and output alike.

Prices by model

ModelProviderInputCached inputOutput
InklingThinking Machines$1$0.17$4.05
Inkling 2 SmallThinking Machines$0.3$0.03$1
Inkling SmallThinking Machines$0.3$0.06$1.2
MiniMax M3.1 FlashMiniMax$0.15$0.015$0.6
MiniMax M3MiniMax$0.3$0.06$1.2
Qwen 4 MaxAlibaba Cloud$1.5Not listed$4.5
Qwen 3.7 PlusAlibaba Cloud$0.4$0.08$1.6
Qwen 3.8 FlashAlibaba Cloud$0.15$0.016$0.47
Qwen 3.8 27BAlibaba Cloud$0.5$0.1$3
GPT-6.2 AstraOpenAI$8$0.4$40
GPT-6.2 SolOpenAI$2$0.1$10
GPT-6 AstraOpenAI$10$1$50
GPT-6.1 SolOpenAI$2$0.1$10
GPT-6.1 TerraOpenAI$1$0.05$5
GPT-6 SolOpenAI$2$0.2$10
GPT-6 LunaOpenAI$0.1$0.01$0.5
GPT-5.6 SolOpenAI$4$0.4$20
GPT-5.6 TerraOpenAI$2$0.2$12
GPT-5.6 LunaOpenAI$0.2$0.02$1.2
GPT-5.5 ProOpenAI$30Not listed$180
GPT-5.5OpenAI$5$0.5$30
GPT-5.4 ProOpenAI$30Not listed$180
GPT-5.4OpenAI$2.5$0.25$15
GPT-5.4 MiniOpenAI$0.75$0.075$4.5
GPT-5.2 ProOpenAI$21Not listed$168
GPT-5.2OpenAI$1.75$0.175$14
Chat LatestOpenAI$5$0.5$30
Claude Fable 5.2Anthropic$8$0.2$40
Claude Sonnet 5.5Anthropic$2$0.1$10
Claude Opus 5.5Anthropic$4$0.2$20
Claude Haiku 5.5Anthropic$0.1$0.01$0.5
Claude Haiku 4.5Anthropic$1$0.1$5
Gemini 4 NeonGoogle$3$0.15$15
Gemini 4 HydrogenGoogle$1.5$0.075$7.5
Gemini 4 CarbonGoogle$2$0.1$10
Gemini 4 ArgonGoogle$2$0.1$10
Gemini 3.8 FlashGoogle$0.75$0.075$3.75
Gemini 3.6 FlashGoogle$0.75$0.075$3.75
Gemini 3.5 Flash LiteGoogle$0.3$0.03$2.5
Gemini 3.1 Pro PreviewGoogle$2$0.2$12
Gemini 3.1 Flash LiteGoogle$0.25$0.025$1.5
Gemini 3 Flash PreviewGoogle$0.5$0.05$3
Gemini 2.5 Flash LiteGoogle$0.1$0.01$0.4
DeepSeek V4 ProDeepSeek$1.32$0.044$3.96
DeepSeek FlashDeepSeek$0.3$0.006$1.2
Grok 4.7xAI$2$0.5$6
Grok 4.6xAI$2$0.5$6
Grok 4.5xAI$2$0.3$6
Grok 4.3xAI$1.25$0.2$2.5
Grok 4.20 0309 ReasoningxAI$1.25$0.2$2.5
Grok 4.20 0309 Non ReasoningxAI$1.25$0.2$2.5
Grok 4.20 Multi Agent 0309xAI$1.25$0.2$2.5
Qwen 3.8 27BCerebras$0.99Not listed$1.49
GPT OSS 120BCerebras$0.35Not listed$0.75
OpenAI GPT OSS 120BGroq$0.15$0.075$0.6
OpenAI GPT OSS 20BGroq$0.075$0.038$0.3
OpenAI GPT OSS Safeguard 20BGroq$0.075$0.038$0.3
Qwen 3.8 27BGroq$0.8Not listed$4
Fugu Ultra V2.0Sakana AI$5$0.5$30
Fugu MaxSakana AI$2$0.25$6
Fugu Max V1.0Sakana AI$2$0.25$6
Sakana NamazuSakana AI$0.95$0.15$4
Sakana Namazu V1.0Sakana AI$0.95$0.15$4
FuguSakana AI$5$0.5$30
Fugu UltraSakana AI$5$0.5$30
Muse Spark 1.3Meta$1.25$0.15$4.25
Muse Spark 1.1Meta$1.25$0.15$4.25
Kimi K3.1 ProKimi$2$0.2$10
Kimi K3Kimi$3$0.3$15
GLM 5.3Z.ai$1.4$0.26$4.4
GLM 5.3 FlashxZ.ai$0.37$0.075$1.25
GLM 5.3 FlashZ.ai$0.15$0.03$0.5
GLM 5.2Z.ai$1.4$0.26$4.4
GLM 5.1Z.ai$1.4$0.26$4.4
GLM 5Z.ai$1$0.2$3.2
GLM 5 TurboZ.ai$1.2Not listed$4
GLM 4.7Z.ai$0.6$0.11$2.2
GLM 4.7 FlashxZ.ai$0.07$0.01$0.4
GLM 4.6Z.ai$0.6$0.11$2.2
GLM 4.5Z.ai$0.6$0.11$2.2
GLM 4.5 AirZ.ai$0.2$0.03$1.1
GLM 4.5 XZ.ai$2.2$0.45$8.9
GLM 4.5 AirxZ.ai$1.1$0.22$4.5
GLM 4 32B 0414 128kZ.ai$0.1Not listed$0.1
Mistral Large 4Mistral AI$0.7$0.07$2.1
Zai GLM 5.3Mistral AI$1.4$0.14$4.4
Mistral Large LatestMistral AI$0.7$0.07$2.1
Mistral Small 2603Mistral AI$0.15Not listed$0.6
Mistral Medium 2604Mistral AI$1.5Not listed$7.5
Mistral Small LatestMistral AI$0.15Not listed$0.6
Codestral LatestMistral AI$0.3Not listed$0.9
Codestral 2508Mistral AI$0.3Not listed$0.9
Ministral 14B LatestMistral AI$0.2Not listed$0.2
Ministral 14B 2512Mistral AI$0.2Not listed$0.2
Ministral 8B LatestMistral AI$0.15Not listed$0.15
Ministral 8B 2512Mistral AI$0.15Not listed$0.15
Ministral 3B LatestMistral AI$0.1Not listed$0.1
Ministral 3B 2512Mistral AI$0.1Not listed$0.1

Frequently asked questions

How do I calculate the cost of an LLM API call?

Multiply input tokens by the input rate and output tokens by the output rate, with both rates quoted per one million tokens, then add the two. If part of the input is served from a prompt cache, bill that part at the cached input rate instead. Multiply the per-call cost by calls per day and by 30 for a monthly estimate.

How much does prompt caching save?

Prompt caching discounts the input tokens a provider has already seen, so savings scale with how much of each request repeats. An agent that resends a long system prompt and tool definitions on every call can serve most of its input from cache. Cache writes, which some providers bill at a premium, are not part of these prices.

How do I control LLM costs in an AI agent?

Pick the smallest model that handles the task, keep system prompts and tool definitions stable so they hit the prompt cache, trim conversation history and retrieved context, and cap output length. In Sim, every run records its token usage and cost per block in the logs, so you can see which step drives spend and change the model on that step alone.

Was this helpful?
Suggest an edit