Skip to content
  1.  
  2. © 2023 – 2025 OpenRouter, Inc
    Favicon for x-ai

    xAI

    Browse models from xAI

    13 models

    Tokens processed on OpenRouter

    • xAI: Grok 4 FastGrok 4 Fast
      494M tokens

      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 Prompts and completions on Grok 4 Fast Free may be used by xAI or OpenRouter to improve future models.

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

    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
    3.48B tokens

    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
    712M tokens

    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
    76.8M tokens

    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
    695M tokens

    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
    172M tokens

    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
  9. xAI: Grok 2 Vision 1212Grok 2 Vision 1212

    Grok 2 Vision 1212 advances image-based AI with stronger visual comprehension, refined instruction-following, and multilingual support. From object recognition to style analysis, it empowers developers to build more intuitive, visually aware applications. Its enhanced steerability and reasoning establish a robust foundation for next-generation image solutions. To read more about this model, check out xAI's announcement.

    by x-ai33K context
  10. xAI: Grok 2 1212Grok 2 1212

    Grok 2 1212 introduces significant enhancements to accuracy, instruction adherence, and multilingual support, making it a powerful and flexible choice for developers seeking a highly steerable, intelligent model.

    by x-ai131K context
  11. xAI: Grok Vision BetaGrok Vision Beta

    Grok Vision Beta is xAI's experimental language model with vision capability.

    by x-ai8K context
  12. xAI: Grok BetaGrok Beta

    Grok Beta is xAI's experimental language model with state-of-the-art reasoning capabilities, best for complex and multi-step use cases. It is the successor of Grok 2 with enhanced context length.

    by x-ai131K context
  13. xAI: Grok 2 miniGrok 2 mini

    Grok 2 Mini is xAI's fast, lightweight language model that offers a balance between speed and answer quality. To use the stronger model, see Grok Beta. For more information, see the launch announcement.

    by x-ai33K context
  14. xAI: Grok 2Grok 2

    Grok 2 is xAI's frontier language model with state-of-the-art reasoning capabilities, best for complex and multi-step use cases. To use a faster version, see Grok 2 Mini. For more information, see the launch announcement.

    by x-ai33K context