Back to the models list Active on this gateway

Grok: grok-4.6

grok-4.6 is a large language model from xAI’s Grok family, part of the company’s frontier general-purpose models designed for broad reasoning, coding, and conversational assistance. It sits in the higher capability tier of Grok models, intended to balance strong reasoning and multilingual skills with practical latency for interactive use in products like the Grok chatbot. Like other Grok generations, it is trained on a mix of web-scale data and real-time information from X, making it well suited for up‑to‑date question answering, analysis, and developer integration via APIs. It is generally positioned as a versatile, high-end model for both consumer and enterprise applications rather than a lightweight or strictly specialized variant.

Modalities
Context 5K tokens
Quota cost Standard (1×)
Added September 23, 2026

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Input $2,40 / 1M tokens ≈ $0,00240 / 1K tokens
Output $7,20 / 1M tokens ≈ $0,00720 / 1K tokens

Included in plans

Titanium Gold Silver

Statistics

Live performance and usage of this model, aggregated across all users.

No usage recorded yet

Detailed statistics appear here as soon as this model starts receiving requests.

API

Call this model from any OpenAI-compatible client using your API token.

curl
curl https://apiex.cloud/api/v1/chat/completions \
  -H "Authorization: Bearer $NEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-4.6",
  "messages": [
    {
      "role": "user",
      "content": "Explain quantum entanglement in one paragraph."
    }
  ],
  "temperature": 0.7
}'
Authentication

Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — its access to models is set automatically from your active plans and redeemed codes, and you can set its rate limit and IP restrictions.

Supported parameters
Parameter Type Description
modelstring, requiredThis model's ID, exactly as shown above.
messagesarray, requiredConversation history as role/content objects (system, user, assistant).
temperaturenumber, optionalSampling randomness, typically 0–2.
max_tokensinteger, optionalUpper limit on tokens generated in the reply.
top_pnumber, optionalNucleus-sampling threshold, as an alternative to temperature.
streamboolean, ignoredResponses are always returned in full so the exact cost can be billed; streaming is not available.

Replace YOUR_API_KEY with a token from your account, then see the full API reference for every parameter.

Frequently asked questions

What is grok-4.6?

grok-4.6 is a large language model from xAI’s Grok family, part of the company’s frontier general-purpose models designed for broad reasoning, coding, and conversational assistance. It sits in the higher capability tier of Grok models, intended to balance strong reasoning and multilingual skills with practical latency for interactive use in products like the Grok chatbot. Like other Grok generations, it is trained on a mix of web-scale data and real-time information from X, making it well suited for up‑to‑date question answering, analysis, and developer integration via APIs. It is generally positioned as a versatile, high-end model for both consumer and enterprise applications rather than a lightweight or strictly specialized variant.

How much does grok-4.6 cost?

Input tokens are priced at $2,40 per 1,000,000 tokens and output tokens at $7,20 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

What is the context length of grok-4.6?

grok-4.6 supports a context window of up to 500,000 tokens.

Does grok-4.6 support image input?

Yes, grok-4.6 accepts image input in addition to text.

Which provider is grok-4.6 from?

grok-4.6 is developed by Grok and made available on this gateway through our routing infrastructure.

When was grok-4.6 added to this gateway?

grok-4.6 has been available on this gateway since September 23, 2026.

Is grok-4.6 currently available?

Yes, grok-4.6 is active and can be used right now through this gateway.

Explore more models