支持模型与参数文字模型GPT / GLM
GPT-6 Astra
GPT-6 Astra 文字模型参数与价格。
gpt_6_astra 是当前国内线上公开的文字模型,适合新一代通用文本生成。
实际可用参数以 GET /v1/models 返回的 schema.fields 为准。
模型速览
| 项 | 说明 |
|---|---|
| 模型 ID | gpt_6_astra |
| 类型 | 文字 |
| 区域 | CN |
| 推荐场景 | 新一代通用文本生成 |
推荐请求写法
文字模型使用 /v1/chat/completions 或 /v1/responses,不要使用媒体生成接口。
{"model":"gpt_6_astra","input":"帮我写一段新品发布文案","stream":false}字段说明
| 字段 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
model | string | 是 | 固定传 gpt_6_astra |
input | string | 是 | 用户输入内容 |
stream | boolean | 按 schema | 是否流式返回 |
max_output_tokens | integer | 按 schema | 最大输出 token 数 |
当前公开价格
| 计费项 | 积分 / 1M tokens |
|---|---|
| 输入 | 1120 |
| 输出 | 5600 |
| 缓存读取/写入 | 0 / 0 |
参数与价格
- 不要默认传入
reasoning、temperature等未在模型 schema 中声明的字段。 - 最终报价以
/v1/quote返回值为准。
最小示例
{"model":"gpt_6_astra","input":"帮我写一段新品发布文案"}
