Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Blogs
  3. คำอธิบายเกี่ยวกับการคิดค่าบริการแบบขั้นบันไดสำหรับบริบทที่ยาวเกินไปของ GPT-5.6 Sol

คำอธิบายเกี่ยวกับการคิดค่าบริการแบบขั้นบันไดสำหรับบริบทที่ยาวเกินไปของ GPT-5.6 Sol

Scheduled Pinned Locked Moved Blogs
openaigpt-5.6 solบริบทยาวเกินไปการคิดค่าบริการการตั้งค่า code
1 Posts 1 Posters 44 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Online
    A Online
    admin
    wrote on last edited by
    #1

    <p>ตามกฎการคิดค่าบริการล่าสุดของ OpenAI โมเดลอย่าง GPT-5.6 Sol ใช้การคิดราคาแบบขั้นบันไดสำหรับคำขอที่มีบริบทยาวเกินไป</p><p>เมื่อบริบทของคำขอแต่ละครั้งมีขนาดเกิน 272K tokens ค่าอินพุต การอ่านแคช และเอาต์พุตอาจถูกคำนวณตามราคาขั้นบันไดที่สูงขึ้น กฎนี้มาจากการกำหนดราคาอย่างเป็นทางการของ OpenAI ไม่ใช่การบวกราคาเพิ่มเติมชั่วคราวหรือการเรียกเก็บเงินที่ผิดปกติจาก AI-ROUTER</p><p></p><p>ตัวอย่างราคามาตรฐานของ GPT-5.6 Sol:</p><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> รายการ ภายใน 272K เกิน 272K</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> ━━━━━━━━━━ ━━━━━━━━━━━━━━━━━━━ ━━━━━━━━━━━━━━━━━</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> อินพุต $5 / 1M tokens $10 / 1M tokens</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> ────────── ─────────────────── ─────────────────</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> การอ่านแคช $0.50 / 1M tokens $1 / 1M tokens</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> ────────── ─────────────────── ─────────────────</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> เอาต์พุต $30 / 1M tokens $45 / 1M tokens</code></pre><p></p><p>ค่าใช้จ่ายสุดท้ายยังคงคำนวณตามกลุ่มที่ใช้งานจริง ตัวคูณของบัญชี และการตั้งค่าการเรียกเก็บเงินอื่น ๆ</p><p></p><p>เมื่อพบเครื่องหมาย x2 ในประวัติการใช้งาน หมายความว่าคำขอนั้นเรียกใช้การคิดค่าบริการแบบขั้นบันไดสำหรับบริบทยาว เครื่องหมายนี้ส่วนใหญ่หมายถึงอินพุตหรือการอ่านแคชเข้าสู่ขั้นราคาที่สูงขึ้น ไม่ได้หมายความว่าค่าใช้จ่ายทั้งหมดของคำขอจะเพิ่มเป็นสองเท่าแบบง่าย ๆ โดยเอาต์พุตอาจใช้ตัวคูณของขั้นราคาที่แตกต่างกัน</p><p></p><p><strong> ## วิธีหลีกเลี่ยงการคิดค่าบริการแบบขั้นบันได</strong></p><p>หากไม่จำเป็นต้องใช้หน้าต่างบริบทขนาด 1M Token แนะนำให้ปรับขีดจำกัดบริบทของ Codex กลับมาให้อยู่ภายใน 272K</p><p></p><p>เปิดไฟล์:</p><p> ~/.codex/config.toml</p><p></p><p>เปลี่ยนการตั้งค่า 1M เดิมจากบทความก่อนหน้า:</p><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> model = "gpt-5.6-sol"</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> model_context_window = 1000000</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> model_auto_compact_token_limit = 900000</code></pre><p> </p><p>เป็น:</p><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> model = "gpt-5.6-sol"</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> model_context_window = 272000</code></pre><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code> model_auto_compact_token_limit = 250000</code></pre><p> </p><p>หลังจากบันทึกแล้ว ให้รีสตาร์ต Codex และสร้างเซสชันใหม่</p><p></p><p>หากต้องการให้มีผลชั่วคราวกับเซสชันเดียว สามารถใช้คำสั่ง:</p><pre class="rounded-lg bg-slate-950 px-4 py-3 text-slate-100"><code>codex -m gpt-5.6-sol -c model_context_window=272000 -c model_auto_compact_token_limit=250000</code></pre><p> นอกจากนี้ยังแนะนำให้:</p><p> - เปิดใช้การบีบอัดอัตโนมัติให้ทันท่วงที;</p><p> - แบ่งงานที่มีความยาวมากออกเป็นหลายเซสชัน;</p><p> - ลดปริมาณเอาต์พุตจากเครื่องมือที่ส่งกลับมาในครั้งเดียว;</p><p> - สรุปและล้างเนื้อหาการสนทนาก่อนหน้าเป็นระยะ</p><p></p><p>หากจำเป็นต้องใช้หน้าต่างบริบทขนาด 1M Token จริง ๆ ก็ยังสามารถใช้การตั้งค่าเดิมต่อไปได้ แต่ส่วนที่เกิน 272K จะถูกเรียกเก็บเงินตามราคาขั้นบันไดที่สูงขึ้นของ OpenAI</p><p></p><p>โปรดดูคำอธิบายการตั้งค่าเดิมที่: <a target="_blank" rel="noopener noreferrer nofollow" href="https://ai-router.dev/blog/post-g-677aa3e043912838-how-to-enable-a-1m-token-context-window-in-codex-for-gpt-5-6-sol">วิธีเปิดใช้งานหน้าต่างบริบทขนาด 1 ล้าน Token สำหรับ GPT-5.6 Sol ใน Codex </a></p><p></p><p>ขอขอบคุณสำหรับความเข้าใจและการสนับสนุน</p>

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    Powered by NodeBB Contributors
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups