Phai-A1-35B-1M is an open-weight Mixture-of-Experts (MoE) language model built upon Qwen3.6-35B-A3B (35B total parameters, 3B active) and specialized for coding and agentic workflows. Post-trained entirely on Huawei Ascend NPUs using Supervised Fine-Tuning (SFT) and Group Relative Policy Optimization (GRPO) across 4,000 real sandbox environments, the model receives execution-based feedback from code runs, unit tests, and tool interactions to excel at multi-step reasoning, debugging, and tool calling. It natively supports an ultra-long context window of up to 1 million (1M) tokens via built-in YaRN (factor=4) RoPE scaling—enabling repository-scale code comprehension and long-horizon task planning—while delivering strong benchmark results on SWE-Bench, TAU3-Bench, and IFBench across six languages (
en,zh,ja,ar,ru,de) under an Apache 2.0 license.
[!NOTE] MTP — Speculative Decoding: No
| File Name | Quant Type | File Size | File Link | Description |
|---|---|---|---|---|
| Phai-A1-35B-1M.MXFP4_MOE.gguf | MXFP4_MOE | 19.8 GB | Link | MXFP4_MOE: Highly optimized for NVIDIA Blackwell hardware accelerators (e.g., RTX Pro 6000, RTX 50-series, B200, B300), offering native hardware-accelerated FP4 Tensor Core speeds and a strong balance of size and performance. |
| Phai-A1-35B-1M.Q4_K_M.gguf | Q4_K_M | 21.2 GB | Link | Good quality, default size for most use cases, recommended. |
| Phai-A1-35B-1M.Q5_K_M.gguf | Q5_K_M | 24.7 GB | Link | High quality, recommended. |
| Phai-A1-35B-1M.Q5_K_S.gguf | Q5_K_S | 24 GB | Link | High quality with slight space savings, recommended. |
| Phai-A1-35B-1M.Q8_0.gguf | Q8_0 | 36.9 GB | Link | Extremely high quality, generally unneeded but max available standard quant. |
| Phai-A1-35B-1M.mmproj-bf16.gguf | mmproj-bf16 | 903 MB | Link | Multimodal projection file in BF16 format. Used for vision/image capabilities. |
LLM inference in C/C++ — https://github.com/ggml-org/llama.cpp
Quantized using llama.cpp by prithivMLmods.
PhaiModelLab/Phai-A1-35B-1M