LiteLLMModels

Grok 4 Fast Reasoning API Pricing

As of October 10, 2026, Grok 4 Fast Reasoning costs $0.20 per 1M input tokens and $0.50 per 1M output tokens on Azure AI Foundry.

By xAIModel ID azure_ai/grok-4-fast-reasoningPrices updated Checked
Deprecated: Azure AI Foundry lists May 1, 2026 as the deprecation date for azure_ai/grok-4-fast-reasoning.
Input
$0.20 / 1M tokens
Output
$0.50 / 1M tokens
Providers
1
Added to LiteLLM
September 2025

Grok 4 Fast Reasoning pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
Azure AI Foundryazure_ai/grok-4-fast-reasoning$0.20$0.50–

What Grok 4 Fast Reasoning costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Azure AI Foundry$0.65

Use Grok 4 Fast Reasoning with LiteLLM

Call Grok 4 Fast Reasoning 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.

Python SDK
from litellm import completion

response = completion(
    model="azure_ai/grok-4-fast-reasoning",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: grok-4-fast-reasoning
    litellm_params:
      model: azure_ai/grok-4-fast-reasoning
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "grok-4-fast-reasoning",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Grok 4 Fast Reasoning FAQ

How much does Grok 4 Fast Reasoning cost?

Grok 4 Fast Reasoning costs $0.20 per 1M input tokens and $0.50 per 1M output tokens on Azure AI Foundry.

Which providers offer Grok 4 Fast Reasoning?

Grok 4 Fast Reasoning is available from Azure AI Foundry through LiteLLM, using the model name azure_ai/grok-4-fast-reasoning.

How do I call Grok 4 Fast Reasoning with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="azure_ai/grok-4-fast-reasoning", 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.

When did LiteLLM add Grok 4 Fast Reasoning?

Grok 4 Fast Reasoning was added to LiteLLM's model price file in September 2025.

Is Grok 4 Fast Reasoning being deprecated?

Azure AI Foundry deprecated azure_ai/grok-4-fast-reasoning on May 1, 2026.

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: Azure AI Foundry.

Provider pages: Azure AI Foundry.