คอนเท็กซ์
1.05M
โมเดล API OpenAI
GPT-6.1 Terra สำหรับข้อความ การให้เหตุผล และเครื่องมือฟังก์ชันผ่าน Responses แบบเนทีฟที่ส่งข้อมูลแบบ streaming ไคลเอนต์ต้องส่งประวัติการสนทนาทั้งหมด
สเปก
แสดงราคา USD อย่างโปร่งใส ไม่ต้องมีบัญชีหรือเบอร์โทรจีน Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up.
1.05M
ข้อความ
$2
$7.5
OpenAI-compatible /v1/responses
GPT-6.1 Terra สำหรับข้อความ การให้เหตุผล และเครื่องมือฟังก์ชันผ่าน Responses แบบเนทีฟที่ส่งข้อมูลแบบ streaming ไคลเอนต์ต้องส่งประวัติการสนทนาทั้งหมด
ราคา
อินพุต $2/1M โทเคน เอาต์พุต $7.5/1M โทเคน ชำระเป็น USD Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up. ดูราคาแบบเรียลไทม์เมื่อ input เกิน 272000 tokens ทั้งคำขอจะใช้อัตราบริบทยาว โดย input และแคชเป็น 2x และ output เป็น 1.5x สำหรับ Paid อัตรา input/output/อ่านแคชเท่ากับ 55% ของ Standard และเขียนแคชเท่ากับ 100% อัตรา Enterprise GPT ที่เสนอคือ input/output/อ่านแคช 50% และเขียนแคช 55% โดยต้องมีสัญญาที่ใช้งานอยู่ การเติมเงินเพียงอย่างเดียวไม่เปิดใช้ Enterprise
Paid price after first top-up (input / output per 1M tokens): $1.1 / $4.125 (−45%)
| Tier | Standard price (input / output per 1M tokens) | Paid price after first top-up |
|---|---|---|
| Over 272K input tokens | $2 / $7.5 | $1.1 / $4.125 (−45%) |
| Up to 272K input tokens | $1 / $5 | $0.55 / $2.75 (−45%) |
เริ่มต้นเร็ว
curl -N https://api.chinaapi.ai/v1/responses \
-H "Authorization: Bearer $CHINAAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.1-terra",
"stream": true,
"store": false,
"reasoning": {"effort": "none"},
"include": ["reasoning.encrypted_content"],
"input": "Reply with a short hello."
}'
อ่าน stream จนถึง response.completed แล้วใช้ output และ usage จากเหตุการณ์นั้น สำหรับรอบถัดไป ให้เพิ่มรายการ output ต้นฉบับทั้งหมดและข้อความผู้ใช้ใหม่ลงใน input ส่งผลเครื่องมือฟังก์ชันเป็น function_call_output โดยใช้ call_id เดิม แล้วส่ง input ทั้งหมดอีกครั้ง ใช้ store:false ไม่รองรับการต่อผ่าน previous_response_id ผู้ให้บริการอาจส่งเกิน max_output_tokens จึงควรติดตามการใช้งานจริงและตั้งโควตาบัญชี ส่วนลดแคชใช้เฉพาะ cache hit ที่รายงานเท่านั้น ไม่รับประกันว่าจะเกิด cache hit
ลิงก์ที่เกี่ยวข้อง
ใช้ gpt-6.1-terra ผ่าน ChinaAPI ด้วย API key และเอนด์พอยต์ OpenAI-compatible ที่แสดงด้านบน
gpt-6.1-terra: อินพุต $2/1M โทเคน เอาต์พุต $7.5/1M โทเคน ชำระเป็น USD โดยหน้าราคาล่าสุดเป็นข้อมูลอ้างอิงหลัก After the first top-up, the Paid price is อินพุต $1.1/1M โทเคน เอาต์พุต $4.125/1M โทเคน (−45%). Standard model rates follow providers' international list prices at 100%; some models have a separate Paid rate after the first top-up.
ไม่ต้องมีบัญชีบริการหรือหมายเลขโทรศัพท์ในจีนแผ่นดินใหญ่ ChinaAPI ให้เข้าถึงโมเดลได้และมีเครดิตฟรี $2 สำหรับทดลองใช้ ตรวจสอบราคาค่าบริการที่แสดงเป็น USD ได้ที่หน้าราคาปัจจุบัน