Modèles de texteGPT / GLM
GLM-5.3
Référence API de GLM-5.3 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/completionsglm-5.3 is a currently public China-region text model for quality-first text generation.
Actual parameters must follow the schema.fields returned by GET /v1/models.
Quick Facts
| Item | Value |
|---|---|
| Model ID | glm-5.3 |
| Type | Text |
| Region | CN |
| Best For | quality-first text generation |
Recommended Request Shape
Use /v1/chat/completions or /v1/responses for text models, not the media generation endpoints.
{"model":"glm-5.3","input":"Write a launch announcement","stream":false}Field Reference
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be glm-5.3 |
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 | 54.88 |
| Output | 172.88 |
| 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":"glm-5.3","input":"Write a launch announcement"}
