Grok 4 Fast
xai.grok-4-fastPricing
List prices at Oracle OCI, in US dollars per million tokens.
| Tier | Input / 1M | Output / 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
Where to run it
1 host serve Grok 4 Fast. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Oracle OCICloud xai.grok-4-fast | $5.00 / $25.00 | xai.grok-4-fast |
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
- 70% less
- 88% less
- 70% less
Other frontier labs
- 20% less
- 52% less
- 60% less
- 60% less
Open-weight picks
- 56% less
- 60% less
- 70% less
- 80% less
Model line
Newer and older versions, at each lab's own price.
- UndatedGrok 4.1 FastLatest$5.00 / $25.00
- UndatedGrok 4 FastThis page$5.00 / $25.00
- UndatedGrok 3 Fast$5.00 / $25.00
Call it
Using Oracle OCI's API.
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
}