GPT
GPT ข้อความ

mainnewnol/gpt-5.6-luna

Model ID: mainnewnol/gpt-5.6-luna
ตระกูล
GPT
บริบท
ไม่ระบุ
ค่าใช้จ่ายขั้นต่ำ / คำขอ
0.00326 ฿
อัตรา Cache hit
คำขอ
0
สำเร็จ
โทเค็น
0
เวลาใช้งาน
24 ชม. ที่แล้วตอนนี้
7 วันที่แล้วตอนนี้

ราคา

Input / 1M token
1.306 ฿
Output / 1M token
4.897 ฿
ต่อคำขอ
0.00326 ฿
ค่าใช้จ่ายขั้นต่ำ / คำขอ
0.00326 ฿
Prompt Cache
Cache read / 1M token
0.18 ฿
Cache write / 1M token
0.18 ฿

Prompt ที่ซ้ำกันถูกแคชไว้ — การอ่านราคาถูกกว่า input มาก ใช้โดยอัตโนมัติผ่าน API

ประวัติราคา

ระดับราคาที่เคยใช้ แถวที่ระบุ "ปัจจุบัน" คือราคาจริง

ปัจจุบัน ตั้งแต่ 13/08/2026 - 23:25:12
Input / 1M token1.306 ฿ Output / 1M token4.897 ฿ ต่อคำขอ0.00326 ฿ ค่าใช้จ่ายขั้นต่ำ / คำขอ0.00326 ฿ Cache read / 1M token0.18 ฿ Cache write / 1M token0.18 ฿
ตัวประมาณค่าใช้จ่าย
ยอดรวมโดยประมาณ 0 ฿
เฉลี่ย / คำขอ 0 ฿

ประมาณการจากราคาที่แสดงไว้ การใช้ cache มักจะทำให้ถูกกว่า

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)
ประเภท 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": "สวัสดี คุณคือใคร?"
        }
    ]
}'
// 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": "สวัสดี คุณคือใคร?"
        }
    ]
})
});
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": "สวัสดี คุณคือใคร?"
        }
    ]
}

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": "สวัสดี คุณคือใคร?"
        }
    ]
}

ลองใช้

ส่ง prompt ด้วยคีย์ API ของคุณ — ใช้เครดิตจริง สตรีมกลับทันที

รีวิวและความคิดเห็น
0.0 / 0 รีวิว
กำลังโหลดรีวิว...
ติดต่อฝ่ายสนับสนุน
เราพร้อมช่วยเหลือคุณเสมอ