Skip to content

feat(usage): 更新 GPT-6 Astra 与 GPT-5.6 模型价格 - #46

Open
ApoclyReol wants to merge 1 commit into
shanggqm:mainfrom
ApoclyReol:codex/update-model-pricing
Open

ApoclyReol wants to merge 1 commit into
shanggqm:mainfrom
ApoclyReol:codex/update-model-pricing

Conversation

@ApoclyReol

Copy link
Copy Markdown
Contributor

Summary

  • 新增 gpt-6-astra 的标准、cache write、Fast 和长上下文 API 等效价格。
  • 按官方当前定价修正 GPT-5.6 Sol 的输入、缓存输入、cache write 和输出价格。
  • 扩充模型价格自测,覆盖 Astra snapshot、标准计价、cache write、Fast 和长上下文路径。

价格依据:

  • OpenAI API pricing:Astra $10 / $1 / $12.50 / $50,Sol $4 / $0.40 / $5 / $20(每 1M tokens,依次为输入、缓存输入、cache writes、输出;长上下文价格也按官方表使用)。
  • OpenAI Codex pricing:Astra Fast mode 使用标准费率的 2.5 倍。

Validation

  • make build
  • make test-model-pricing
  • make test-model-usage-trend
  • git diff --check
  • make probe 已尝试;构建成功,但本机 --dump-json 约 90 秒无输出后终止,未将其作为通过项。

Privacy Check

  • 未包含私有 Codex 线程标题、本机路径、截图或账户数据。

1. 新增 GPT-6 Astra 的标准、缓存写入、Fast 和长上下文 API 等效价格。

2. 修正 GPT-5.6 Sol 当前标准与缓存写入价格。

3. 扩充模型价格自测,覆盖新模型与各计价路径。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant