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 |
|---|---|---|---|---|---|---|---|
| default-1 | ¥8 | ¥35 | ¥0 | ¥1 | ¥5 | — | 1.00x |
Call example
Compatible with the Anthropic Messages native protocol; just fill in your API Key to get started.
curl https://<你的中转接口域名>/v1/messages \
-H "x-api-key: sk-你的Key" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "gpt-5.6-terra",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "你好,请简单介绍一下自己" }
]
}'{
"id": "msg_01abcDEF...",
"type": "message",
"role": "assistant",
"model": "gpt-5.6-terra",
"content": [
{ "type": "text", "text": "你好!我是 GPT-5.6 Terra,很高兴为你服务。\n\n有什么可以帮你?" }
],
"stop_reason": "end_turn",
"usage": {
"input_tokens": 303,
"output_tokens": 73
}
}Tool Integration Tutorial
Use this model with your usual AI coding tool, billed per token.
Tutorial on integrating OpenAI Codex (Codex CLI) terminal coding agent: installation, configuring custom Base URLs and keys via environment variables or config.toml, and using GPT models.
Use local reverse proxies like cc-switch or claude-code-proxy to forward Claude Code (Anthropic) and Codex (OpenAI) through this gateway, enabling unified billing with a single API key.
Configure custom API Keys and Base URLs in Cursor's Settings → Models to use your own keys for accessing Claude, GPT, and Gemini models.
A guide to integrating the Continue extension: add a custom Provider in config.yaml, configure the Base URL and sk- key to unify your usage of Claude, GPT, and Gemini.
