输入
$1.00
美元 / 百万 Token
输出
$6.00
美元 / 百万 Token
缓存读取
$0.10
美元 / 百万 Token
缓存写入
—
美元 / 百万 Token
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
Integrate the model `gpt-5.6-terra` from Half Off Dev into this project through the OpenAI Chat Completions and Responses APIs. - Docs (read first): https://halfoff.dev/docs/models/openai.md - Use the official OpenAI SDK with base URL https://halfoff.dev/v1 (or set OPENAI_BASE_URL=https://halfoff.dev/v1). Endpoints: POST /v1/chat/completions and POST /v1/responses, unchanged from OpenAI. - Model id: `gpt-5.6-terra`. GET https://halfoff.dev/v1/models lists every model with its price. - Auth: read my API key from the HALFOFF_API_KEY environment variable and send it as `Authorization: Bearer $HALFOFF_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://halfoff.dev/app/keys. - Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large. - Every docs page is plain Markdown; the full index is https://halfoff.dev/llms.txt. My task: <describe what you want to build or get>
各渠道组价格
| 渠道分组 | 输入 | 输出 | 缓存读取 |
|---|---|---|---|
GPT · Value Pooled capacity | $1.00 | $6.00 | $0.10 |
调用示例
快速开始 →OpenAI Chat Completions
curl https://halfoff.dev/v1/chat/completions \
-H "Authorization: Bearer $HALFOFF_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "gpt-5.6-terra", "messages": [{"role": "user", "content": "Hello"}]}'常见问题
GPT-5.6 Terra 每百万 token 多少钱?
在价格最低的渠道组中,每百万输入 token $1.00,每百万输出 token $6.00。一次 10,000 输入、1,000 输出 token 的请求约 $0.016。
GPT-5.6 Terra 支持提示缓存吗?
支持。缓存读取每百万 token $0.10,因此同样的请求若有 9,000 个输入 token 从缓存读取,费用约为 $0.0079。Half Off Dev 会让同一对话保持在同一渠道,使缓存持续命中。
GPT-5.6 Terra 的上下文窗口有多大?
400K token。
GPT-5.6 Terra 使用哪种 API 格式?
OpenAI Chat Completions, OpenAI Responses API。使用你现有的官方 SDK:把 Base URL 改为 Half Off Dev,并使用你的 Half Off Dev API 密钥。
有订阅或速率限制吗?
无需订阅:充值预付费余额,按 token 付费。你可以为每个 API 密钥自行设置每分钟请求数和并发限制。