อื่น ๆ
อื่น ๆ ข้อความ

tuanxedich28/gemma4-31b

Model ID: tuanxedich28/gemma4-31b
ตระกูล
อื่น ๆ
บริบท
ไม่ระบุ
ค่าใช้จ่ายขั้นต่ำ / คำขอ
0.0653 ฿
คำขอ
0
สำเร็จ
โทเค็น
0
เวลาใช้งาน
24 ชม. ที่แล้วตอนนี้
7 วันที่แล้วตอนนี้

ราคา

ต่อคำขอ
0.0653 ฿
ค่าใช้จ่ายขั้นต่ำ / คำขอ
0.0653 ฿
ประวัติราคา

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

ปัจจุบัน ตั้งแต่ 12/08/2026 - 09:57:14
ต่อคำขอ0.0653 ฿ ค่าใช้จ่ายขั้นต่ำ / คำขอ0.0653 ฿
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/tuanxedich28/gemma4-31b:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
เมธอด POST · application/json
การยืนยันตัวตน Bearer token (คีย์ API)
ขีดจำกัดอัตรา 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": "tuanxedich28/gemma4-31b",
    "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": "tuanxedich28/gemma4-31b",
    "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": "tuanxedich28/gemma4-31b",
    "messages": [
        {
            "role": "user",
            "content": "สวัสดี คุณคือใคร?"
        }
    ]
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "tuanxedich28/gemma4-31b",
    "messages": [
        {
            "role": "user",
            "content": "สวัสดี คุณคือใคร?"
        }
    ]
}

ลองใช้

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

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