Skip to content
xAINew
x-ai/grok-4.7

About this model

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...

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.7",    "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

6.194 TND

per 1M tokens

Output tokens

18.581 TND

per 1M tokens

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

Specifications

Provider
xAI
Context window
500,000 tokens
Input modality
Text
Added
Sep 21, 2026
Supported parameters
include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputs