GPT
GPT 文本

mainnewnol/gpt-5.6-luna

Model ID: mainnewnol/gpt-5.6-luna
系列
GPT
上下文
未填写
每次请求最低收费
0.000648 人民币
缓存命中率
请求数
0
成功率
Tokens
0
可用率
24 小时前现在
7 天前现在

定价

输入 / 1M token
0.259 人民币
输出 / 1M token
0.972 人民币
每次请求
0.000648 人民币
每次请求最低收费
0.000648 人民币
Prompt 缓存
缓存读取 / 1M token
0.0358 人民币
缓存写入 / 1M token
0.0358 人民币

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

技术说明

Model được sử dụng trực tiếp API của OpenAI nên đảm bảo tốc độ và sự ổn định

分享

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

快速试用

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

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