Modelli di testoGrok
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/completionsgrok-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
| Item | Value |
|---|---|
| Model ID | grok-4.5 |
| Type | Text |
| Region | All |
| Best For | general 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
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be grok-4.5 |
input | string | Yes | User input content |
stream | boolean | Schema-dependent | Whether to stream |
max_output_tokens | integer | Schema-dependent | Maximum output tokens |
Current Public Price
| Charge | Credits / 1M tokens |
|---|---|
| Input | 22.4 |
| Output | 67.2 |
| Cache read/write | 0 / 0 |
Parameters and pricing
- Do not send
reasoning,temperature, or other fields unless the model schema declares them. - Use
/v1/quoteas the final pricing authority.
Smallest Example
{"model":"grok-4.5","input":"Write a launch announcement"}
