Skip to main content
Source: xAI pricing. Web Search is $5/1K calls; X Search is $5/1K posts and $10/1K profiles fetched. Cached input varies by model.

Grok Build 0.1

grok-build-0.1

xai/grok-build-0.1Coding and agent model with text/image input, reasoning, function calling, and structured outputs.
  • Standard input / output / cached input: $1 / $2 / $0.20 per 1M tokens
  • At ≥200K prompt tokens: $2 / $4 / $0.40, applied to the full request
  • 256,000-token context; Batch API unsupported
  • Canonical ID for the grok-code-fast-1 aliases
Verified October 3, 2026 against model specifications and pricing. Use model="xai/grok-build-0.1" with the existing xAI configuration.

Grok 4.7

grok-4.7

Reasoning · Speedxai/grok-4.7xAI’s latest flagship for coding, agentic tasks, and knowledge work.
  • $2 / $6 per 1M tokens (input / output); cached input $0.50
  • At ≥200K prompt tokens: $4 / $12; cached input $1 per 1M tokens, applied to the full request
  • 500K context; no separate text output limit
  • Text, Image input; Text output
  • Reasoning effort low, medium, high (default), xhigh
  • Function calling and structured outputs; Responses and Chat Completions APIs
  • Knowledge cutoff May 2026
  • Batch API not supported; Grok 4.7 Fast is available only in Cursor and Grok Build, not on the public API
Set XAI_API_KEY and select the full model ID:
When using TIMBAL_OPENAI_API=chat_completions, pass model_params={"reasoning_effort": "high"} instead. The Responses API always returns encrypted reasoning for Grok 4.7. Timbal preserves it automatically within Grok 4.7 tool loops and removes incompatible encrypted payloads when switching providers. A stable prompt_cache_key improves cache routing on Responses (x-grok-conv-id header on Chat Completions). Prices above are for the global API. The US regional endpoint adds 10% to input, output, and cached input at both context tiers. Timbal’s catalog records global rates. Both collectors count cache hits toward the 200K threshold and emit input_text_tokens_long_context, input_cached_tokens_long_context, and output_text_tokens_long_context at or above it. Verified October 3, 2026: model specifications, usage guide, and pricing.

Grok 4.6

grok-4.6

Reasoning · Speedxai/grok-4.6xAI’s August 2026 flagship for coding, long-running agents, and ambitious interactive work.
  • $2 / $6 ($4 / $12 at ≥200K prompt tokens); cached input $0.50 / 1M
  • 500K context
  • Text, Image input
  • Configurable reasoning
  • Web search

Grok 4.5

grok-4.5

Reasoning · Speedxai/grok-4.5xAI’s July 2026 flagship for coding, agentic tool use, and knowledge work. Configurable reasoning effort (low / medium / high).
  • $2 / $6 ($4 / $12 at ≥200K prompt tokens); cached input $0.30 / 1M
  • 500K context
  • Text, Image input
  • Configurable reasoning
  • Web search

Grok 4.3

grok-4.3

Reasoning · Speedxai/grok-4.3Production mid-tier for coding, agents, and general workloads. Replacement for the retired Grok 4 Fast / 4.1 Fast slugs (removed May 15, 2026).
  • $1.25 / $2.50 ($2.50 / $5.00 at ≥200K prompt tokens); cached input $0.20 / 1M
  • 1M context
  • Text, Image input
  • Reasoning
  • Web search
Priority processing, when confirmed by the response as service_tier="priority", doubles all token rates. Regional, priority, Batch, and storage charges are separate from the catalog’s global standard rates. Grok 4.3 has a 20% Batch discount. Reconcile those modifiers separately; the catalog does not imply they apply to ordinary requests.