qwen3.6-max-preview — ราคา, บริบท และประสิทธิภาพ
qwen3.6-max-preview เป็นโมเดลของ Alibaba มีบริบท 262.1K รองรับ Reasoning, Tools อินพุต $1.30 เอาต์พุต $7.80 ต่อ 1 ล้านโทเค็น
ภาพรวม
| ผู้ให้บริการ | Alibaba |
|---|---|
| บริบท | 262.1K |
| ความสามารถ | Reasoning, Tools |
| รูปแบบ API | openai, openai-response, openai-response-compact, anthropic, gemini, openai-alpha-search |
| สูตรคิดเงิน | p * 1.3 + cr * 0.13 + cc * 1.625 + c * 7.8 |
Flagship Qwen model for complex reasoning, coding, and agentic workflowsราคา
| แพ็กเกจ | ตัวคูณ | อินพุต | เอาต์พุต | แคช (อินพุต) | หมายเหตุ |
|---|---|---|---|---|---|
| ราคาฐาน | 1× | $1.30 | $7.80 | $0.13 | |
| Max | 4× | $5.20 | $31.20 | $0.52 | Premium — max reasoning & stability. |
แสดงเฉพาะกลุ่มที่เปิดใช้งานสำหรับโมเดลนี้
ประสิทธิภาพ
| ปลายทาง API | https://api.airai.cc/v1 |
|---|---|
| เข้ากันได้กับ OpenAI | OpenAI-compatible |
คำถามที่พบบ่อย
qwen3.6-max-preview ราคาเท่าไหร่?
อินพุต $1.30, เอาต์พุต $7.80 ต่อโทเค็น 1 ล้าน
qwen3.6-max-preview มีหน้าต่างบริบทเท่าไร?
qwen3.6-max-preview มีหน้าต่างบริบท 262.1K ซึ่งเป็นขีดจำกัดโทเค็นรวมของอินพุตและเอาต์พุตต่อคำขอ
เรียกใช้ qwen3.6-max-preview จากโค้ดอย่างไร?
ตั้งค่า base_url เป็น https://api.airai.cc/v1 และ model เป็น qwen3.6-max-preview API เข้ากันได้กับ OpenAI ทั้งหมด
ทำไม qwen3.6-max-preview คืนค่า error 429?
429 คือการตอบกลับจำกัดอัตรา ลดการเรียกพร้อมกัน หน่วงเวลาก่อนลองใหม่ หรือเปลี่ยนแพ็กเกจที่มีโควตาสูงกว่า
เปรียบเทียบโมเดล
| Model | ผู้ให้บริการ | อินพุต | เอาต์พุต | บริบท |
|---|---|---|---|---|
| qwen3.6-max-preview | Alibaba | $1.30 | $7.80 | 262.1K |
| qwen3.5-27b | Alibaba | $0.30 | $2.40 | 262.1K |
| qwen3-14b | Alibaba | $0.35 | $4.20 | 131.1K |
| qwen-flash | Alibaba | $0.05 | $0.40 | 1M |
| happyhorse-1.1-i2v | Alibaba | - | — | ไม่ระบุ |
| wan2.7-image-pro | Alibaba | - | — | 8.2K |
| qwen3-max-2026-01-23 | Alibaba | - | — | 262.1K |
| happyhorse-1.1-r2v | Alibaba | - | — | ไม่ระบุ |
| qwen3-coder-480b-a35b-instruct | Alibaba | $1.50 | $7.50 | 262.1K |
| qwen3-vl-plus | Alibaba | $0.20 | $4.80 | 262.1K |
| qwen3.5-397b-a17b | Alibaba | $0.60 | $3.60 | 262.1K |
| qwen3-8b | Alibaba | $0.18 | $2.10 | 131.1K |
| qwen3.7-max | Alibaba | $2.50 | $7.50 | 1M |
การแก้ปัญหา
429 คือการตอบกลับจำกัดอัตรา ลดการเรียกพร้อมกัน หน่วงเวลาก่อนลองใหม่ หรือเปลี่ยนแพ็กเกจที่มีโควตาสูงกว่า
สาเหตุที่พบบ่อย
- เรียกพร้อมกันมากเกินไป
- โควตาของแพ็กเกจปัจจุบันหมด
- ลองใหม่ทันทีโดยไม่หน่วงเวลา
วิธีแก้ไข
- จำกัดการเรียกพร้อมกันและหน่วงเวลาแบบ exponential
- เปลี่ยนเป็นแพ็กเกจโควตาสูงกว่า
- แคชคำขอที่ซ้ำกัน
วิธีเชื่อมต่อ
curl https://api.airai.cc/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3.6-max-preview",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI
client = OpenAI(
api_key="<YOUR_API_KEY>",
base_url="https://api.airai.cc/v1"
)
response = client.chat.completions.create(
model="qwen3.6-max-preview",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
apiKey: "<YOUR_API_KEY>",
baseURL: "https://api.airai.cc/v1"
});
const response = await client.chat.completions.create({
model: "qwen3.6-max-preview",
messages: [{ role: "user", content: "Hello" }]
});
console.log(response.choices[0].message.content);const OpenAI = require("openai");
const client = new OpenAI({
apiKey: "<YOUR_API_KEY>",
baseURL: "https://api.airai.cc/v1"
});
client.chat.completions.create({
model: "qwen3.6-max-preview",
messages: [{ role: "user", content: "Hello" }]
}).then((r) => console.log(r.choices[0].message.content));แทนที่ <YOUR_API_KEY> ด้วย API Key จากการตั้งค่าโทเค็นของคุณ
เอนด์พอยต์ที่รองรับ
openaiopenai-responseopenai-response-compactanthropicgeminiopenai-alpha-search
Gemini SDK · TypeScript
import { GoogleGenerativeAI } from "@google/generative-ai";
const genAI = new GoogleGenerativeAI("<YOUR_API_KEY>");
const model = genAI.getGenerativeModel({ model: "qwen3.6-max-preview" });
const result = await model.generateContent(
"Explain quantum entanglement in one paragraph."
);
console.log(result.response.text());การรับรองตัวตน
คำขอทั้งหมดต้องแนบส่วนหัว Authorization: Bearer <TOKEN> เอนด์พอยต์รูปแบบ Anthropic ยังรองรับส่วนหัว x-api-key สร้าง API Key ได้ในหน้าโทเค็น ซึ่งคุณจำกัดตามโมเดล กลุ่ม IP และอัตราได้
พารามิเตอร์ที่รองรับ
| พารามิเตอร์ | ประเภท | ค่าเริ่มต้น | ช่วง | คำอธิบาย |
|---|---|---|---|---|
temperature | float | 1 | 0–2 | อุณหภูมิการสุ่มตัวอย่าง ยิ่งต่ำยิ่งเสถียร |
top_p | float | 1 | 0–1 | ความน่าจะเป็นสะสมของ nucleus sampling |
max_tokens | integer | — | — | จำนวน token สูงสุดในคำตอบ |
frequency_penalty | float | 0 | −2–2 | ลงโทษการทำซ้ำของ token ความถี่สูง |
presence_penalty | float | 0 | −2–2 | ส่งเสริมการนำหัวข้อใหม่มาใช้ |
stop | string[] | null | ≤ 4 | สตริงหยุดการสร้างสูงสุด 4 รายการ |
seed | integer | null | — | เมล็ดสำหรับการสุ่มที่ทำซ้ำได้มากขึ้น |
n | integer | 1 | — | จำนวนผลลัพธ์ที่สร้าง |
stream | boolean | false | — | ส่ง token แบบสตรีมผ่าน SSE |
response_format | object | — | — | บังคับให้ได้ JSON หรือผลลัพธ์ที่ตรงตาม schema |
tools | array | — | — | การประกาศเครื่องมือ / ฟังก์ชันที่โมเดลเรียกใช้ได้ |
tool_choice | string | object | auto | — | กลยุทธ์เลือกเครื่องมือหรือชื่อเครื่องมือเฉพาะ |
logprobs | boolean | false | — | ส่งกลับ log-probability ของแต่ละ token |
top_logprobs | integer | null | 0–20 | จำนวนความน่าจะเป็นสูงสุดที่ส่งคืนต่อ token |
logit_bias | map | — | — | แผนที่ logit bias ตาม token |
user | string | — | — | ตัวระบุผู้ใช้ปลายทางสำหรับการตรวจสอบความเสี่ยง |
ขีดจำกัดอัตรา
| ระดับ | RPM | TPM | RPD |
|---|---|---|---|
| Eco | 990 | 398K | 20K |
| Test | 980 | 393K | 20K |
อัปเดตข้อมูล: 2026-10-10 12:10