Skip to content
  1.  
  2. © 2023 – 2025 OpenRouter, Inc
    Favicon for xAI

    xAI

    Browse models provided by xAI (Terms of Service)

    7 models

    Tokens processed on OpenRouter

    • xAI: Grok 4 FastGrok 4 Fast

      Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. It comes in two flavors: non-reasoning and reasoning. Read more about the model on xAI's news post. Reasoning can be enabled using the reasoning enabled parameter in the API. Learn more in our docs

      by x-ai2M context$0.20/M input tokens$0.50/M output tokens
  3. xAI: Grok Code Fast 1Grok Code Fast 1

    Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding. With reasoning traces visible in the response, developers can steer Grok Code for high-quality work flows.

    by x-ai256K context$0.20/M input tokens$1.50/M output tokens
  4. xAI: Grok 4Grok 4

    Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified. Pricing increases once the total tokens in a given request is greater than 128k tokens. See more details on the xAI docs

    by x-ai256K context$3/M input tokens$15/M output tokens
  5. xAI: Grok 3 MiniGrok 3 Mini

    A lightweight model that thinks before responding. Fast, smart, and great for logic-based tasks that do not require deep domain knowledge. The raw thinking traces are accessible.

    by x-ai131K context$0.30/M input tokens$0.50/M output tokens
  6. xAI: Grok 3Grok 3

    Grok 3 is the latest model from xAI. It's their flagship model that excels at enterprise use cases like data extraction, coding, and text summarization. Possesses deep domain knowledge in finance, healthcare, law, and science.

    by x-ai131K context$3/M input tokens$15/M output tokens
  7. xAI: Grok 3 Mini BetaGrok 3 Mini Beta

    Grok 3 Mini is a lightweight, smaller thinking model. Unlike traditional models that generate answers immediately, Grok 3 Mini thinks before responding. It’s ideal for reasoning-heavy tasks that don’t demand extensive domain knowledge, and shines in math-specific and quantitative use cases, such as solving challenging puzzles or math problems. Transparent "thinking" traces accessible. Defaults to low reasoning, can boost with setting reasoning: { effort: "high" } Note: That there are two xAI endpoints for this model. By default when using this model we will always route you to the base endpoint. If you want the fast endpoint you can add provider: { sort: throughput}, to sort by throughput instead.

    by x-ai131K context$0.30/M input tokens$0.50/M output tokens
  8. xAI: Grok 3 BetaGrok 3 Beta

    Grok 3 is the latest model from xAI. It's their flagship model that excels at enterprise use cases like data extraction, coding, and text summarization. Possesses deep domain knowledge in finance, healthcare, law, and science. Excels in structured tasks and benchmarks like GPQA, LCB, and MMLU-Pro where it outperforms Grok 3 Mini even on high thinking. Note: That there are two xAI endpoints for this model. By default when using this model we will always route you to the base endpoint. If you want the fast endpoint you can add provider: { sort: throughput}, to sort by throughput instead.

    by x-ai131K context$3/M input tokens$15/M output tokens