Codex 價格:模型與每月成本
按實際 token 費率、每月成本與設定方式比較 Codex 模型。價格與模型 ID 均來自即時目錄。
一個工作月的實際成本
以 gpt-5.6-terra 計算。範例工作量為 20M 輸入、2M 輸出 token;官方定價與 Code By AI 價格使用相同 token 數。
| 用量級別 | 輸入/輸出 token | 官方定價 | Code By AI | 節省 |
|---|---|---|---|---|
| 輕量 | 5M / 500K | $20.00 | $2.67 | 87% |
| 一般 | 20M / 2M | $80.00 | $10.67 | 87% |
| 重度 | 80M / 8M | $320.00 | $42.67 | 87% |
設定 Codex
將 model_provider 設為 "codebyai",把供應商的 base_url 指向 https://www.codebyai.net/api/agent,設定 wire_api = "responses",並使用模型 ID gpt-5.6-terra。
model_provider = "codebyai" model = "gpt-5.6-terra" [model_providers.codebyai] name = "Code By AI" base_url = "https://www.codebyai.net/api/agent" wire_api = "responses" requires_openai_auth = true
Codex 模型與 token 費率
| 模型 | 官方價 | 你的價格 |
|---|---|---|
| gpt-6.1-terra | $1.00 / $5.00 | $0.13 / $0.67 |
| gpt-6-sol | $2.00 / $10.00 | $0.27 / $1.33 |
| gpt-6.1-sol | $2.00 / $10.00 | $0.27 / $1.33 |
| gpt-5.6-terra預設 | $2.50 / $15.00 | $0.33 / $2.00 |
| gpt-5.6-sol | $4.00 / $20.00 | $0.53 / $2.67 |
| gpt-6-astra | $10.00 / $50.00 | $1.33 / $6.67 |
每 100 萬 token(輸入/輸出)
常見問題
- gpt-5.6-terra 每月成本是多少?
- 以範例月份計算,gpt-5.6-terra 官方定價為 $80.00,透過 Code By AI 為 $10.67。
- Codex 可以共用同一把金鑰嗎?
- 可以。一把 Code By AI 金鑰可用於 Codex 及其他渠道,請使用指南中的協議與模型 ID。
- 去哪裡設定 Codex?
- 請使用本頁連結的 Codex 設定指南,其中包含確切的設定檔與模型 ID。