Grok 4 Fast (reasoning)
Grok logo

Grok 4 Fast (reasoning)

grok-4-fast-reasoning
Grok
Grok-4-fast is a cost-effective inference model developed by xAI that delivers cutting-edge performance with excellent token efficiency. The model features a 2 million token context window, advanced Web and X search capabilities, and a unified architecture supporting both "inference" and "non-inference" modes. Compared to Grok 4, it reduces thinking tokens by an average of 40% and lowers the price by 98% while achieving the same performance.

Pricing

TierPricingCache Read
Input<=128K
$0.200$0.500
$0.05/M tokens
128K<Input
$0.400$1.000
$0.05/M tokens

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Capabilities

  • Thinking
  • Tools
  • Tool calling
  • Structured outputs

Providers

Azure grok-4-fast-reasoning
Pricing$0.200$0.500
Cache Read$0.05/M tokens
Pricing$0.400$1.000
Cache Read$0.05/M tokens
Context2M
Max output30K
Latency2.7S
Throughput99.5TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today
Grok grok-4-fast-reasoning
Pricing$0.200$0.500
Cache Read$0.05/M tokens
Pricing$0.400$1.000
Cache Read$0.05/M tokens
Context2M
Max output30K
Latency3.1S
Throughput136.9TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today

Performance for grok-4-fast-reasoning

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="grok-4-fast-reasoning",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Grok 4 Fast (reasoning)?

Grok-4-fast is a cost-effective inference model developed by xAI that delivers cutting-edge performance with excellent token efficiency. The model features a 2 million token context window, advanced Web and X search capabilities, and a unified architecture supporting both "inference" and "non-inference" modes. Compared to Grok 4, it reduces thinking tokens by an average of 40% and lowers the price by 98% while achieving the same performance.