GPT-5.6 Terra
gpt-5.6-terra
| Context window | 1.1 m |
|---|---|
| Input (CNY / Million Tokens) | ¥8 |
| Output (CNY / million tokens) | ¥35 |
| Cache read (CNY / million tokens) | ¥0 |
| Cache write (1h, yuan / million tokens) | ¥5 |
Prices by channel
| Channel | Input | Output | Read Cache | Cache hit | Cache Write (1h) | Cache write (5m) | Multiplier |
|---|---|---|---|---|---|---|---|
| 聚合/反代节点1 | ¥8 | ¥35 | ¥0 | ¥1 | ¥5 | — | 1.00x |
Call example
This model belongs to theOpenAIgroup, calling protocol:OpenAI Chat Completions compatible protocolEnter your API Key to use; groups determine the entry point and cannot be mixed (e.g., models in the Gemini group cannot use /v1/messages).
curl https://www.relay-api.com/v1/chat/completions \
-H "Authorization: Bearer sk-你的Key" \
-H "content-type: application/json" \
-d '{
"model": "gpt-5.6-terra",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "你好,请简单介绍一下自己" }
]
}'{
"id": "chatcmpl-01abcDEF...",
"object": "chat.completion",
"model": "gpt-5.6-terra",
"choices": [
{
"index": 0,
"message": { "role": "assistant", "content": "你好!我是 GPT-5.6 Terra,很高兴为你服务。" },
"finish_reason": "stop"
}
],
"usage": { "prompt_tokens": 12, "completion_tokens": 34, "total_tokens": 46 }
}Tool Integration Tutorial
Use this model with your usual AI coding tool, billed per token.
OpenAI Codex (Codex CLI) terminal coding agent tutorial: How to install, configure custom Base URLs and keys via environment variables or config.toml, and use GPT models.
Using local reverse proxies like cc-switch or claude-code-proxy, you can forward Claude Code (Anthropic) and Codex (OpenAI) to our gateway with a single key and unified billing.
Configure a custom API Key and Base URL in Cursor's Settings → Models to use Claude, GPT, or Gemini models with your site-issued key.
Continue extension integration tutorial: Add custom providers in config.yaml, configure your Base URL and sk- key, and unify your Claude / GPT / Gemini workflows.
RikkaHub (Open-source Android AI chat client) tutorial: Create an sk- key, select the Provider type based on the model group, configure the Base URL, and easily call Gemini / Claude / GPT models.
