Qwen4-35B-A3B คืออะไร? โมเดล Qwen4 แบบ Open-Weight ตัวแรกจาก Alibaba

Qwen4-35B-A3B คือโมเดล Qwen4 แบบเปิดน้ำหนัก (open-weight) ตัวแรกของ Alibaba เป็นโมเดล MoE แบบมัลติโมดัล ที่มีพารามิเตอร์รวม 35B และใช้งานจริงเพียง 3B รองรับคอนเท็กซ์ได้ถึง 1 ล้านโทเคน และเผยแพร่ภายใต้สัญญาอนุญาต Apache 2.0 มาดูกันว่ามันทำงานอย่างไร ผลคะแนนเบนช์มาร์กเป็นเช่นไร...

INEZA Felin-Michel

INEZA Felin-Michel

4 December 2026

Qwen4-35B-A3B คืออะไร? โมเดล Qwen4 แบบ Open-Weight ตัวแรกจาก Alibaba

Apidog สำหรับองค์กร

การติดตั้งแบบ On-Premises

SSO & RBAC

รองรับมาตรฐาน SOC 2

สำรวจ Apidog Enterprise

Qwen4-35B-A3B คือโมเดล Qwen4 แบบ open-weight ตัวแรกของ Alibaba เปิดตัวเมื่อวันที่ 4 ธันวาคม 2026 ภายใต้สัญญาอนุญาต Apache 2.0 เป็นโมเดล multimodal แบบ mixture-of-experts (MoE) โดยกำเนิด มีพารามิเตอร์รวม 35B และใช้งานจริง 3B ต่อ token รองรับ context แบบ native 1,048,576 token และดาวน์โหลด weights มา quantize แล้วรันบน GPU เครื่องเดียวได้ นอกจากนี้ยังมีบน Qwen Cloud API ในชื่อ qwen4-35b-a3b ที่ราคา $0.06 ต่อ 1M input tokens

Qwen4-35B-A3B คืออะไร?

Qwen4-35B-A3B เป็นโมเดลภาษาแบบ sparse MoE ที่มีพารามิเตอร์ 35B พร้อม vision encoder จึงอ่านได้ทั้งข้อความ รูปภาพ และวิดีโอ แล้วสร้างผลลัพธ์เป็นข้อความ โดยจะรันพารามิเตอร์เพียงประมาณ 3B ต่อ token เท่านั้น ทำให้ให้บริการได้รวดเร็วและประหยัด เป็นการเปิดตัวครั้งแรกในซีรีส์ที่ Qwen เรียกว่า "ซีรีส์โมเดล open ของ Qwen4" และmodel card บน Hugging Face ระบุสัญญาอนุญาตเป็น Apache 2.0

ชื่อของโมเดลบอกรูปแบบของมันอยู่แล้ว: 35B คือพารามิเตอร์รวม และ A3B หมายถึงเปิดใช้งาน 3B โพสต์เปิดตัวบน X นำเสนอจุดเด่นด้านงาน agent: การวิเคราะห์เอกสารยาว ฐานความรู้ขององค์กร และการ deploy แบบ edge

สเปกของ Qwen4-35B-A3B โดยสรุป

ตัวเลขทั้งหมดด้านล่างมาจาก model card หรือหน้าโมเดลบน Qwen Cloud

สเปก ค่า
พารามิเตอร์รวม 35B บวก n-gram embedding 20B และ MTP 2B
พารามิเตอร์ที่ใช้งาน 3B ต่อ token
Experts 256 โดยใช้งาน 8 ตัวแบบ routed + 1 ตัวแบบ shared
Layers 40
Context แบบ native 1,048,576 token
อินพุต ข้อความ รูปภาพ วิดีโอ
สัญญาอนุญาต Apache 2.0
API model id qwen4-35b-a3b
ผลลัพธ์สูงสุดของ API 128K (256K ใน thinking mode)
ราคา API (ภูมิภาคสิงคโปร์) $0.06 อินพุต, $0.36 เอาต์พุต ต่อ 1M token

Qwen4-35B-A3B ทำงานอย่างไร

Qwen4-35B-A3B ผสม attention สองแบบเข้าด้วยกันแทนที่จะใช้ standard attention ทุกที่ นั่นคือวิธีที่มันรองรับ token ได้ถึงล้านตัวโดยไม่กินหน่วยความจำมหาศาล

