{
  "aboutHtml": "<p>Tencent Hy4 preview คือรุ่นพรีวิว ที่ระบุชื่อชัดเจนและเลือกด้วย tencent/hy4-preview รับข้อความและสร้างข้อความผ่าน Chat Completions โดยมีความยาวบริบทเผยแพร่ 1,048,576 โทเคน เตรียมเนื้อหายาวพร้อมป้ายเอกสารคงที่ ขอบเขตส่วน และคำถามที่แม่นยำ เพื่อให้คำขออธิบายทั้งหลักฐานที่จะใช้และผลลัพธ์ที่แอปพลิเคชันต้องการ</p><p>ส่ง POST /v1/chat/completions โดยตั้ง model เป็น tencent/hy4-preview และส่งอาร์เรย์ messages ที่ไม่ว่าง ป้อนข้อความจริงใน content ของข้อความ คำขอสังเคราะห์เอกสารอาจมีรายงานติดป้ายและขอข้อค้นพบร่วม จุดที่ไม่ตรงกัน และข้อความสนับสนุน คำขอดึงข้อมูลอาจระบุชื่อฟิลด์และกำหนดวิธีแสดงข้อมูลที่ขาด การอภิปรายโค้ดอาจใส่ไฟล์หรือข้อความตัดตอนที่เกี่ยวข้องเป็นข้อความ และขอคำอธิบายเฉพาะเรื่องหรือข้อเสนอการแก้ไข</p><p>จัดสรรคำสั่ง เอกสาร ประวัติการสนทนา และคำตอบที่ร้องขอให้อยู่ภายในบริบทที่ระบุ เก็บป้ายต้นฉบับข้างข้อความที่ป้ายนั้นระบุ และบอกว่าเอกสารใดเป็นหลักเมื่อข้อมูลขัดกัน สำหรับการเปรียบเทียบขนาดใหญ่ ให้กำหนดเกณฑ์ก่อนเนื้อหาต้นฉบับและร้องขอผลลัพธ์ที่จัดตามเกณฑ์เหล่านั้น วิธีนี้ให้เอาต์พุตเฉพาะที่แอปพลิเคชันตรวจเทียบกับอินพุตได้ แทนการอาศัยคำสั่งกว้าง ๆ ให้สรุปทุกอย่าง</p><p>ชุดพารามิเตอร์ที่เผยแพร่มี reasoning, reasoning_effort และ include_reasoning พร้อม temperature, stop, max_tokens และ max_completion_tokens สำหรับรูปแบบการตอบกลับที่กำหนดไว้ ให้ใช้ response_format กับสคีมาที่แอปพลิเคชันคาดหวัง โปรไฟล์ระบุการรองรับเอาต์พุตมีโครงสร้าง สำหรับการโต้ตอบเครื่องมือฟังก์ชันมี tools และ tool_choice ป้อนสคีมาหรือนิยามฟังก์ชันที่แอปพลิเคชันของคุณใช้ เก็บค่าพารามิเตอร์ที่เลือกไว้พร้อมคำขอ และตรวจฟิลด์หรืออาร์กิวเมนต์เครื่องมือจริงที่ส่งกลับมาก่อนดำเนินต่อ</p><p>ตัวควบคุม stream ที่เลือกใส่ได้รองรับการส่ง JSON ที่ประกอบแล้วหรือคำตอบแบบสตรีม สำหรับ JSON ให้เก็บ ตัวเลือกคำตอบ เนื้อหาข้อความ การเรียกเครื่องมือ ฟิลด์ reasoning และฟิลด์ usage ทุกตัวที่ส่งกลับมา สำหรับสตรีม ให้รวม ข้อมูลส่วนเพิ่ม ตามดัชนี ตัวเลือกคำตอบ และ การเรียกเครื่องมือ และเก็บข้อมูลการจบขั้นสุดท้าย เมื่อได้รับ การเรียกเครื่องมือ ให้เก็บตัวระบุและอาร์กิวเมนต์จริง เพื่อให้แอปพลิเคชันเชื่อมข้อความผลลัพธ์เครื่องมือกับ การเรียกนั้นได้ เก็บข้อมูลระบุตัวตนของคำขอเดิมและการตอบกลับทั้งหมดเมื่อจำเป็นต้องตรวจการสนทนาหลังถูกขัดจังหวะ</p>",
  "aboutText": "Tencent Hy4 preview คือรุ่นพรีวิว ที่ระบุชื่อชัดเจนและเลือกด้วย tencent/hy4-preview รับข้อความและสร้างข้อความผ่าน Chat Completions โดยมีความยาวบริบทเผยแพร่ 1,048,576 โทเคน เตรียมเนื้อหายาวพร้อมป้ายเอกสารคงที่ ขอบเขตส่วน และคำถามที่แม่นยำ เพื่อให้คำขออธิบายทั้งหลักฐานที่จะใช้และผลลัพธ์ที่แอปพลิเคชันต้องการ\n\nส่ง POST /v1/chat/completions โดยตั้ง model เป็น tencent/hy4-preview และส่งอาร์เรย์ messages ที่ไม่ว่าง ป้อนข้อความจริงใน content ของข้อความ คำขอสังเคราะห์เอกสารอาจมีรายงานติดป้ายและขอข้อค้นพบร่วม จุดที่ไม่ตรงกัน และข้อความสนับสนุน คำขอดึงข้อมูลอาจระบุชื่อฟิลด์และกำหนดวิธีแสดงข้อมูลที่ขาด การอภิปรายโค้ดอาจใส่ไฟล์หรือข้อความตัดตอนที่เกี่ยวข้องเป็นข้อความ และขอคำอธิบายเฉพาะเรื่องหรือข้อเสนอการแก้ไข\n\nจัดสรรคำสั่ง เอกสาร ประวัติการสนทนา และคำตอบที่ร้องขอให้อยู่ภายในบริบทที่ระบุ เก็บป้ายต้นฉบับข้างข้อความที่ป้ายนั้นระบุ และบอกว่าเอกสารใดเป็นหลักเมื่อข้อมูลขัดกัน สำหรับการเปรียบเทียบขนาดใหญ่ ให้กำหนดเกณฑ์ก่อนเนื้อหาต้นฉบับและร้องขอผลลัพธ์ที่จัดตามเกณฑ์เหล่านั้น วิธีนี้ให้เอาต์พุตเฉพาะที่แอปพลิเคชันตรวจเทียบกับอินพุตได้ แทนการอาศัยคำสั่งกว้าง ๆ ให้สรุปทุกอย่าง\n\nชุดพารามิเตอร์ที่เผยแพร่มี reasoning, reasoning_effort และ include_reasoning พร้อม temperature, stop, max_tokens และ max_completion_tokens สำหรับรูปแบบการตอบกลับที่กำหนดไว้ ให้ใช้ response_format กับสคีมาที่แอปพลิเคชันคาดหวัง โปรไฟล์ระบุการรองรับเอาต์พุตมีโครงสร้าง สำหรับการโต้ตอบเครื่องมือฟังก์ชันมี tools และ tool_choice ป้อนสคีมาหรือนิยามฟังก์ชันที่แอปพลิเคชันของคุณใช้ เก็บค่าพารามิเตอร์ที่เลือกไว้พร้อมคำขอ และตรวจฟิลด์หรืออาร์กิวเมนต์เครื่องมือจริงที่ส่งกลับมาก่อนดำเนินต่อ\n\nตัวควบคุม stream ที่เลือกใส่ได้รองรับการส่ง JSON ที่ประกอบแล้วหรือคำตอบแบบสตรีม สำหรับ JSON ให้เก็บ ตัวเลือกคำตอบ เนื้อหาข้อความ การเรียกเครื่องมือ ฟิลด์ reasoning และฟิลด์ usage ทุกตัวที่ส่งกลับมา สำหรับสตรีม ให้รวม ข้อมูลส่วนเพิ่ม ตามดัชนี ตัวเลือกคำตอบ และ การเรียกเครื่องมือ และเก็บข้อมูลการจบขั้นสุดท้าย เมื่อได้รับ การเรียกเครื่องมือ ให้เก็บตัวระบุและอาร์กิวเมนต์จริง เพื่อให้แอปพลิเคชันเชื่อมข้อความผลลัพธ์เครื่องมือกับ การเรียกนั้นได้ เก็บข้อมูลระบุตัวตนของคำขอเดิมและการตอบกลับทั้งหมดเมื่อจำเป็นต้องตรวจการสนทนาหลังถูกขัดจังหวะ",
  "editorialOverlay": {
    "copy_fields": null,
    "copy_sha256": null,
    "copy_source": null,
    "html_sha256": "81f4925b9a007ee4db12560bfc18abc1671162a31b024e1b1762fde682ede25e",
    "module_sha256": "ee9dc1c50b1e6a8fb7fa062030fcb4646b9aaaeb08be513b723a5a92a7290f06",
    "raw_model_unchanged": true,
    "schema": "ailoot-native-model-editorial-v1"
  },
  "locale": "th",
  "methods": [
    {
      "html": "<div class=\"sheet-head\"><span class=\"mav\" aria-hidden=\"true\">•</span><h2 id=\"sheet-title\">Tencent: Hy4 preview</h2><button class=\"icon-btn\" type=\"button\" data-close-sheet aria-label=\"ปิด\">×</button></div><div class=\"idline\"><span>Tencent /</span><code>tencent/hy4-preview</code><button type=\"button\" id=\"copy-id\">คัดลอก ID</button></div><nav class=\"card-jump-nav\" aria-label=\"ส่วนต่าง ๆ ของการ์ดโมเดล\"><button type=\"button\" data-card-jump=\"overview\">เริ่มต้น</button><button type=\"button\" data-card-jump=\"methods\">อินพุตและเมธอด</button><button type=\"button\" data-card-jump=\"pricing\">ราคา</button><button type=\"button\" data-card-jump=\"examples\">ตัวอย่าง</button><button type=\"button\" data-card-jump=\"results\">ผลลัพธ์</button><button type=\"button\" data-card-jump=\"aliases\">ชื่ออื่น</button></nav><div class=\"card-method-tabs\" role=\"tablist\" aria-label=\"เมธอด API\"><button type=\"button\" role=\"tab\" tabindex=\"0\" aria-controls=\"card-method-content\" aria-selected=\"true\" id=\"card-method-tab-0\" data-card-method=\"Ultra|chat|/v1/chat/completions|tencent%2Fhy4-preview\">Chat</button></div><div id=\"card-method-content\" role=\"tabpanel\" aria-labelledby=\"card-method-tab-0\"><section class=\"card-section\" data-card-section=\"overview\"><h3 tabindex=\"-1\">เริ่มต้น</h3><p class=\"mdesc-full\">Tencent Hy4 preview เป็นโมเดลข้อความที่มีบริบทเผยแพร่ขนาด 1,048,576 โทเคน เลือก tencent/hy4-preview ผ่าน Chat Completions สำหรับงานกับข้อความที่ป้อนให้ รวมถึงการสังเคราะห์เอกสาร การดึงข้อมูลมีโครงสร้าง และการอภิปรายโค้ด ตัวควบคุมที่ระบุครอบคลุมการให้เหตุผล การตอบกลับมีโครงสร้าง และกระบวนการเครื่องมือฟังก์ชัน พร้อมการส่งคำตอบ JSON ครบถ้วนหรือแบบสตรีม</p><dl class=\"card-io\" data-card-io><div><dt>อินพุตที่รองรับ</dt><dd>ข้อความ</dd></div><div><dt>ผลลัพธ์</dt><dd>ข้อความ</dd></div></dl><details class=\"card-about\"><summary>เกี่ยวกับโมเดล</summary><p class=\"note-s\" data-model-method-boundary>คำอธิบายนี้ครอบคลุมความสามารถของโมเดล อินพุต เอาต์พุต และตัวเลือกที่ใช้ได้ใน Ailoot แสดงด้านล่างตามเมธอดที่เลือก</p><div class=\"mabout\" id=\"m-about\"><p>Tencent Hy4 preview คือรุ่นพรีวิว ที่ระบุชื่อชัดเจนและเลือกด้วย tencent/hy4-preview รับข้อความและสร้างข้อความผ่าน Chat Completions โดยมีความยาวบริบทเผยแพร่ 1,048,576 โทเคน เตรียมเนื้อหายาวพร้อมป้ายเอกสารคงที่ ขอบเขตส่วน และคำถามที่แม่นยำ เพื่อให้คำขออธิบายทั้งหลักฐานที่จะใช้และผลลัพธ์ที่แอปพลิเคชันต้องการ</p><p>ส่ง POST /v1/chat/completions โดยตั้ง model เป็น tencent/hy4-preview และส่งอาร์เรย์ messages ที่ไม่ว่าง ป้อนข้อความจริงใน content ของข้อความ คำขอสังเคราะห์เอกสารอาจมีรายงานติดป้ายและขอข้อค้นพบร่วม จุดที่ไม่ตรงกัน และข้อความสนับสนุน คำขอดึงข้อมูลอาจระบุชื่อฟิลด์และกำหนดวิธีแสดงข้อมูลที่ขาด การอภิปรายโค้ดอาจใส่ไฟล์หรือข้อความตัดตอนที่เกี่ยวข้องเป็นข้อความ และขอคำอธิบายเฉพาะเรื่องหรือข้อเสนอการแก้ไข</p><p>จัดสรรคำสั่ง เอกสาร ประวัติการสนทนา และคำตอบที่ร้องขอให้อยู่ภายในบริบทที่ระบุ เก็บป้ายต้นฉบับข้างข้อความที่ป้ายนั้นระบุ และบอกว่าเอกสารใดเป็นหลักเมื่อข้อมูลขัดกัน สำหรับการเปรียบเทียบขนาดใหญ่ ให้กำหนดเกณฑ์ก่อนเนื้อหาต้นฉบับและร้องขอผลลัพธ์ที่จัดตามเกณฑ์เหล่านั้น วิธีนี้ให้เอาต์พุตเฉพาะที่แอปพลิเคชันตรวจเทียบกับอินพุตได้ แทนการอาศัยคำสั่งกว้าง ๆ ให้สรุปทุกอย่าง</p><p>ชุดพารามิเตอร์ที่เผยแพร่มี reasoning, reasoning_effort และ include_reasoning พร้อม temperature, stop, max_tokens และ max_completion_tokens สำหรับรูปแบบการตอบกลับที่กำหนดไว้ ให้ใช้ response_format กับสคีมาที่แอปพลิเคชันคาดหวัง โปรไฟล์ระบุการรองรับเอาต์พุตมีโครงสร้าง สำหรับการโต้ตอบเครื่องมือฟังก์ชันมี tools และ tool_choice ป้อนสคีมาหรือนิยามฟังก์ชันที่แอปพลิเคชันของคุณใช้ เก็บค่าพารามิเตอร์ที่เลือกไว้พร้อมคำขอ และตรวจฟิลด์หรืออาร์กิวเมนต์เครื่องมือจริงที่ส่งกลับมาก่อนดำเนินต่อ</p><p>ตัวควบคุม stream ที่เลือกใส่ได้รองรับการส่ง JSON ที่ประกอบแล้วหรือคำตอบแบบสตรีม สำหรับ JSON ให้เก็บ ตัวเลือกคำตอบ เนื้อหาข้อความ การเรียกเครื่องมือ ฟิลด์ reasoning และฟิลด์ usage ทุกตัวที่ส่งกลับมา สำหรับสตรีม ให้รวม ข้อมูลส่วนเพิ่ม ตามดัชนี ตัวเลือกคำตอบ และ การเรียกเครื่องมือ และเก็บข้อมูลการจบขั้นสุดท้าย เมื่อได้รับ การเรียกเครื่องมือ ให้เก็บตัวระบุและอาร์กิวเมนต์จริง เพื่อให้แอปพลิเคชันเชื่อมข้อความผลลัพธ์เครื่องมือกับ การเรียกนั้นได้ เก็บข้อมูลระบุตัวตนของคำขอเดิมและการตอบกลับทั้งหมดเมื่อจำเป็นต้องตรวจการสนทนาหลังถูกขัดจังหวะ</p></div></details></section><section class=\"card-section\" data-card-section=\"methods\"><h3 tabindex=\"-1\">ใช้งานได้ใน Ailoot · อินพุตและเมธอด</h3><details class=\"card-method\" open><summary><b>Ailoot Ultra · Chat Completions</b> <code>POST /v1/chat/completions</code></summary><dl class=\"method-capabilities\"><div><dt>ขาเข้า</dt><dd><code>text</code></dd></div><div><dt>ขาออก</dt><dd><code>text</code></dd></div><div><dt>บริบท</dt><dd>1,048,576 tokens</dd></div><div><dt>รูปแบบเอาต์พุต</dt><dd>JSON or supported SSE</dd></div></dl><div class=\"tw\" data-card-parameters data-typed-parameters><table><thead><tr><th>ฟิลด์</th><th>ประเภท</th><th>ข้อกำหนด</th><th>ค่าและข้อจำกัด</th><th>ค่าเริ่มต้น</th></tr></thead><tbody><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">model</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>tencent/hy4-preview</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">messages</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>array</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">stream</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>boolean</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"known\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>false</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">max_tokens</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>integer</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>ขั้นต่ำ: 1</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">max_completion_tokens</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>integer</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>ขั้นต่ำ: 1</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">n</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>integer</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>ขั้นต่ำ: 1</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">temperature</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>number</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">top_p</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>number</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">seed</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>integer</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">stop</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code></code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">frequency_penalty</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>number</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">presence_penalty</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>number</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">user</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr></tbody></table></div><details class=\"note-s\" data-method-contract><summary>พารามิเตอร์และวงจรการทำงานของเมธอด</summary><div class=\"tw\" data-card-table=\"contract\"><table><thead><tr><th>พารามิเตอร์</th><th>ข้อกำหนด</th></tr></thead><tbody><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>content_type</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>application/json</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>required</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>model, messages</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>optional</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>stream, max_tokens, max_completion_tokens, n, temperature, top_p, seed, stop, frequency_penalty, presence_penalty, user</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>material_types</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>text</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>conditions</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span></td></tr></tbody></table></div><p>วงจรการทำงาน: <code>synchronous_json_or_sse</code></p></details></details></section><section class=\"card-section\" data-card-section=\"pricing\"><h3 tabindex=\"-1\">ราคา</h3><div data-native-semantic-method=\"v1\" data-tariff-reference-only><p class=\"note-s\" data-rate-support-note>ข้อมูลอัตราราคาไม่ได้เพิ่มตัวเลือกคำขอ พารามิเตอร์ที่รองรับระบุไว้สำหรับเมธอดที่เลือก</p><dl data-price-conditions><dt>โหมดรวดเร็ว</dt><dd>ไม่ได้ระบุ <span class=\"note-s\">เมื่อเลือกโหมดรวดเร็ว</span></dd><dt>โหมดยืดหยุ่น</dt><dd>ไม่ได้ระบุ <span class=\"note-s\">เมื่อเลือกโหมด flex</span></dd><dt>Time schedule</dt><dd>{&quot;periods&quot;:[{&quot;end_time&quot;:&quot;00:00&quot;,&quot;multiplier&quot;:&quot;0.9&quot;,&quot;start_time&quot;:&quot;16:00&quot;}],&quot;timezone&quot;:&quot;UTC&quot;,&quot;weekdays_only&quot;:false} <span class=\"note-s\">At the request pricing time</span></dd></dl></div><div data-declared-tariff-pricing><h4>อัตราค่าบริการ Ailoot</h4><h4>ราคาตามการตั้งค่า</h4><div class=\"tw\" data-pricing-profiles><table><thead><tr><th>การตั้งค่า</th><th>ตารางอัตราค่าบริการ</th><th>ค่าบริการ</th></tr></thead><tbody><tr><th data-cell-label=\"การตั้งค่า\" scope=\"row\"><span class=\"card-cell-label\">การตั้งค่า</span>อัตราค่าบริการโทเคนพื้นฐาน</th><td data-cell-label=\"ตารางอัตราค่าบริการ\"><span class=\"card-cell-label\">ตารางอัตราค่าบริการ</span>อัตราพื้นฐาน</td><td data-cell-label=\"ค่าบริการ\"><span class=\"card-cell-label\">ค่าบริการ</span><div><span>ขาเข้า · โทเค็นอินพุต</span> <b>$0.001668</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาออก · โทเค็นเอาต์พุต</span> <b>$0.005002</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การอ่านแคช</span> <b>$0.000084</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การเขียนแคช</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การเขียนแคช, 1 ชั่วโมง</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div></td></tr></tbody></table></div></div><p class=\"note-s\">Ailoot กันยอดเงินประมาณการไว้ก่อนส่งคำขอ หลังได้ผลลัพธ์ จะคิดค่าบริการสุดท้ายตามการใช้งานที่วัดได้ การคิดค่าบริการแบบสตรีมใช้บันทึกการใช้งานสุดท้าย <a href=\"/docs/th/billing/reserve/\">วิธีกันยอดเงินและคิดค่าบริการสุดท้าย →</a></p></section><section class=\"card-section\" data-card-section=\"examples\"><h3 tabindex=\"-1\">ตัวอย่างคำขอ</h3><h4>Ailoot Ultra · Chat Completions</h4><div class=\"code-group\"><div class=\"cg-bar\"><div class=\"cg-tabs\" role=\"tablist\" aria-label=\"ตัวเลือกโค้ด\"><button class=\"cg-tab\" id=\"model-code-42-tab-0\" role=\"tab\" type=\"button\" aria-controls=\"model-code-42-panel-0\" aria-selected=\"true\" tabindex=\"0\">curl · สร้างครั้งเดียวและเก็บผลลัพธ์ไว้ให้ครบถ้วน</button></div><div class=\"cg-tools\"><button class=\"cg-btn cg-copy\" type=\"button\" aria-label=\"คัดลอกโค้ด\"><svg class=\"cp\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\"><rect x=\"5.25\" y=\"5.25\" width=\"8.5\" height=\"8.5\" rx=\"1.75\"/><path d=\"M10.75 5.25V3.5a1.25 1.25 0 0 0-1.25-1.25H3.5A1.25 1.25 0 0 0 2.25 3.5v6a1.25 1.25 0 0 0 1.25 1.25h1.75\"/></svg><svg class=\"ok\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\"><path d=\"m3 8.5 3.25 3.25L13 5\"/></svg></button></div></div><div class=\"cg-body\"><div class=\"cg-pane\" id=\"model-code-42-panel-0\" role=\"tabpanel\" aria-labelledby=\"model-code-42-tab-0\"><pre data-lang=\"bash\"><code>set -eu\n: &quot;${AILOOT_API_KEY:?Set your Ailoot API key}&quot;\nexport AILOOT_API_KEY\npython3 - &lt;&lt;&#39;PY_REQUEST&#39;\nimport json,os\nfrom pathlib import Path\np=json.loads(&#39;{&quot;model&quot;: &quot;tencent/hy4-preview&quot;, &quot;messages&quot;: [{&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Summarize the supplied text in three concise points.&quot;}], &quot;stream&quot;: false}&#39;)\n\nPath(&quot;request.json&quot;).write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/chat/completions \\\n  -H &quot;Authorization: Bearer $AILOOT_API_KEY&quot; -H &#39;Content-Type: application/json&#39; \\\n  --data-binary @request.json -D response-headers.txt -o result.json\n# Submit once. Retain the complete result, original identifiers and every response header.\n</code></pre></div></div></div></section><section class=\"card-section\" data-card-section=\"results\"><h3 tabindex=\"-1\">รับและบันทึกผลลัพธ์</h3><h4>Ailoot Ultra · Chat Completions</h4><p class=\"note-s\">JSON or supported SSE</p><div class=\"card-result-process\" data-all-results><h5>เก็บผลลัพธ์ที่เสร็จสมบูรณ์ทั้งหมด</h5><p class=\"note-s\">เก็บทุกการตอบกลับ ไฟล์ และส่วนเนื้อหาที่ส่งกลับมาอย่างครบถ้วน</p><p class=\"note-s\">Retain the complete response, all actual results, original identifiers, usage and response headers.</p></div><div class=\"card-result-process\" data-unknown-recovery><h5>เมื่อต้องตรวจสอบการตอบกลับต้นฉบับ</h5><p class=\"note-s\">Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.</p></div></section><section class=\"card-section\" data-card-section=\"aliases\"><h3 tabindex=\"-1\">ชื่ออื่น</h3><h4>ชื่ออื่นของโมเดล</h4><p class=\"note-s\"><span data-model-alias-route=\"Ultra\"><b>Ailoot Ultra</b> <a href=\"#m=tencent%2Fhy4-preview&amp;route=Ultra&amp;caller=tencent%2Fhy4-preview&amp;fmt=chat\"><code>tencent/hy4-preview</code></a></span></p><h4>ชื่อพาธเมธอดอื่น</h4><p class=\"note-s\">ใช้พาธเมธอดที่แสดงด้านบน</p><h4>ID ที่เกี่ยวข้องสำหรับเรียกใช้โมเดล</h4><p class=\"note-s\"><a href=\"#m=tencent%2Fhy4-preview&amp;route=Ultra&amp;caller=tencent%2Fhy4-preview&amp;fmt=chat\"><code>tencent/hy4-preview</code></a></p></section></div>",
      "method_identity": {
        "effective_request_model_id": "tencent/hy4-preview",
        "fmt": "chat",
        "http": "POST",
        "path": "/v1/chat/completions",
        "request_model_id": "tencent/hy4-preview",
        "route_label": "Ultra"
      },
      "method_key": "Ultra|chat|/v1/chat/completions|tencent%2Fhy4-preview",
      "ordinal": 0,
      "rawMethod": {
        "available": null,
        "cache_read": "0.084",
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Retain the complete response, all actual results, original identifiers, usage and response headers.",
            "authentication": {
              "api_key_source": "AILOOT_API_KEY",
              "header": "Authorization: Bearer"
            },
            "example_body": {
              "messages": [
                {
                  "content": "Summarize the supplied text in three concise points.",
                  "role": "user"
                }
              ],
              "model": "tencent/hy4-preview",
              "stream": false
            },
            "lifecycle": {
              "cancel_endpoint": null,
              "create": {
                "http": "POST",
                "path": "/v1/chat/completions"
              },
              "mode": "synchronous_json_or_sse",
              "status": [],
              "unknown": "Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.",
              "unknown_no_replay": true
            },
            "outputs": {
              "all_results": "Retain the complete response, all actual results, original identifiers, usage and response headers.",
              "family": "text",
              "format": "JSON or supported SSE"
            },
            "parameters": [
              {
                "default_known": false,
                "enum": [
                  "tencent/hy4-preview"
                ],
                "enum_known": true,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum_known": false,
                "items": {
                  "additionalProperties": true,
                  "properties": {
                    "content": {
                      "type": "string"
                    },
                    "role": {
                      "enum": [
                        "user",
                        "assistant",
                        "system",
                        "developer"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "role",
                    "content"
                  ],
                  "type": "object"
                },
                "minItems": 1,
                "name": "messages",
                "required": true,
                "type": "array"
              },
              {
                "default": false,
                "default_known": true,
                "enum_known": false,
                "name": "stream",
                "required": false,
                "type": "boolean"
              },
              {
                "default_known": false,
                "enum_known": false,
                "minimum": 1,
                "name": "max_tokens",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "minimum": 1,
                "name": "max_completion_tokens",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "minimum": 1,
                "name": "n",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "temperature",
                "required": false,
                "type": "number"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "top_p",
                "required": false,
                "type": "number"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "seed",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "stop",
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                ],
                "required": false
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "frequency_penalty",
                "required": false,
                "type": "number"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "presence_penalty",
                "required": false,
                "type": "number"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "user",
                "required": false,
                "type": "string"
              }
            ],
            "request_schema": {
              "additionalProperties": true,
              "properties": {
                "frequency_penalty": {
                  "type": "number"
                },
                "max_completion_tokens": {
                  "minimum": 1,
                  "type": "integer"
                },
                "max_tokens": {
                  "minimum": 1,
                  "type": "integer"
                },
                "messages": {
                  "items": {
                    "additionalProperties": true,
                    "properties": {
                      "content": {
                        "type": "string"
                      },
                      "role": {
                        "enum": [
                          "user",
                          "assistant",
                          "system",
                          "developer"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "role",
                      "content"
                    ],
                    "type": "object"
                  },
                  "minItems": 1,
                  "type": "array"
                },
                "model": {
                  "enum": [
                    "tencent/hy4-preview"
                  ],
                  "type": "string"
                },
                "n": {
                  "minimum": 1,
                  "type": "integer"
                },
                "presence_penalty": {
                  "type": "number"
                },
                "seed": {
                  "type": "integer"
                },
                "stop": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                },
                "stream": {
                  "default": false,
                  "type": "boolean"
                },
                "temperature": {
                  "type": "number"
                },
                "top_p": {
                  "type": "number"
                },
                "user": {
                  "type": "string"
                }
              },
              "required": [
                "model",
                "messages"
              ],
              "type": "object"
            },
            "schema_template": {
              "body": {
                "messages": [
                  {
                    "content": "Summarize the supplied text in three concise points.",
                    "role": "user"
                  }
                ],
                "model": "tencent/hy4-preview",
                "stream": false
              },
              "content_type": "application/json"
            }
          },
          "input": {
            "conditions": [],
            "content_type": "application/json",
            "material_types": [
              "text"
            ],
            "optional": [
              "stream",
              "max_tokens",
              "max_completion_tokens",
              "n",
              "temperature",
              "top_p",
              "seed",
              "stop",
              "frequency_penalty",
              "presence_penalty",
              "user"
            ],
            "required": [
              "model",
              "messages"
            ]
          },
          "lifecycle": {
            "cancel_endpoint": null,
            "create": {
              "http": "POST",
              "path": "/v1/chat/completions"
            },
            "mode": "synchronous_json_or_sse",
            "status": [],
            "unknown": "Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.",
            "unknown_no_replay": true
          },
          "method": {
            "http": "POST",
            "path": "/v1/chat/completions"
          },
          "method_aliases": [],
          "output": {
            "all_results": "Retain the complete response, all actual results, original identifiers, usage and response headers.",
            "family": "text",
            "format": "JSON or supported SSE"
          }
        },
        "ctx": 1048576,
        "declared_pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": "0.001668000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.000001668",
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": "0.005002000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": "0.000005002",
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": "0.000084000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": "0.000000084",
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          }
        ],
        "examples": [
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\nexport AILOOT_API_KEY\npython3 - <<'PY_REQUEST'\nimport json,os\nfrom pathlib import Path\np=json.loads('{\"model\": \"tencent/hy4-preview\", \"messages\": [{\"role\": \"user\", \"content\": \"Summarize the supplied text in three concise points.\"}], \"stream\": false}')\n\nPath(\"request.json\").write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/chat/completions \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -H 'Content-Type: application/json' \\\n  --data-binary @request.json -D response-headers.txt -o result.json\n# Submit once. Retain the complete result, original identifiers and every response header.\n",
            "label": "curl · create once and retain the complete result",
            "language": "bash"
          }
        ],
        "family": "openai",
        "fast_multiplier": null,
        "flex_multiplier": null,
        "fmt": "chat",
        "http": "POST",
        "img_in": null,
        "img_out": null,
        "in": "1.668",
        "input": [
          "text"
        ],
        "label": "Chat Completions",
        "max_out": null,
        "method_aliases": [],
        "out": "5.002",
        "output": [
          "text"
        ],
        "path": "/v1/chat/completions",
        "price_conditions": [
          {
            "label": "Fast mode",
            "value": "Not specified",
            "when": "When fast mode is selected"
          },
          {
            "label": "Flex mode",
            "value": "Not specified",
            "when": "When flex mode is selected"
          },
          {
            "label": "Time schedule",
            "value": "{\"periods\":[{\"end_time\":\"00:00\",\"multiplier\":\"0.9\",\"start_time\":\"16:00\"}],\"timezone\":\"UTC\",\"weekdays_only\":false}",
            "when": "At the request pricing time"
          }
        ],
        "pricing": {
          "billing_mode": "token",
          "cache_read_price": "0.000000084",
          "cache_write_1h_price": null,
          "cache_write_price": null,
          "fast_multiplier": null,
          "flex_multiplier": null,
          "image_input_price": null,
          "image_output_price": null,
          "input_price": "0.000001668",
          "intervals": [],
          "output_price": "0.000005002",
          "per_request_price": null,
          "reasoning_effort_multipliers": {},
          "time_pricing": {
            "periods": [
              {
                "end_time": "00:00",
                "multiplier": "0.9",
                "start_time": "16:00"
              }
            ],
            "timezone": "UTC",
            "weekdays_only": false
          }
        },
        "pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": "0.001668000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.000001668",
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": "0.005002000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": "0.000005002",
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": "0.000084000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": "0.000000084",
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          }
        ],
        "reasoning_effort_multipliers": {},
        "request_model_id": "tencent/hy4-preview",
        "route_label": "Ultra",
        "status_reads": [],
        "tiers": [],
        "unit": "token",
        "units": [
          {
            "amount": "0.001668000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.000001668",
            "native_quantity": 1,
            "native_unit": "input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "input_token"
          },
          {
            "amount": "0.005002000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "output_price",
            "label": "Output tokens",
            "native_amount_usd_per_unit": "0.000005002",
            "native_quantity": 1,
            "native_unit": "output_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "out",
            "unit": "output_token"
          },
          {
            "amount": "0.000084000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_read_price",
            "label": "Cache read",
            "native_amount_usd_per_unit": "0.000000084",
            "native_quantity": 1,
            "native_unit": "cached_input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "cached_input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_price",
            "label": "Cache write",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "generic_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "generic_cache_creation_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_1h_price",
            "label": "Cache write, 1 hour",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "one_hour_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "one_hour_cache_creation_token"
          }
        ]
      }
    }
  ],
  "model_id": "tencent/hy4-preview",
  "nativeProvenance": {
    "input_facts_canonical_sha256": "206c671f72feac66369516e774043d46483d5bd11c15db9671ba79a6a53a10ad",
    "input_html_sha256": "06e4d757000fde42720edb0cff88a5ba3b5254f0290cc22b8675f23dd9f2f63e",
    "private_audit_sha256": "6d3d43992d07ac74a754f396d4254d8b3986fc12e1ef81fd4d5cd33d5bb7e0b0",
    "role": "historical-normalized-input-audit-hashes",
    "schema": "ailoot-native-model-provenance-v2"
  },
  "page": {
    "canonical": "https://ailoot.ai/models/th/tencent-hy4-preview/",
    "description": "Tencent Hy4 preview เป็นโมเดลข้อความที่มีบริบทเผยแพร่ขนาด 1,048,576 โทเคน เลือก tencent/hy4-preview ผ่าน Chat Completions สำหรับงานกับข้อความที่ป้อนให้ รวมถึงการสังเคราะห์เอกสาร การดึงข้อมูลมีโครงสร้าง และการอภิปรายโค้ด ตัวควบคุมที่ระบุครอบคลุมการให้เหตุผล การตอบกลับมีโครงสร้าง และกระบวนการเครื่องมือฟังก์ชัน พร้อมการส่งคำตอบ JSON ครบถ้วนหรือแบบสตรีม",
    "locale": "th",
    "md_url": "https://ailoot.ai/models/th/tencent-hy4-preview/index.md",
    "title": "Tencent: Hy4 preview — Ailoot",
    "url": "https://ailoot.ai/models/th/tencent-hy4-preview/"
  },
  "rawModel": {
    "about": "Tencent Hy4 preview คือรุ่นพรีวิว ที่ระบุชื่อชัดเจนและเลือกด้วย tencent/hy4-preview รับข้อความและสร้างข้อความผ่าน Chat Completions โดยมีความยาวบริบทเผยแพร่ 1,048,576 โทเคน เตรียมเนื้อหายาวพร้อมป้ายเอกสารคงที่ ขอบเขตส่วน และคำถามที่แม่นยำ เพื่อให้คำขออธิบายทั้งหลักฐานที่จะใช้และผลลัพธ์ที่แอปพลิเคชันต้องการ\n\nส่ง POST /v1/chat/completions โดยตั้ง model เป็น tencent/hy4-preview และส่งอาร์เรย์ messages ที่ไม่ว่าง ป้อนข้อความจริงใน content ของข้อความ คำขอสังเคราะห์เอกสารอาจมีรายงานติดป้ายและขอข้อค้นพบร่วม จุดที่ไม่ตรงกัน และข้อความสนับสนุน คำขอดึงข้อมูลอาจระบุชื่อฟิลด์และกำหนดวิธีแสดงข้อมูลที่ขาด การอภิปรายโค้ดอาจใส่ไฟล์หรือข้อความตัดตอนที่เกี่ยวข้องเป็นข้อความ และขอคำอธิบายเฉพาะเรื่องหรือข้อเสนอการแก้ไข\n\nจัดสรรคำสั่ง เอกสาร ประวัติการสนทนา และคำตอบที่ร้องขอให้อยู่ภายในบริบทที่ระบุ เก็บป้ายต้นฉบับข้างข้อความที่ป้ายนั้นระบุ และบอกว่าเอกสารใดเป็นหลักเมื่อข้อมูลขัดกัน สำหรับการเปรียบเทียบขนาดใหญ่ ให้กำหนดเกณฑ์ก่อนเนื้อหาต้นฉบับและร้องขอผลลัพธ์ที่จัดตามเกณฑ์เหล่านั้น วิธีนี้ให้เอาต์พุตเฉพาะที่แอปพลิเคชันตรวจเทียบกับอินพุตได้ แทนการอาศัยคำสั่งกว้าง ๆ ให้สรุปทุกอย่าง\n\nชุดพารามิเตอร์ที่เผยแพร่มี reasoning, reasoning_effort และ include_reasoning พร้อม temperature, stop, max_tokens และ max_completion_tokens สำหรับรูปแบบการตอบกลับที่กำหนดไว้ ให้ใช้ response_format กับสคีมาที่แอปพลิเคชันคาดหวัง โปรไฟล์ระบุการรองรับเอาต์พุตมีโครงสร้าง สำหรับการโต้ตอบเครื่องมือฟังก์ชันมี tools และ tool_choice ป้อนสคีมาหรือนิยามฟังก์ชันที่แอปพลิเคชันของคุณใช้ เก็บค่าพารามิเตอร์ที่เลือกไว้พร้อมคำขอ และตรวจฟิลด์หรืออาร์กิวเมนต์เครื่องมือจริงที่ส่งกลับมาก่อนดำเนินต่อ\n\nตัวควบคุม stream ที่เลือกใส่ได้รองรับการส่ง JSON ที่ประกอบแล้วหรือคำตอบแบบสตรีม สำหรับ JSON ให้เก็บ ตัวเลือกคำตอบ เนื้อหาข้อความ การเรียกเครื่องมือ ฟิลด์ reasoning และฟิลด์ usage ทุกตัวที่ส่งกลับมา สำหรับสตรีม ให้รวม ข้อมูลส่วนเพิ่ม ตามดัชนี ตัวเลือกคำตอบ และ การเรียกเครื่องมือ และเก็บข้อมูลการจบขั้นสุดท้าย เมื่อได้รับ การเรียกเครื่องมือ ให้เก็บตัวระบุและอาร์กิวเมนต์จริง เพื่อให้แอปพลิเคชันเชื่อมข้อความผลลัพธ์เครื่องมือกับ การเรียกนั้นได้ เก็บข้อมูลระบุตัวตนของคำขอเดิมและการตอบกลับทั้งหมดเมื่อจำเป็นต้องตรวจการสนทนาหลังถูกขัดจังหวะ",
    "alias_of": null,
    "aliases": [],
    "author": "Tencent",
    "ctx": 1048576,
    "formats": [
      "chat"
    ],
    "id": "tencent/hy4-preview",
    "input": [
      "text"
    ],
    "kind": "text",
    "max_out": null,
    "methods": [
      {
        "available": null,
        "cache_read": "0.084",
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Retain the complete response, all actual results, original identifiers, usage and response headers.",
            "authentication": {
              "api_key_source": "AILOOT_API_KEY",
              "header": "Authorization: Bearer"
            },
            "example_body": {
              "messages": [
                {
                  "content": "Summarize the supplied text in three concise points.",
                  "role": "user"
                }
              ],
              "model": "tencent/hy4-preview",
              "stream": false
            },
            "lifecycle": {
              "cancel_endpoint": null,
              "create": {
                "http": "POST",
                "path": "/v1/chat/completions"
              },
              "mode": "synchronous_json_or_sse",
              "status": [],
              "unknown": "Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.",
              "unknown_no_replay": true
            },
            "outputs": {
              "all_results": "Retain the complete response, all actual results, original identifiers, usage and response headers.",
              "family": "text",
              "format": "JSON or supported SSE"
            },
            "parameters": [
              {
                "default_known": false,
                "enum": [
                  "tencent/hy4-preview"
                ],
                "enum_known": true,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum_known": false,
                "items": {
                  "additionalProperties": true,
                  "properties": {
                    "content": {
                      "type": "string"
                    },
                    "role": {
                      "enum": [
                        "user",
                        "assistant",
                        "system",
                        "developer"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "role",
                    "content"
                  ],
                  "type": "object"
                },
                "minItems": 1,
                "name": "messages",
                "required": true,
                "type": "array"
              },
              {
                "default": false,
                "default_known": true,
                "enum_known": false,
                "name": "stream",
                "required": false,
                "type": "boolean"
              },
              {
                "default_known": false,
                "enum_known": false,
                "minimum": 1,
                "name": "max_tokens",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "minimum": 1,
                "name": "max_completion_tokens",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "minimum": 1,
                "name": "n",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "temperature",
                "required": false,
                "type": "number"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "top_p",
                "required": false,
                "type": "number"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "seed",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "stop",
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                ],
                "required": false
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "frequency_penalty",
                "required": false,
                "type": "number"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "presence_penalty",
                "required": false,
                "type": "number"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "user",
                "required": false,
                "type": "string"
              }
            ],
            "request_schema": {
              "additionalProperties": true,
              "properties": {
                "frequency_penalty": {
                  "type": "number"
                },
                "max_completion_tokens": {
                  "minimum": 1,
                  "type": "integer"
                },
                "max_tokens": {
                  "minimum": 1,
                  "type": "integer"
                },
                "messages": {
                  "items": {
                    "additionalProperties": true,
                    "properties": {
                      "content": {
                        "type": "string"
                      },
                      "role": {
                        "enum": [
                          "user",
                          "assistant",
                          "system",
                          "developer"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "role",
                      "content"
                    ],
                    "type": "object"
                  },
                  "minItems": 1,
                  "type": "array"
                },
                "model": {
                  "enum": [
                    "tencent/hy4-preview"
                  ],
                  "type": "string"
                },
                "n": {
                  "minimum": 1,
                  "type": "integer"
                },
                "presence_penalty": {
                  "type": "number"
                },
                "seed": {
                  "type": "integer"
                },
                "stop": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  ]
                },
                "stream": {
                  "default": false,
                  "type": "boolean"
                },
                "temperature": {
                  "type": "number"
                },
                "top_p": {
                  "type": "number"
                },
                "user": {
                  "type": "string"
                }
              },
              "required": [
                "model",
                "messages"
              ],
              "type": "object"
            },
            "schema_template": {
              "body": {
                "messages": [
                  {
                    "content": "Summarize the supplied text in three concise points.",
                    "role": "user"
                  }
                ],
                "model": "tencent/hy4-preview",
                "stream": false
              },
              "content_type": "application/json"
            }
          },
          "input": {
            "conditions": [],
            "content_type": "application/json",
            "material_types": [
              "text"
            ],
            "optional": [
              "stream",
              "max_tokens",
              "max_completion_tokens",
              "n",
              "temperature",
              "top_p",
              "seed",
              "stop",
              "frequency_penalty",
              "presence_penalty",
              "user"
            ],
            "required": [
              "model",
              "messages"
            ]
          },
          "lifecycle": {
            "cancel_endpoint": null,
            "create": {
              "http": "POST",
              "path": "/v1/chat/completions"
            },
            "mode": "synchronous_json_or_sse",
            "status": [],
            "unknown": "Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.",
            "unknown_no_replay": true
          },
          "method": {
            "http": "POST",
            "path": "/v1/chat/completions"
          },
          "method_aliases": [],
          "output": {
            "all_results": "Retain the complete response, all actual results, original identifiers, usage and response headers.",
            "family": "text",
            "format": "JSON or supported SSE"
          }
        },
        "ctx": 1048576,
        "declared_pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": "0.001668000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.000001668",
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": "0.005002000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": "0.000005002",
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": "0.000084000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": "0.000000084",
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          }
        ],
        "examples": [
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\nexport AILOOT_API_KEY\npython3 - <<'PY_REQUEST'\nimport json,os\nfrom pathlib import Path\np=json.loads('{\"model\": \"tencent/hy4-preview\", \"messages\": [{\"role\": \"user\", \"content\": \"Summarize the supplied text in three concise points.\"}], \"stream\": false}')\n\nPath(\"request.json\").write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/chat/completions \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -H 'Content-Type: application/json' \\\n  --data-binary @request.json -D response-headers.txt -o result.json\n# Submit once. Retain the complete result, original identifiers and every response header.\n",
            "label": "curl · create once and retain the complete result",
            "language": "bash"
          }
        ],
        "family": "openai",
        "fast_multiplier": null,
        "flex_multiplier": null,
        "fmt": "chat",
        "http": "POST",
        "img_in": null,
        "img_out": null,
        "in": "1.668",
        "input": [
          "text"
        ],
        "label": "Chat Completions",
        "max_out": null,
        "method_aliases": [],
        "out": "5.002",
        "output": [
          "text"
        ],
        "path": "/v1/chat/completions",
        "price_conditions": [
          {
            "label": "Fast mode",
            "value": "Not specified",
            "when": "When fast mode is selected"
          },
          {
            "label": "Flex mode",
            "value": "Not specified",
            "when": "When flex mode is selected"
          },
          {
            "label": "Time schedule",
            "value": "{\"periods\":[{\"end_time\":\"00:00\",\"multiplier\":\"0.9\",\"start_time\":\"16:00\"}],\"timezone\":\"UTC\",\"weekdays_only\":false}",
            "when": "At the request pricing time"
          }
        ],
        "pricing": {
          "billing_mode": "token",
          "cache_read_price": "0.000000084",
          "cache_write_1h_price": null,
          "cache_write_price": null,
          "fast_multiplier": null,
          "flex_multiplier": null,
          "image_input_price": null,
          "image_output_price": null,
          "input_price": "0.000001668",
          "intervals": [],
          "output_price": "0.000005002",
          "per_request_price": null,
          "reasoning_effort_multipliers": {},
          "time_pricing": {
            "periods": [
              {
                "end_time": "00:00",
                "multiplier": "0.9",
                "start_time": "16:00"
              }
            ],
            "timezone": "UTC",
            "weekdays_only": false
          }
        },
        "pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": "0.001668000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.000001668",
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": "0.005002000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": "0.000005002",
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": "0.000084000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": "0.000000084",
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          }
        ],
        "reasoning_effort_multipliers": {},
        "request_model_id": "tencent/hy4-preview",
        "route_label": "Ultra",
        "status_reads": [],
        "tiers": [],
        "unit": "token",
        "units": [
          {
            "amount": "0.001668000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.000001668",
            "native_quantity": 1,
            "native_unit": "input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "input_token"
          },
          {
            "amount": "0.005002000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "output_price",
            "label": "Output tokens",
            "native_amount_usd_per_unit": "0.000005002",
            "native_quantity": 1,
            "native_unit": "output_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "out",
            "unit": "output_token"
          },
          {
            "amount": "0.000084000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_read_price",
            "label": "Cache read",
            "native_amount_usd_per_unit": "0.000000084",
            "native_quantity": 1,
            "native_unit": "cached_input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "cached_input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_price",
            "label": "Cache write",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "generic_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "generic_cache_creation_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_1h_price",
            "label": "Cache write, 1 hour",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "one_hour_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "one_hour_cache_creation_token"
          }
        ]
      }
    ],
    "model_aliases": [
      {
        "canonical_model_id": "tencent/hy4-preview",
        "request_model_id": "tencent/hy4-preview",
        "route_label": "Ultra"
      }
    ],
    "name": "Tencent: Hy4 preview",
    "price": {
      "in": "1.668",
      "in_label": null,
      "out": "5.002",
      "out_label": null,
      "sort_in": "1.668",
      "sort_out": "5.002",
      "varies": false
    },
    "short": "Tencent Hy4 preview เป็นโมเดลข้อความที่มีบริบทเผยแพร่ขนาด 1,048,576 โทเคน เลือก tencent/hy4-preview ผ่าน Chat Completions สำหรับงานกับข้อความที่ป้อนให้ รวมถึงการสังเคราะห์เอกสาร การดึงข้อมูลมีโครงสร้าง และการอภิปรายโค้ด ตัวควบคุมที่ระบุครอบคลุมการให้เหตุผล การตอบกลับมีโครงสร้าง และกระบวนการเครื่องมือฟังก์ชัน พร้อมการส่งคำตอบ JSON ครบถ้วนหรือแบบสตรีม"
  },
  "renderer_schema": {
    "method_order": "Original DTO methods order; every exact route/format/path/caller survives.",
    "prices": "Original public DTO fields and original native display HTML; no flattened or normalized offers."
  },
  "representation": "exact-public-dto-and-native-renderer-html",
  "representationNotes": {
    "current_reference": {
      "about_json_pointer": "/aboutHtml",
      "methods": [
        {
          "contract_json_pointer": "/methods/0/rawMethod/contract",
          "html_json_pointer": "/methods/0/html",
          "method_ordinal": 0
        }
      ],
      "role": "current-semantic-reference"
    },
    "raw_input": {
      "examples_role": "historical-input-not-current-ready-examples",
      "json_pointers": [
        "/rawModel",
        "/methods/0/rawMethod"
      ],
      "role": "historical-owner-input"
    },
    "schema": "ailoot-native-model-representations-v1"
  },
  "schema": "ailoot-static-model-facts-v1",
  "schema_version": 1,
  "shortText": "Tencent Hy4 preview เป็นโมเดลข้อความที่มีบริบทเผยแพร่ขนาด 1,048,576 โทเคน เลือก tencent/hy4-preview ผ่าน Chat Completions สำหรับงานกับข้อความที่ป้อนให้ รวมถึงการสังเคราะห์เอกสาร การดึงข้อมูลมีโครงสร้าง และการอภิปรายโค้ด ตัวควบคุมที่ระบุครอบคลุมการให้เหตุผล การตอบกลับมีโครงสร้าง และกระบวนการเครื่องมือฟังก์ชัน พร้อมการส่งคำตอบ JSON ครบถ้วนหรือแบบสตรีม",
  "source": {
    "audit_sha256": "2e00086bcbfc28e64d0cebe97aa47c17d8d5618963027f8ffb9dc6123d7d25b1",
    "bridge_map_sha256": "1125275768b9636fc8461bc7da5061239a81ddfe508e2557843ca42c58ab0036",
    "raw_model_json_sha256": "b3a33da2ee4ad20d9e9a810dcaf0416e03dda49b54218510d7f1aa90e191ce35",
    "renderer_sha256": "890edb706fafafdd4f598bb324acf65fada58918b0911b97eb80e68be2ef65d9"
  },
  "sourceRevision": "11e5c0dad203e920bce30af69aaa65c848d3c079a4d892b07ed7b2002530b0c3"
}
