impulse

Grok 4 Fast

Frontier lab
API id xai.grok-4-fast
Input / 1M
$5.00
at Oracle OCI
Output / 1M
$25.00
at Oracle OCI
Context window
131K
tokens
Max output
131K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at Oracle OCI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$5.00$25.00

What it costs a month

At Oracle OCI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$3,375
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$3,300
  • Coding agent1,000 requests a day, 40K in / 2K out$7,500
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$18,000
Use your own numbers

Where to run it

1 host serve Grok 4 Fast. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
xai.grok-4-fast
$5.00 / $25.00

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Oracle OCI.

Smaller xAI models

  • Grok 4.7
    xAI · on xAI
    $2.00 / $6.00
    Has every key capability
    70% less
  • Grok Build 0.1
    xAI · on xAI
    $1.00 / $2.00
    Has every key capability
    88% less
  • Grok Build
    xAI · on xAI
    $2.00 / $6.00
    Has every key capability
    70% less

Other frontier labs

  • Claude Opus 5.5
    Anthropic · on Anthropic
    $4.00 / $20.00
    Has every key capability
    20% less
  • GPT-5.3 Codex
    OpenAI · on OpenAI
    $1.75 / $14.00
    Has every key capability
    52% less
  • Gemini 4 Carbon
    Google · on Google AI Studio
    $2.00 / $10.00
    Has every key capability
    60% less
  • GPT-6.2 Sol
    OpenAI · on OpenAI
    $2.00 / $10.00
    Has every key capability
    60% less

Open-weight picks

  • Command A Plus
    Cohere · on AIHubMix
    $2.50 / $10.00
    Has every key capability
    56% less
  • Kimi K3.1 Pro
    Moonshot AI · on Databricks
    $2.00 / $10.00
    Has every key capability
    60% less
  • Qwen3.8.2 4T A95B
    Alibaba Qwen · on DeepInfra
    $2.00 / $6.00
    Has every key capability
    70% less
  • Muse Spark Open
    Meta · on Baseten
    $1.25 / $4.25
    Has every key capability
    80% less

Model line

Newer and older versions, at each lab's own price.

  1. UndatedGrok 4.1 FastLatest$5.00 / $25.00
  2. UndatedGrok 4 FastThis page$5.00 / $25.00
  3. UndatedGrok 3 Fast$5.00 / $25.00

Call it

Using Oracle OCI's API.

Python
from litellm import completion

response = completion(
    model="oci/xai.grok-4-fast",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Grok 4 Fast cost?

On Oracle OCI, Grok 4 Fast costs $5.00 per million input tokens and $25.00 per million output tokens.

Which APIs offer Grok 4 Fast?

Grok 4 Fast runs on 1 API: Oracle OCI.

What is Grok 4 Fast's context window?

131K tokens, with up to 131K tokens in one reply.

Is Grok 4 Fast being retired?

No retirement date is scheduled for it on any API we track.

Is there a newer version of Grok 4 Fast?

Yes. Grok 4.1 Fast is the newest model in this line.

What are cheaper alternatives to Grok 4 Fast?

Models that cost less and keep most of what it can do: Grok 4.7 on xAI (70% less), Claude Opus 5.5 on Anthropic (20% less), GPT-5.3 Codex on OpenAI (52% less) and Command A Plus on AIHubMix (56% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Grok 4 Fast's API model id?

Use xai.grok-4-fast with Oracle OCI.

Sources

Raw catalog entry for xai.grok-4-fast on Oracle OCI
{
  "input_cost_per_token": 0.000005,
  "litellm_provider": "oci",
  "max_input_tokens": 131072,
  "max_output_tokens": 131072,
  "mode": "chat",
  "output_cost_per_token": 0.000025,
  "source": "https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/pricing",
  "supports_function_calling": true,
  "supports_response_schema": false
}