[ xAI ]

Grok 4 Fast Reasoning

Grok 4 Fast Reasoning from X AI: a text model for chat and completions, with a 2M-token context window and up to 1999K output tokens. Every model below its source price, and the cheapest provider wins every request. Pay per token in USDF, with no subscription and no minimum. Streaming and the OpenAI-compatible request format are supported.

xAIgrok-4-fast-reasoning30% below sourceServingtextContext window: 2,000,000 tokens

Context window

2,000,000

tokens

Prices show once you sign in. Sign in

Models with a zero-retention route use it by default. A model marked 'provider may keep data' is served by a provider that may keep request data; choosing it is your choice.

Model ID
grok-4-fast-reasoning
Modality
text
Unit
USD per 1M tokens
Endpoints
/v1/chat/completions
Max output
1,999,000 tokens

Make your first request

Use any OpenAI-compatible SDK. Change the base URL, keep everything else. Responses include a receipt with the exact cost. Need a key? Create one.

Without an account, send the same request to /x402/v1/chat/completions with no credentials and the gateway answers 402 with a quote. Pay per request.

curl https://api.usdf.fi/v1/chat/completions \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "grok-4-fast-reasoning", "messages": [{"role": "user", "content": "Hello"}]}'

Confirm it's you

Confirm to continue the action you started.

Checking confirmation options…