40 เลเยอร์วนซ้ำรูปแบบเดียวกัน 10 รอบ: สามเลเยอร์ Gated DeltaNet ตามด้วยหนึ่งเลเยอร์ Qwen Sparse Attention แต่ละชุดตามด้วยเลเยอร์ MoE

Schema of Qwen4-35B-A3B: text, image and video enter through a vision encoder and n-gram embedding, then pass through 10 repeated blocks of three Gated DeltaNet layers and one Qwen Sparse Attention layer, each followed by a mixture-of-experts layer that activates 8 routed plus 1 shared expert out of 256, ending in the output head and an MTP layer

แต่ละส่วนทำหน้าที่ดังนี้:

Model card ระบุว่าสถาปัตยกรรมแบบ hybrid นี้ให้ "inference ที่เร็วขึ้นและ cache footprint ที่ลดลงอย่างมาก" โดย Qwen4-Max สร้างบนสถาปัตยกรรมเดียวกัน

การควบคุมการคิด (Thinking control)

โมเดลนี้คิดโดยค่าเริ่มต้น คุณควบคุมได้ผ่าน reasoning_effort:

  1. xhigh สำหรับงานซับซ้อนที่คุณภาพสำคัญที่สุด
  2. high ค่าเริ่มต้น สำหรับงานทั่วไป
  3. low สำหรับคำตอบที่รวดเร็วโดยคิดน้อยที่สุด
  4. off เพื่อปิดการคิด (เหมือนกับ enable_thinking=False)

preserve_thinking เปิดอยู่โดยค่าเริ่มต้น Model card เตือนว่าการใช้ effort ต่ำอาจมีต้นทุนสูงขึ้นในงาน agent เพราะการวิเคราะห์ที่คร่าว ๆ นำไปสู่การ retry

ค่า sampling ที่แนะนำ: temperature=1.0, top_p=0.95, top_k=20 ใน thinking mode และ temperature=0.7, top_p=0.80, top_k=20, presence_penalty=1.5 เมื่อไม่คิด

ความสัมพันธ์ของ Qwen4-35B-A3B กับ Qwen4-Max และ Qwen3.8

Qwen4-35B-A3B เป็นน้องตัวเล็กแบบ open ของ Qwen4-Max โดย Max เป็น flagship ที่ใช้ได้ผ่าน API เท่านั้นของซีรีส์ Qwen4 โมเดล 35B ใช้สถาปัตยกรรมและเทคนิคการเทรนแบบเดียวกัน แต่คุณดาวน์โหลดมันได้

โมเดล Weights บทบาท
Qwen4-Max API เท่านั้น Flagship สำหรับงาน agent ระยะยาว
Qwen4-35B-A3B Open, Apache 2.0 โมเดล Qwen4 แบบ open ตัวแรกรัน local ได้
Qwen3.8-Flash-Next ไม่ระบุใน model card โมเดลก่อนหน้าที่นำสถาปัตยกรรมนี้มาใช้
Qwen3.8-27B Open โมเดล dense ก่อนหน้าขนาดใกล้เคียงกัน

ถ้าคุณรัน Qwen3.8-27B แบบ local อยู่ ตัวนี้คือรุ่นถัดไป ส่วนการเปรียบเทียบแบบตัวต่อตัว อ่านได้ที่ Qwen4-35B-A3B vs Qwen3.8-27B

คำกล่าวอ้างของ Qwen เทียบกับสิ่งที่กราฟแสดง

โพสต์เปิดตัวอ้างสองข้อ: ว่า "เหนือกว่า Qwen3.8-27B แบบ dense" และ "เทียบเท่า Qwen3.8-Flash-Next ที่ขนาดประมาณ 1/3" Model card ไม่มีตารางคะแนน มีเพียงกราฟ benchmark ต่อไปนี้คือตัวเลขที่อ่านจากกราฟนั้น:

Benchmark Qwen4-35B-A3B Qwen3.8-Flash-Next Qwen3.8-27B
DeepSWE v1.1 61.8 58.7 42.2
Terminal Bench 4.1 21.2 24.2 5.6
FrontierCode-AA 2.0 16.1 27.1 14.9
NL2Repo 51.7 48.1 42.3
APEX-Agents v1.1 59.0 61.0 47.5
AutomationBench-AA 57.9 55.9 48.2
GPQA 86.9 91.7 89.2
Chartography 27.8 24.6 27.8
VideoIndex 52.9 51.4 51.9

ตาม model card คะแนน Terminal Bench, FrontierCode-AA และ AutomationBench-AA อ้างอิงจาก Artificial Analysis และ APEX-Agents จากลีดเดอร์บอร์ดของ Mercor ส่วน Work360 เป็น benchmark ของ Qwen เอง และ card ไม่ได้ระบุแหล่งที่มาสำหรับข้ออื่น ๆ

สิ่งที่ตัวเลขบอก:

นี่คือตัวเลขจากผู้ผลิต ดังนั้นควรทดสอบโมเดลกับงานของคุณเองก่อนย้ายงาน production มาใช้

หา Qwen4-35B-A3B ได้จากที่ใด

คุณมี 3 เส้นทาง: ใช้ API แบบ managed, ใช้ weights เต็มบนเซิร์ฟเวอร์ของคุณเอง หรือใช้เวอร์ชัน quantize บน GPU เครื่องเดียว

Schema of the three ways to run Qwen4-35B-A3B: the Qwen Cloud API with model id qwen4-35b-a3b, the full weights on Hugging Face and ModelScope served with vLLM, SGLang or TokenSpeed, and quantized GGUF files from Unsloth run with llama.cpp or Ollama on a single GPU

1. Qwen Cloud API. model id คือ qwen4-35b-a3b หน้าภูมิภาคสิงคโปร์ระบุราคา $0.06 อินพุต และ $0.36 เอาต์พุต ต่อ 1M token, cached input ราคา $0.003, ลิมิต 5,000,000 token ต่อนาที และโควตาฟรี 1M token บนหน้าโมเดล รองรับรูปแบบ OpenAI Chat Completions และ Responses รวมถึง API ที่เข้ากันได้กับ Anthropic ดูคู่มือ Qwen4-35B-A3B API สำหรับการตั้งค่า และวิธีใช้ Qwen4-35B-A3B ฟรี สำหรับเส้นทางที่ไม่มีค่าใช้จ่าย

2. Weights เต็ม. ดาวน์โหลดจาก Hugging Face หรือ ModelScope แล้วเสิร์ฟด้วย vLLM, SGLang หรือ TokenSpeed Model card ลิงก์ไปยังสูตร vLLM และระบุว่าแนะนำอย่างยิ่งให้ใช้ engine เฉพาะทางสำหรับ production

3. Quantize, local. repo GGUF ของ Unsloth มี quants ตั้งแต่ 1-bit ถึง 8-bit สำหรับ llama.cpp และ card ยังชี้ไปยัง Ollama, mlx-vlm และ LiteRT-LM ด้วย ขั้นตอนทีละข้ออยู่ในวิธีรัน Qwen4-35B-A3B แบบ local

ข้อควรระวังสำหรับผู้ใช้ local: Qwen แถม tokenizer reference implementation มาเอง (ต้องใช้ tiktoken และ trust_remote_code=True) ส่วน Jinja chat template ใน tokenizer-compat/ มีไว้เพื่อ backward compatibility เท่านั้นและอาจให้ token ID ที่ต่างกัน จึงควรใช้ build ของ llama.cpp หรือ Ollama ที่รองรับ Qwen4 อยู่แล้ว

ให้ coding agent ของคุณทดสอบ Qwen4-35B-A3B ด้วย Apidog CLI

ก่อนจะต่อ Qwen4-35B-A3B เข้ากับแอป ให้ยืนยันก่อนว่า route ที่โค้ดของคุณเรียกตอบกลับจริง coding agent ของคุณรันคำสั่ง shell อยู่แล้ว จึงสั่งให้มันใช้ Apidog CLI สร้างเทสต์ รัน และอ่านผลลัพธ์ได้

ตั้งค่าครั้งเดียว:

npm install -g apidog-cli@latest
apidog login --with-token <YOUR_TOKEN>

หรือบอก agent ว่า: "อ่าน https://apidog.com/apidog-cli-installation-guide.md แล้วตั้งค่า Apidog CLI" จากนั้นส่ง prompt เดียวให้ Claude Code, Codex หรือ OpenCode:

In Apidog project <PROJECT_ID>, create a test scenario called "Qwen4-35B-A3B preflight".
Step 1: GET the Hugging Face model API for Qwen/Qwen4-35B-A3B and assert 200 and an apache-2.0 license.
Steps 2 and 3: POST to the Qwen Cloud Chat Completions and Responses routes with model
qwen4-35b-a3b and no API key, and assert a 401 whose body asks for a key.
Validate the payload against the CLI schema, run the scenario and tell me which steps fail.

Agent จะอ่านโครงสร้าง payload ตรวจสอบความถูกต้อง สร้าง scenario แล้วรัน:

apidog cli-schema get test-scenario-update
apidog cli-schema validate test-scenario-update --file steps.json
apidog test-scenario create --project <PROJECT_ID> --name "Qwen4-35B-A3B preflight" --folder-id 0
apidog test-scenario update <SCENARIO_ID> --project <PROJECT_ID> --file steps.json
apidog run -t <SCENARIO_ID> --project <PROJECT_ID> -e <ENV_ID> -r cli

นี่คือผลการรันบนโปรเจกต์ sandbox การ assertion ทั้ง 6 ข้อผ่านหมด: weights เป็นแบบสาธารณะ และทั้งสอง route ของ Qwen Cloud ปฏิเสธการเรียกที่ไม่มี key

Apidog CLI running the Qwen4-35B-A3B preflight on a sandbox project: Hugging Face returns 200 with an apache-2.0 license, the Qwen Cloud Chat Completions and Responses routes return 401 without a key, 6 of 6 assertions pass
Sequence: you give your coding agent one prompt, the agent validates and creates a test scenario with Apidog CLI, Apidog runs it, Hugging Face returns 200 with an apache-2.0 license, both Qwen Cloud routes return 401 without a key, and the agent reports 6 of 6 assertions passed

ต่อไป ให้ agent บันทึก base URL และ key ของคุณไว้ใน Apidog environment และเพิ่มการเรียกจริงที่ assert สถานะ 200, อาร์เรย์ choices ที่ไม่ว่าง และออบเจกต์ usage scenario เดียวกันใช้กับเซิร์ฟเวอร์ vLLM หรือ llama.cpp แบบ local ได้: เปลี่ยน base URL เป็น http://localhost:8000/v1 และคง assertion เดิมไว้ สำหรับการตั้งค่า agent เพิ่มเติม อ่าน Apidog CLI ใน Claude Code

เมื่อทีมมี agent runs แบบนี้หลายงานพร้อมกัน Sharkly ช่วยให้คุณมอบหมายเป็นงานบนบอร์ดที่ใช้ร่วมกัน โดยแต่ละ agent รันบนเครื่องของคุณเองด้วยแพ็กเกจ Claude Code, Codex หรือ OpenCode ของคุณเอง และคุณตรวจสอบผลงานที่มันส่งมา เริ่มใช้ฟรี

ใครควรสนใจ Qwen4-35B-A3B?

คำถามที่พบบ่อย

Qwen4-35B-A3B เป็น open source หรือไม่? Weights เปิดภายใต้ Apache 2.0 บน Hugging Face และ ModelScope คุณจึงใช้ แก้ไข และนำไปใช้เชิงพาณิชย์ได้ภายใต้สัญญาอนุญาตนี้

Qwen4-35B-A3B เปิดใช้พารามิเตอร์กี่ตัว? 3B ต่อ token จากทั้งหมด 35B Model card ระบุ n-gram embedding 20B และเลเยอร์ MTP 2B แยกต่างหาก

Context window ของ Qwen4-35B-A3B เท่าไร? 1,048,576 token แบบ native บน Qwen Cloud อินพุตสูงสุด 991K token เอาต์พุตสูงสุด 128K หรือ 256K ใน thinking mode

API ของ Qwen4-35B-A3B ราคาเท่าไร? บนหน้าภูมิภาคสิงคโปร์ของ Qwen Cloud ณ วันที่ 4 ธันวาคม 2026: $0.06 ต่อ 1M input tokens และ $0.36 ต่อ 1M output tokens พร้อมโควตาฟรี 1M token

รัน Qwen4-35B-A3B บน GPU เครื่องเดียวได้ไหม? Qwen ระบุว่าได้เมื่อ quantize แล้ว Unsloth เผยแพร่ GGUF quants ตั้งแต่ 1-bit ถึง 8-bit ส่วนความต้องการหน่วยความจำขึ้นกับระดับ quant และความยาว context ที่คุณเลือก

ฝึกการออกแบบ API แบบ Design-first ใน Apidog

ค้นพบวิธีที่ง่ายขึ้นในการสร้างและใช้ API