Qwen: Qwen4 Max
alibaba/qwen4-maxQwen4 Max is the flagship of Alibaba's Qwen 4 generation, released in November 2026. It is a multimodal reasoning model that takes text, images and video, with thinking on by default (reasoning_effort sets the depth), tool calling, web search and structured outputs, a 1M-token context and up to 393K output tokens shared by thinking and the answer. Alibaba positions it for coding, office work, frontend design and complex agent tasks, at a lower price than Qwen3.8 Max.
Baca selengkapnya- Harga input
- $1.67USD / 1M token
- Harga output
- $5.00USD / 1M token
- Pembacaan cache
- $0.08USD / 1M token
- Penulisan cache
- $2.08USD / 1M token
- Jendela konteks
- 1M
- Output maks
- 131.1K
Spesifikasi
- Input
- Teks, gambar
- Output
- Teks
Tentang model ini
Qwen4 Max is the flagship of Alibaba's Qwen 4 generation, released in November 2026. It is a multimodal reasoning model that takes text, images and video, with thinking on by default (reasoning_effort sets the depth), tool calling, web search and structured outputs, a 1M-token context and up to 393K output tokens shared by thinking and the answer. Alibaba positions it for coding, office work, frontend design and complex agent tasks, at a lower price than Qwen3.8 Max.
Evaluasi independen
Benchmark
Skor pada evaluasi terstandar, dibandingkan dengan model lain di SandBase.
Metrik bersumber dari Artificial Analysis · Indeks Kecerdasan v5 · Diperbarui 2026-11-16
Coba model ini
Playground
Tulis prompt untuk mencoba model ini. Penggunaan ditagihkan sesuai harga yang ditampilkan.
Coba prompt
Tambahkan gambar (opsional)
Respons Anda akan muncul di sini
Pilih contoh atau tulis prompt, lalu klik Jalankan.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint yang kompatibel dengan OpenAI dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/chat/completions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "alibaba/qwen4-max",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 2048
}'Skema Input
13 parameter · 1 wajib · 12 opsional
| Parameter | Tipe | Wajib | Deskripsi |
|---|---|---|---|
messages | object[] | Wajib | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | Opsional | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
stop | string[] | Opsional | Sequences where the model stops generating. The stop sequence is not included in the output. |
tools | array | Opsional | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
top_k | integer | Opsional | Only sample from the k most likely next tokens. · Min: 0 |
top_p | number | Opsional | Nucleus sampling: only tokens within this cumulative probability are considered. · Min: 0 · Maks: 1 |
stream | boolean | Opsional | Stream the response as server-sent events instead of returning it in one piece. · Bawaan: false |
max_tokens | integer | Opsional | Maximum number of tokens to generate in the response. · Maks: 131072 |
temperature | number | Opsional | Sampling temperature. Higher values make output more random; lower values make it more focused. · Min: 0 · Maks: 2 · Bawaan: 1 |
tool_choice | string | Opsional | Controls tool use: "auto", "none", "required", or a specific function. |
response_format | object | Opsional | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
presence_penalty | number | Opsional | Penalizes tokens that already appear at all, encouraging new topics. · Min: -2 · Maks: 2 |
frequency_penalty | number | Opsional | Penalizes tokens by how often they already appear, reducing repetition. · Min: -2 · Maks: 2 |
Skema Output
| Field | Tipe | Deskripsi |
|---|---|---|
id | string | Pengidentifikasi unik untuk completion |
object | string | Jenis objek, mis. "chat.completion" |
model | string | Model yang digunakan untuk completion |
choices | array | Daftar pilihan completion |
choices[].message.content | string | Konten teks yang dihasilkan |
choices[].finish_reason | string | Alasan generasi berhenti |
usage.prompt_tokens | integer | Jumlah token dalam prompt |
usage.completion_tokens | integer | Jumlah token dalam completion |
usage.total_tokens | integer | Total token yang digunakan |
Pertanyaan
FAQ
Bagaimana cara memanggil Alibaba Qwen4 Max melalui SandBase?
Buat kunci API SandBase, lalu kirim permintaan dengan model ID "alibaba/qwen4-max" ke Chat Completions API (/v1/chat/completions) di https://api.sandbase.ai. Contoh permintaan di halaman ini menunjukkan payload yang tepat.
Berapa biaya Alibaba Qwen4 Max?
$1.67 per 1 juta token input dan $5 per 1 juta token output, ditagihkan per permintaan dari saldo SandBase Anda. Diskon, jika tersedia, ditampilkan pada harga di halaman ini.
Berapa jendela konteks Alibaba Qwen4 Max?
1M token konteks, dengan hingga 131.1K token output per respons.
Bagaimana skor Alibaba Qwen4 Max pada benchmark?
Alibaba Qwen4 Max mendapat skor 42.9 pada Artificial Analysis Intelligence Index (v5), peringkat #14 dari 33 model di SandBase. Sumber: Artificial Analysis, diukur sebagai Qwen4 Max.
Fitur apa saja yang didukung Alibaba Qwen4 Max?
Alibaba Qwen4 Max mendukung vision (input gambar), penalaran, function calling, output terstruktur. Lihat Specifications di atas untuk daftar lengkap.
Apakah saya memerlukan akun Alibaba terpisah?
Tidak. Satu kunci API dan saldo SandBase memberi Anda akses ke Alibaba Qwen4 Max dan model lain di katalog; Anda tidak perlu mendaftar ke Alibaba secara terpisah.
