GPT
GPT 文本

phatchau036/gpt-5.6-terra

Model ID: phatchau036/gpt-5.6-terra
系列
GPT
上下文
未填写
输入 / 1M token
0.09 人民币
缓存命中率
71.2%
请求数
4.2K
成功率
99.2%
Tokens
377.43M
可用率 99.76%
24 小时前现在
7 天前现在

定价

输入 / 1M token
0.09 人民币
输出 / 1M token
0.27 人民币
Prompt 缓存 71.2%
缓存读取 / 1M token
0.06 人民币
缓存写入 / 1M token
0.18 人民币

重复的提示会被缓存——读取比输入便宜很多,通过 API 调用时自动生效。

费用估算
预估总计 0 人民币
平均 / 请求 0 人民币

按标价估算,启用缓存后通常更便宜。

支持的 Endpoint
https://api.xah.io/v1/chat/completions
https://api.xah.io/v1/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/phatchau036/gpt-5.6-terra:generateContent
https://api.xah.io/api/chat
方法 POST · application/json
认证 Bearer token (API key)
API 类型 文本

分享

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "phatchau036/gpt-5.6-terra",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/chat/completions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "phatchau036/gpt-5.6-terra",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/chat/completions'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "phatchau036/gpt-5.6-terra",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "phatchau036/gpt-5.6-terra",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
}

快速试用

用你的 API key 发送 prompt —— 消耗真实额度,结果实时流式返回。

评分与评论
0.0 / 0 条评价
正在加载评价...
联系支持
我们随时为您提供帮助