xAI: Grok Latest
~x Ai
~x-ai/grok-latestAbout this model
This model always redirects to the latest Grok model from xAI.
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-latest", "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 TNDper 1M tokens
Output tokens
18.581 TNDper 1M tokens
1,000 requests with 1K input and 500 output tokens cost about 15.484 TND.
Specifications
- Provider
- ~x Ai
- Context window
- 500,000 tokens
- Input modality
- Text
- Added
- Jul 8, 2026
- Supported parameters
include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputs