Modelos de textoGPT / GLM
GPT-6 Astra
Referência da API do GPT-6 Astra para geração de texto: janela de contexto, campos de solicitação, preço por token e exemplos compatíveis com OpenAI.
POST
/v1/chat/completionsgpt-6-astra is a currently public China-region text model for next-generation general text generation.
Actual parameters must follow the schema.fields returned by GET /v1/models.
Quick Facts
| Item | Value |
|---|---|
| Model ID | gpt-6-astra |
| Type | Text |
| Region | CN |
| Best For | next-generation general text generation |
Recommended Request Shape
Use /v1/chat/completions or /v1/responses for text models, not the media generation endpoints.
{"model":"gpt-6-astra","input":"Write a launch announcement","stream":false}Field Reference
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be gpt-6-astra |
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 | 112 |
| Output | 560 |
| 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":"gpt-6-astra","input":"Write a launch announcement"}
