LLM API pricing comparison 2026

31 models with first-party sources. Last checked: 2026-10-07. USD per one million tokens, standard direct API text pricing. The table shows the base tier; longer prompts, audio, region, batch mode, tools and cache storage can change the bill. TBA means the field was not verified.

ProviderContextModalitySource / checked
gpt-6-astraOpenAI$10$50$11,050,000text / image inputOfficial · 2026-10-07
gpt-6.1-solOpenAI$2$10$0.11,050,000text / image inputOfficial · 2026-10-07
gpt-6-lunaOpenAI$0.1$0.5$0.011,050,000text / image inputOfficial · 2026-10-07
gpt-5.6-solOpenAI$4$20$0.4TBAtext / image inputOfficial · 2026-10-07
gpt-5.6-terraOpenAI$2$12$0.2TBAtext / image inputOfficial · 2026-10-07
gpt-5.6-lunaOpenAI$0.2$1.2$0.02TBAtext / image inputOfficial · 2026-10-07
gpt-5.4OpenAI$2.5$15$0.251,050,000text / image inputOfficial · 2026-10-07
gpt-5.4-miniOpenAI$0.75$4.5$0.075TBAtext / image inputOfficial · 2026-10-07
gpt-5.4-nanoOpenAI$0.2$1.25$0.02TBAtext / image inputOfficial · 2026-10-07
gpt-5.4-proOpenAI$30$180TBA1,050,000text / image inputOfficial · 2026-10-07
gpt-4.1OpenAI$2$8$0.5TBAtext / image inputOfficial · 2026-10-07
gpt-4.1-miniOpenAI$0.4$1.6$0.1TBAtext / image inputOfficial · 2026-10-07
gpt-4.1-nanoOpenAI$0.1$0.4$0.025TBAtext / image inputOfficial · 2026-10-07
claude-opus-5-5Anthropic$4$20$0.2TBAtext / image inputOfficial · 2026-10-07
claude-sonnet-5Anthropic$2$10$0.2TBAtext / image inputOfficial · 2026-10-07
claude-fable-5-1Anthropic$10$50$0.25TBAtext / image inputOfficial · 2026-10-07
claude-opus-4-5Anthropic$5$25$0.5TBAtext / image inputOfficial · 2026-10-07
claude-sonnet-4-5Anthropic$3$15$0.3TBAtext / image inputOfficial · 2026-10-07
claude-haiku-4-5Anthropic$1$5$0.1TBAtext / image inputOfficial · 2026-10-07
claude-opus-4-1Anthropic$15$75$1.5TBAtext / image inputOfficial · 2026-10-07
gemini-2.5-proGoogle$1.25$10$0.1251,000,000text / image / video inputOfficial · 2026-10-07
gemini-3.8-flashGoogle$0.75$3.75$0.075TBAtext inputOfficial · 2026-10-07
gemini-3.5-flash-liteGoogle$0.3$2.5$0.03TBAtext / image / video / audio inputOfficial · 2026-10-07
gemini-3.1-pro-previewGoogle$2$12$0.2TBAtext inputOfficial · 2026-10-07
gemini-2.5-flashGoogle$0.3$2.5$0.031,000,000text / image / video inputOfficial · 2026-10-07
gemini-2.5-flash-liteGoogle$0.1$0.4$0.011,000,000text / image / video inputOfficial · 2026-10-07
deepseek-flashDeepSeek$0.3$1.2$0.0061,000,000textOfficial · 2026-10-07
deepseek-v4-proDeepSeek$1.32$3.96$0.0441,000,000textOfficial · 2026-10-07
grok-4.6xAI$2$6$0.5500,000text / image inputOfficial · 2026-10-07
grok-4.7xAI$2$6$0.5500,000text / image inputOfficial · 2026-10-07
mistral-large-4Mistral$0.68$2.09$0.071,000,000text / image inputOfficial · 2026-10-07

Estimate a workload

Enter input and output tokens per request and daily volume in the LLM API cost calculator. The estimate assumes 30 days, no cache hits and no extras. See Decisions API for a different billing pattern and Mistral Large 4 for its preview price.

Cost comparisons

gpt-6.1-sol vs claude-sonnet-5gpt-6-astra vs claude-opus-5-5gpt-6-luna vs gemini-3.5-flash-litegrok-4.7 vs gpt-6.1-solgpt-6.1-sol vs gemini-3.1-pro-previewclaude-sonnet-5 vs gemini-3.8-flashgpt-6-luna vs deepseek-flashmistral-large-4 vs gemini-3.8-flashgrok-4.7 vs claude-sonnet-5claude-fable-5-1 vs gpt-6-astra
GPU cloud pricesSelf-host inference calculatorEmbeddingGemma 2 self-host costsVPS Black Friday 2026