Grok 4 Fast Pricing

    As of August 21, 2026, Grok 4 Fast API pricing is $0.20 per million input tokens and $0.50 per million output tokens. A typical 100K-in / 20K-out request costs $0.03. Source: https://docs.x.ai/docs/models

    Source: xAI API pricing (https://docs.x.ai/docs/models)

    Updated August 21, 20262M context$0.70 blended / 1M

    Input $/M

    $0.20

    Output $/M

    $0.50

    Blended / 1M

    $0.70

    100K / 20K request

    $0.03

    Grok 4 Fast specs

    Context Window2M
    Max Output30K tokens
    Release Date2025-08-28
    Knowledge CutoffN/A
    LicenseProprietary
    Throughput90 tok/s

    Grok 4 Fast benchmarks

    HLE20%
    GPQA85.7%
    LiveCodeBench80%
    Arena Code Elo1149
    BrowseComp44.9%
    SimpleQA95%
    ARC-AGI 25.3%
    ARC-AGI-1 Verified48.5%
    AIME 202592%
    Arena Search Elo1170
    CyberBench30%
    Fiction.liveBench75%
    HMMT 202593.3%

    Compare Grok 4 Fast

    Same search as the hub. Pick any model, or jump into a priced matchup.

    Grok 4 Fast FAQ

    How much does Grok 4 Fast cost per million tokens?

    As of August 21, 2026, Grok 4 Fast xAI API pricing is $0.20 per million input tokens and $0.50 per million output tokens. Input tokens are the prompt you send; output tokens are the completion. Long answers therefore cost more than short ones even when the prompt stays the same. Source: https://docs.x.ai/docs/models

    What is the blended API cost for Grok 4 Fast?

    On this page the blended Grok 4 Fast API cost is $0.70 for 1 million input tokens plus 1 million output tokens. That 1:1 mix is the comparison scale used across the LLM pricing table. A 3:1 mix (three million input tokens per one million output tokens), which some calculators use, would be about $1.10.

    How much does a typical Grok 4 Fast request cost?

    A typical Grok 4 Fast API request with 100K input tokens and 20K output tokens costs about $0.03 at current rates as of August 21, 2026. Multiply that by daily or monthly volume to estimate spend. Caching, batch APIs, and volume discounts from xAI can bring the real invoice lower than the public list rate at https://docs.x.ai/docs/models.

    What is the context window for Grok 4 Fast?

    Grok 4 Fast supports a 2M token context window and can generate up to 30K output tokens per request. The context window is the total prompt plus conversation history the model can see in one call. Larger windows cost more when you fill them, because every input token is billed per million tokens.

    Is Grok 4 Fast open source?

    No. Grok 4 Fast is a proprietary model by xAI. The only public way to call it is xAI's API, billed per million input and output tokens. There is no self-host option for the weights.

    What benchmarks does Grok 4 Fast perform well on?

    Grok 4 Fast currently reports HLE 20%, GPQA 85.7%, LiveCodeBench 80%. See the performance table for the full eval set. Use those scores with the token prices above when you are choosing between a cheaper LLM and a frontier model. GPQA, SWE-bench, and HLE are the evals people usually compare first.

    Is Grok 4 Fast good for coding?

    Grok 4 Fast scores 80% on LiveCodeBench. Pair that score with xAI API pricing on this page: a slightly worse SWE-bench model can still win if it is much cheaper per million tokens. Open the SWE-bench or coding leaderboard from the sidebar for the full ranking, then jump into an LLM comparison against a coding specialist.

    How do I compare Grok 4 Fast with another LLM?

    Use the Compare picker on this page to start an LLM comparison. Search by model or provider, pick a second model, and AnotherWrapper opens a dedicated Grok 4 Fast vs page with per-million-token prices, blended 1M-in / 1M-out cost, context window, throughput, and benchmarks. You can also open any model from the sidebar, or go back to the LLM pricing table to sort the full index.

    What are the cheapest alternatives to Grok 4 Fast?

    The cheapest LLM alternative depends on whether you optimize for blended token cost, coding evals, or context window. Start with the popular matchups on this page, then sort the LLM pricing table by blended cost to see which hosted APIs undercut Grok 4 Fast. Open-weight models can be cheaper still if you self-host, but that is not the same as xAI API pricing on this page.

    How do I use Grok 4 Fast in my application?

    Grok 4 Fast is called through xAI's API with an API key. Bill against input and output tokens separately; cache or shorten prompts if spend is high. If you are shipping a full product, AnotherWrapper includes pre-built API routes and templates for xAI and 5+ other providers with auth, payments, and deployment already configured.

    How accurate is this Grok 4 Fast pricing data?

    This Grok 4 Fast page tracks the latest published xAI API pricing from xAI, quoted per million tokens. List rates can differ from invoices because of prompt caching, batch discounts, committed-use tiers, and private contracts. Official rate sheet: https://docs.x.ai/docs/models. Benchmark scores come from official publications and independent evals, not from a private lab run by AnotherWrapper.

    How fast is Grok 4 Fast?

    Grok 4 Fast has a measured throughput of about 90 tokens per second (tok/s). Throughput is how fast completions stream once the model starts generating; time-to-first-token can still lag under load. Faster APIs matter when you are building chat or agents, even if the per-million-token price is the same.

    About Grok 4 Fast API pricing

    Grok 4 Fast is a proprietary model from xAI. Current API pricing is $0.20 per million input tokens and $0.50 per million output tokens, with a 2M token context window. A blended 1M-in / 1M-out workload costs $0.70.

    Rank it on the LLM leaderboard, SWE-bench, and Humanity's Last Exam.

    The index

    All Large Language Models

    281 models across 33 providers. Search or jump to a lab — every model page stays linked here.

    Baidu

    1 models

    Inception

    1 models

    inclusionAI

    1 models

    LG AI Research

    1 models

    Nous Research

    1 models

    Sakana AI

    1 models

    StepFun

    1 models

    Tencent

    1 models

    Thinking Machines

    1 models

    Unisound

    1 models

    Upstage

    1 models

    Next step

    You found the model. Now ship the product.

    Auth, billing, and the API layer are already decided. Fork 8 finished AI apps, or have us build the first version with you.