Skip to content
xAI
x-ai/grok-4.6

About this model

Grok 4.6 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM. It is succeeded by [Grok 4.7](/x-ai/grok-4.7).

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "x-ai/grok-4.6",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

7.742 TND

per 1M tokens

Output tokens

23.226 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 19.355 TND.

Specifications

Provider
xAI
Context window
500,000 tokens
Input modality
Text
Added
Aug 12, 2026
Supported parameters
include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstop