SpaceXAI: Grok 4.6
x-ai/grok-4.6About 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?"} ] }'Use SpaceXAI: Grok 4.6 from Tunisia
SpaceXAI: Grok 4.6 by xAI is available through the Promptix API with the id x-ai/grok-4.6. You pay in Tunisian dinars: top up with Flouci using a Tunisian bank card or the Flouci wallet. No international card and no dollar account are needed.
It costs 7.742 TND per 1M input tokens and 23.226 TND per 1M output tokens, before VAT and the platform fee added at top-up. There is no subscription and credits do not expire.
The endpoint is OpenAI-compatible: the OpenAI SDK, LangChain and the Vercel AI SDK work by changing the base URL. An Anthropic-compatible endpoint also lets you use it in Claude Code, and it works in opencode.
Pricing
In TND per 1M tokens. VAT and the platform fee are added at top-up.
Input tokens
7.742 TNDper 1M tokens
Output tokens
23.226 TNDper 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_formatseedstructured_outputs