GPT
GPT 文本

nnhat2796/GPT-5.6-Terra-Xhigh

Model ID: nnhat2796/GPT-5.6-Terra-Xhigh
系列
GPT
上下文
1,050,000
输入 / 1M token
0.168 人民币
缓存命中率
请求数
5
成功率
100.0%
Tokens
19.5K
可用率 100.00%
24 小时前现在
7 天前现在

定价

输入 / 1M token
0.168 人民币
输出 / 1M token
0.33 人民币
每次请求
0.00449 人民币
Prompt 缓存
缓存读取 / 1M token
0.09 人民币
缓存写入 / 1M token
0.15 人民币

重复的提示会被缓存——读取比输入便宜很多,通过 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/nnhat2796/GPT-5.6-Terra-Xhigh:generateContent
https://api.xah.io/api/chat
方法 POST · application/json
认证 Bearer token (API key)
限流 100 req/min
API 类型 文本

分享

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "nnhat2796/GPT-5.6-Terra-Xhigh",
    "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": "nnhat2796/GPT-5.6-Terra-Xhigh",
    "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": "nnhat2796/GPT-5.6-Terra-Xhigh",
    "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": "nnhat2796/GPT-5.6-Terra-Xhigh",
    "messages": [
        {
            "role": "user",
            "content": "Xin chào, bạn là ai?"
        }
    ]
}

快速试用

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

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