Models

LLM API prices and context windows

34 models · 8 providers · updated 2026-09-26. Cheapest now: Mistral Small $0.150/1M, Gemini 2.0 Flash $0.175/1M, DeepSeek V4 Flash $0.175/1M. Largest context: Grok 4.1 Fast 2,000,000, Gemini 3.1 Pro 1,048,576, Gemini 3.1 Flash-Lite 1,048,576.

Weigh a prompt
Select 2–4 to compare

34 models

  • Google: Gemini 2.0 Flash

    Gemini 2.0 Flash from Google is priced for high-volume classification, drafts, and agent loops. Context window 1,000,000 tokens. Input $0.1 and output $0.4 per 1M tokens.

    by Google1M context$0.1/M input tokens$0.4/M output tokensblended $0.175/M

  • Mistral: Mistral Small

    Mistral Small from Mistral is priced for high-volume classification, drafts, and agent loops. Context window 128,000 tokens. Input $0.1 and output $0.3 per 1M tokens.

    by Mistral128k context$0.1/M input tokens$0.3/M output tokensblended $0.150/M

  • DeepSeek: DeepSeek V4 Flash

    DeepSeek V4 Flash from DeepSeek is priced for high-volume classification, drafts, and agent loops. Context window 1,000,000 tokens. Input $0.14 and output $0.28 per 1M tokens.

    by DeepSeek1M context$0.14/M input tokens$0.28/M output tokensblended $0.175/M

  • OpenAI: GPT-4o mini

    GPT-4o mini from OpenAI is priced for high-volume classification, drafts, and agent loops. Context window 128,000 tokens. Input $0.15 and output $0.6 per 1M tokens.

    by OpenAI128k context$0.15/M input tokens$0.6/M output tokensblended $0.262/M

  • Google: Gemini 2.5 Flash

    Gemini 2.5 Flash from Google is priced for high-volume classification, drafts, and agent loops. Context window 1,000,000 tokens. Input $0.15 and output $0.6 per 1M tokens.

    by Google1M context$0.15/M input tokens$0.6/M output tokensblended $0.262/M

  • xAI: Grok 4.1 Fast

    Grok 4.1 Fast from xAI is priced for high-volume classification, drafts, and agent loops. Context window 2,000,000 tokens. Input $0.2 and output $0.5 per 1M tokens.

    by xAI2M context$0.2/M input tokens$0.5/M output tokensblended $0.275/M

  • Alibaba: Qwen3 235B

    Qwen3 235B from Alibaba is priced for high-volume classification, drafts, and agent loops. Context window 262,144 tokens. Input $0.2 and output $0.6 per 1M tokens.

    by Alibaba262k context$0.2/M input tokens$0.6/M output tokensblended $0.300/M

  • Google: Gemini 3.1 Flash-Lite

    Gemini 3.1 Flash-Lite from Google is priced for high-volume classification, drafts, and agent loops. Context window 1,048,576 tokens. Input $0.25 and output $1.5 per 1M tokens.

    by Google1.05M context$0.25/M input tokens$1.5/M output tokensblended $0.563/M

  • Meta: Llama 4 Maverick

    Llama 4 Maverick from Meta is priced for high-volume classification, drafts, and agent loops. Context window 1,000,000 tokens. Input $0.27 and output $0.85 per 1M tokens.

    by Meta1M context$0.27/M input tokens$0.85/M output tokensblended $0.415/M

  • Alibaba: Qwen 2.5 72B

    Qwen 2.5 72B from Alibaba is priced for high-volume classification, drafts, and agent loops. Context window 131,072 tokens. Input $0.35 and output $0.4 per 1M tokens.

    by Alibaba131k context$0.35/M input tokens$0.4/M output tokensblended $0.362/M

  • OpenAI: GPT-4.1 mini

    GPT-4.1 mini from OpenAI is priced for high-volume classification, drafts, and agent loops. Context window 1,047,576 tokens. Input $0.4 and output $1.6 per 1M tokens.

    by OpenAI1.05M context$0.4/M input tokens$1.6/M output tokensblended $0.700/M

  • DeepSeek: DeepSeek V4 Pro

    DeepSeek V4 Pro from DeepSeek is priced for high-volume classification, drafts, and agent loops. Context window 1,000,000 tokens. Input $0.435 and output $0.87 per 1M tokens.

    by DeepSeek1M context$0.435/M input tokens$0.87/M output tokensblended $0.544/M

  • DeepSeek: DeepSeek R1

    DeepSeek R1 from DeepSeek is priced for everyday coding, writing, and tool use. Context window 128,000 tokens. Input $0.55 and output $2.19 per 1M tokens.

    by DeepSeek128k context$0.55/M input tokens$2.19/M output tokensblended $0.960/M

  • Meta: Llama 3.3 70B

    Llama 3.3 70B from Meta is priced for everyday coding, writing, and tool use. Context window 128,000 tokens. Input $0.59 and output $0.79 per 1M tokens.

    by Meta128k context$0.59/M input tokens$0.79/M output tokensblended $0.640/M

  • OpenAI: GPT-5.4 mini

    GPT-5.4 mini from OpenAI is priced for everyday coding, writing, and tool use. Context window 400,000 tokens. Input $0.75 and output $4.5 per 1M tokens.

    by OpenAI400k context$0.75/M input tokens$4.5/M output tokensblended $1.69/M

  • Anthropic: Claude Haiku 4.5

    Claude Haiku 4.5 from Anthropic is priced for everyday coding, writing, and tool use. Context window 200,000 tokens. Input $1 and output $5 per 1M tokens.

    by Anthropic200k context$1/M input tokens$5/M output tokensblended $2.00/M

  • OpenAI: o4-mini

    o4-mini from OpenAI is priced for everyday coding, writing, and tool use. Context window 200,000 tokens. Input $1.1 and output $4.4 per 1M tokens.

    by OpenAI200k context$1.1/M input tokens$4.4/M output tokensblended $1.93/M

  • OpenAI: GPT-5

    GPT-5 from OpenAI is priced for everyday coding, writing, and tool use. Context window 400,000 tokens. Input $1.25 and output $10 per 1M tokens.

    by OpenAI400k context$1.25/M input tokens$10/M output tokensblended $3.44/M

  • Google: Gemini 2.5 Pro

    Gemini 2.5 Pro from Google is priced for everyday coding, writing, and tool use. Context window 1,000,000 tokens. Input $1.25 and output $10 per 1M tokens.

    by Google1M context$1.25/M input tokens$10/M output tokensblended $3.44/M

  • xAI: Grok 4.20

    Grok 4.20 from xAI is priced for everyday coding, writing, and tool use. Context window 1,000,000 tokens. Input $1.25 and output $2.5 per 1M tokens.

    by xAI1M context$1.25/M input tokens$2.5/M output tokensblended $1.56/M

  • xAI: Grok 4.3

    Grok 4.3 from xAI is priced for everyday coding, writing, and tool use. Context window 1,000,000 tokens. Input $1.25 and output $2.5 per 1M tokens.

    by xAI1M context$1.25/M input tokens$2.5/M output tokensblended $1.56/M

  • OpenAI: GPT-4.1

    GPT-4.1 from OpenAI is priced for everyday coding, writing, and tool use. Context window 1,047,576 tokens. Input $2 and output $8 per 1M tokens.

    by OpenAI1.05M context$2/M input tokens$8/M output tokensblended $3.50/M

  • Anthropic: Claude Sonnet 5

    Claude Sonnet 5 from Anthropic is priced for everyday coding, writing, and tool use. Context window 1,000,000 tokens. Input $2 and output $10 per 1M tokens.

    by Anthropic1M context$2/M input tokens$10/M output tokensblended $4.00/M

  • Google: Gemini 3.1 Pro

    Gemini 3.1 Pro from Google is priced for everyday coding, writing, and tool use. Context window 1,048,576 tokens. Input $2 and output $12 per 1M tokens.

    by Google1.05M context$2/M input tokens$12/M output tokensblended $4.50/M

  • xAI: Grok 4.6

    Grok 4.6 from xAI is priced for everyday coding, writing, and tool use. Context window 500,000 tokens. Input $2 and output $6 per 1M tokens.

    by xAI500k context$2/M input tokens$6/M output tokensblended $3.00/M

  • Mistral: Mistral Large

    Mistral Large from Mistral is priced for everyday coding, writing, and tool use. Context window 128,000 tokens. Input $2 and output $6 per 1M tokens.

    by Mistral128k context$2/M input tokens$6/M output tokensblended $3.00/M

  • OpenAI: GPT-5.4

    GPT-5.4 from OpenAI is priced for everyday coding, writing, and tool use. Context window 400,000 tokens. Input $2.5 and output $15 per 1M tokens.

    by OpenAI400k context$2.5/M input tokens$15/M output tokensblended $5.63/M

  • OpenAI: GPT-4o

    GPT-4o from OpenAI is priced for everyday coding, writing, and tool use. Context window 128,000 tokens. Input $2.5 and output $10 per 1M tokens.

    by OpenAI128k context$2.5/M input tokens$10/M output tokensblended $4.38/M

  • Anthropic: Claude Sonnet 4.6

    Claude Sonnet 4.6 from Anthropic is priced for everyday coding, writing, and tool use. Context window 1,000,000 tokens. Input $3 and output $15 per 1M tokens.

    by Anthropic1M context$3/M input tokens$15/M output tokensblended $6.00/M

  • Anthropic: Claude Sonnet 4.5

    Claude Sonnet 4.5 from Anthropic is priced for everyday coding, writing, and tool use. Context window 200,000 tokens. Input $3 and output $15 per 1M tokens.

    by Anthropic200k context$3/M input tokens$15/M output tokensblended $6.00/M

  • Anthropic: Claude Opus 4.7

    Claude Opus 4.7 from Anthropic is priced for frontier reasoning and hard coding tasks. Context window 1,000,000 tokens. Input $5 and output $25 per 1M tokens.

    by Anthropic1M context$5/M input tokens$25/M output tokensblended $10.00/M

  • Anthropic: Claude Opus 4.6

    Claude Opus 4.6 from Anthropic is priced for frontier reasoning and hard coding tasks. Context window 1,000,000 tokens. Input $5 and output $25 per 1M tokens.

    by Anthropic1M context$5/M input tokens$25/M output tokensblended $10.00/M

  • OpenAI: o3

    o3 from OpenAI is priced for frontier reasoning and hard coding tasks. Context window 200,000 tokens. Input $10 and output $40 per 1M tokens.

    by OpenAI200k context$10/M input tokens$40/M output tokensblended $17.50/M

  • OpenAI: GPT-5 Pro

    GPT-5 Pro from OpenAI is priced for frontier reasoning and hard coding tasks. Context window 400,000 tokens. Input $15 and output $120 per 1M tokens.

    by OpenAI400k context$15/M input tokens$120/M output tokensblended $41.25/M