gpt-6-astra
openai最新顶级大模型,272K是计费分水岭
| Context window | 1m |
|---|---|
| Input (CNY / Million Tokens) | ¥20 |
| Output (CNY / million tokens) | ¥100 |
| Cache read (CNY / million tokens) | ¥0 |
| Cache write (1h, yuan / million tokens) | ¥0 |
Prices by channel
| Channel | Input | Output | Read Cache | Cache hit | Cache Write (1h) | Cache write (5m) | Multiplier |
|---|---|---|---|---|---|---|---|
| 聚合/反代节点1 | ¥20 | ¥100 | ¥0 | ¥2.2 | ¥0 | ¥30 | 1.00x |
| >272K tokens | ¥60 | ¥6 | — | ¥150 | — | — | 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-6-astra1",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "你好,请简单介绍一下自己" }
]
}'{
"id": "chatcmpl-01abcDEF...",
"object": "chat.completion",
"model": "gpt-6-astra1",
"choices": [
{
"index": 0,
"message": { "role": "assistant", "content": "你好!我是 gpt-6-astra,很高兴为你服务。" },
"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.
