Aibubu
Visiter Aibubu ↗

Grok 4.6

Référence API de Grok 4.6 pour la génération de texte : fenêtre de contexte, champs de requête, tarification au token et exemples compatibles OpenAI.

POST/v1/chat/completions

Voir le tarif de l'API

grok-4.6 is a currently public China-region text model for general text generation.

Actual parameters must follow the schema.fields returned by GET /v1/models.

Quick Facts

ItemValue
Model IDgrok-4.6
TypeText
RegionAll
Best Forgeneral text generation

Recommended Request Shape

Use /v1/chat/completions or /v1/responses for text models, not the media generation endpoints.

{"model":"grok-4.6","input":"Write a launch announcement","stream":false}

Field Reference

FieldTypeRequiredDescription
modelstringYesMust be grok-4.6
inputstringYesUser input content
streambooleanSchema-dependentWhether to stream
max_output_tokensintegerSchema-dependentMaximum output tokens

Current Public Price

ChargeCredits / 1M tokens
Input22.4
Output67.2
Cache read/write0 / 0

Parameters and pricing

  • Do not send reasoning, temperature, or other fields unless the model schema declares them.
  • Use /v1/quote as the final pricing authority.

Smallest Example

{"model":"grok-4.6","input":"Write a launch announcement"}

Related Pages