Grok 4.5 API pricing

    xAI model · xAI on AIWiseRank

    Short answer

    Grok 4.5 by xAI costs $2 per 1M input tokens and $6 per 1M output tokens, with a 500K token context window. It scores 86.6% on SWE-bench Verified and 52.6% on ARC-AGI-2. GPT-6 Luna scores about as well on ARC-AGI-2 (59.3%) for $0.20 per 1M blended tokens versus $3.

    Prices updated Oct 23, 2026 (APIpulse, CC BY 4.0) · Benchmarks: ARC Prize, Vals.ai · all models

    Input$2 / 1M
    Output$6 / 1M
    Context500K
    Blended (3:1)$3 / 1M

    API cost calculator

    Enter your monthly usage in millions of tokens (1M tokens ≈ 750,000 words).

    Grok 4.5$32 / month$384 / year

    Standard rates; batch processing and prompt caching can lower the bill.

    Benchmarks

    ARC-AGI-2 (reasoning)52.6% (High)
    SWE-bench Verified (coding)86.6%

    Cheaper models with similar scores

    Within 3 points on the same benchmark, at a lower blended price.

    Other xAI models

    ModelInput / 1MOutput / 1M
    Grok 4.7$2$6
    Grok 4.6$2$6
    Grok 4.3$1.25$2.50
    Grok 4.20$1.25$2.50
    Grok 4.20 Multi-Agent$1.25$2.50
    Grok Build 0.1$1$2

    Frequently asked questions

    How much does the Grok 4.5 API cost?

    Grok 4.5 costs $2 per 1M input tokens and $6 per 1M output tokens. A workload of 10M input and 2M output tokens a month costs $32.

    What is the context window of Grok 4.5?

    Grok 4.5 supports a 500K token context window.

    Is there a cheaper alternative to Grok 4.5?

    GPT-6 Luna scores 59.3% on ARC-AGI-2, close to Grok 4.5, at $0.20 per 1M blended tokens versus $3.