Skip to content
Dashboard

Grok 4.5

Grok 4.5 is a xAI reasoning model built for coding, agentic tasks, and knowledge work, accepting text and image input with selectable low, medium, and high reasoning levels. Your use is subject to xAI's Terms & Privacy Policies.

ReasoningTool UseImplicit CachingFile InputVision (Image)Web Search
import { streamText } from 'ai'
const result = streamText({
model: 'xai/grok-4.5',
prompt: 'Why is the sky blue?'
})
Read docs

Frequently Asked Questions

  • What is Grok 4.5 built for?

    Coding, agentic tasks, and knowledge work. xAI targets Grok 4.5 at real engineering problems across science, engineering, and math.

  • How do I control reasoning depth on Grok 4.5?

    Set the reasoning level to low, medium, or high on each request. Grok 4.5 defaults to high, and reasoning can't be disabled. Low suits latency-sensitive agent steps and simple tool calls, medium suits data analysis and long-context reasoning, and high suits multi-step logic and competition-level math.

  • Does Grok 4.5 accept image input?

    Yes. Grok 4.5 accepts text and image input and returns text. Use a dedicated image model when you need generated images as output.

  • What is the context window for Grok 4.5?

    The context window is 500K tokens, with up to 500K tokens per response.

  • What is the knowledge cutoff for Grok 4.5?

    February 1, 2026. Pair Grok 4.5 with web search or retrieval for facts that changed after that date.

  • What tools does Grok 4.5 support?

    Function calling, structured outputs, web search, X search, and code execution. Long agent loops can also use context compaction to trim earlier turns and keep a session running.

  • Can I move traffic to Grok 4.5 without changing my code?

    Yes. Add an AI Gateway routing rule that rewrites requests from another Grok model to xai/grok-4.5. Your application keeps sending the old model identifier.

  • How do I authenticate with Grok 4.5 through Vercel AI Gateway?

    Use your Vercel AI Gateway API key with xai/grok-4.5 as the model identifier. AI Gateway handles provider routing automatically.

  • What does Grok 4.5 cost?

    See the pricing section on this page for today's rates. AI Gateway reflects each provider's pricing for Grok 4.5 with no markup.

  • Does Vercel AI Gateway support Zero Data Retention for Grok 4.5?

    Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.