← Models
Grok

grok-4-fast

by xAI·served through Manthan

grok-4-fast

xAI's speed- and cost-optimized variant of Grok 4, designed to deliver competitive reasoning at much lower latency and price for high-volume use. It features a very large context window (up to roughly 2 million tokens) and supports agentic tool use and real-time search. It suits latency-sensitive agents, search, and large-scale production traffic.

MODALITY

Text

CONTEXT

—

INPUT / 1M

$0.200

OUTPUT / 1M

$0.500

pin by id

PRICING

You're billed per token at the rate above, in USD. Charges fold into your single prepaid balance — no separate provider account. You pay the model's market price, with no extra charge.

Input$0.200 / 1M tokens
Output$0.500 / 1M tokens

CALL IT

Drop-in OpenAI shape — point any OpenAI SDK at api.incord.ai/v1/cloud and set model to this id.

curl https://api.incord.ai/v1/cloud/chat/completions \
  -H "Authorization: Bearer $INCORD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4-fast",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://api.incord.ai/v1/cloud",
    api_key="$INCORD_API_KEY",
)
resp = client.chat.completions.create(
    model="grok-4-fast",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)