OpenAISpecial Offer官方价x0.4省60%

gpt-6-astra

Model ID:gpt-6-astra1

openai最新顶级大模型,272K是计费分水岭

FlagshipStreamingReasoning
Context window1m
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

ChannelInputOutputRead CacheCache hitCache Write (1h)Cache write (5m)Multiplier
聚合/反代节点1¥20¥100¥0¥2.2¥0¥301.00x
>272K tokens¥60¥6¥1501.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).

Request examplecurl
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": "你好,请简单介绍一下自己" }
    ]
  }'
Back to examplesJSON
{
  "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.