Aibubu
Visita Aibubu ↗

Grok 4.5

Riferimento API di Grok 4.5 per la generazione di testo: finestra di contesto, campi della richiesta, prezzi per token ed esempi compatibili con OpenAI.

POST/v1/chat/completions

Vedi i prezzi dell'API

grok-4.5 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.5
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.5","input":"Write a launch announcement","stream":false}

Field Reference

FieldTypeRequiredDescription
modelstringYesMust be grok-4.5
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.5","input":"Write a launch announcement"}

Related Pages