Grok 3 Fast API Pricing
As of October 10, 2026, Grok 3 Fast costs $5.00 per 1M input tokens and $25.00 per 1M output tokens from Oracle Cloud (OCI), the lowest of 2 providers. It has a 131,072-token context window and returns up to 131,072 tokens per response.
- Input
- $5.00 / 1M tokens
- Output
- $25.00 / 1M tokens
- Context window
- 131,072 tokens
- Max output
- 131,072 tokens
- Providers
- 2
- Added to LiteLLM
- April 2025
Grok 3 Fast pricing by provider
2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Oracle Cloud (OCI) | oci/xai.grok-3-fast | $5.00 | $25.00 | 128K |
| Vercel AI Gateway | vercel_ai_gateway/xai/grok-3-fast | $5.00 | $25.00 | 128K |
What Grok 3 Fast costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Oracle Cloud (OCI) | $22.50 |
| Vercel AI Gateway | $22.50 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Oracle Cloud (OCI) | $55.00 |
| Vercel AI Gateway | $55.00 |
Grok 3 Fast features
- Function calling
- Structured output
Use Grok 3 Fast with LiteLLM
Call Grok 3 Fast through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="oci/xai.grok-3-fast",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: grok-3-fast
litellm_params:
model: oci/xai.grok-3-fast
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "grok-3-fast",
"messages": [{"role": "user", "content": "Hello!"}]
}'Grok 3 Fast FAQ
How much does Grok 3 Fast cost?
Grok 3 Fast costs $5.00 per 1M input tokens and $25.00 per 1M output tokens from Oracle Cloud (OCI), the lowest of 2 providers.
What is the context window of Grok 3 Fast?
Grok 3 Fast has a 131,072-token context window and returns up to 131,072 tokens per response.
Which providers offer Grok 3 Fast?
Grok 3 Fast is available from 2 providers through LiteLLM: Oracle Cloud (OCI) and Vercel AI Gateway.
How do I call Grok 3 Fast with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="oci/xai.grok-3-fast", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does Grok 3 Fast support?
Grok 3 Fast supports function calling. It does not support structured output.
When did LiteLLM add Grok 3 Fast?
Grok 3 Fast was added to LiteLLM's model price file in April 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Oracle Cloud (OCI), Vercel AI Gateway.
Provider pages: Oracle Cloud (OCI), Vercel AI Gateway.
