LimitDigest
Home / Guides / Phai-A1 35B: can you run it locally, and is it any good?

Phai-A1 35B: can you run it locally, and is it any good?

Updated 2026-11-30. From 4Paradigm's Phai site and model cards; plan prices from the official pricing pages.

Quick answer

Yes, Phai-A1 35B runs locally: the 4-bit GGUF is 21.2 GB, so by our estimate it fits a 32 GB Mac or a 24 GB GPU like the RTX 3090 or 4090. It's 4Paradigm's coding and agent tune of Qwen3.6 35B-A3B, with open weights under Apache 2.0. On 4Paradigm's own tests it beats its base by 10 points on SWE-bench Verified (83.6% vs 73.4%), but the dense Qwen3.8 27B still scores higher there (86.0%).

Phai-A1 35B: what we know and what we don't

QuestionAnswer
Who made it4Paradigm (Phai model lab)
ReleasedOpen weights on Hugging Face and ModelScope, announced Nov 30, 2026
What it isQwen3.6 35B-A3B post-trained for coding and agent work
Size35.1B parameters in total, about 3B used per token
Download21.2 GB for the 4-bit Q4_K_M GGUF; 16.8 GB at Q3_K_M
Context1M tokens (YaRN, set in the config)
LicenseApache 2.0, plus the base Qwen3.6 terms
SWE-bench Verified83.6%, ahead of Qwen3.6 35B-A3B (73.4%), behind Qwen3.8 27B (86.0%) (vendor-reported)
Official API priceNone published

From 4Paradigm's Phai site and Hugging Face model cards, checked 2026-11-30. Benchmark numbers are 4Paradigm's own, not independent tests.

What hardware Phai-A1 35B needs

Plan on 24 GB of GPU memory or a 32 GB Mac. The official GGUF builds put the 4-bit Q4_K_M file at 21.2 GB and Q3_K_M at 16.8 GB.

  • Works well: Macs with 48 GB or more, with the 4-bit build and plenty of room for long context (our estimate).
  • Works: 24 GB GPUs such as the RTX 3090 and 4090, and 32 GB Macs, with the 4-bit build and a modest context. 4Paradigm's own speed demo runs it on a single RTX 3090.
  • Tight: 16 GB GPUs or 24 GB Macs with the 16.8 GB Q3_K_M build. Expect a short context or some layers on the CPU (our estimate).
  • No: 8 GB and 12 GB machines. See the local model finder for models that fit.

Only about 3B parameters run per token, so it answers much faster than a dense 27B model of the same file size. Our per-quant, per-machine estimate is on the Phai-A1 35B memory requirements page.

Phai-A1 35B vs Qwen3.6 35B-A3B and Qwen3.8 27B

Against its own base, Phai-A1 wins every test in 4Paradigm's chart, with the biggest jumps on bug fixing: SWE-bench Verified 83.6% vs 73.4% and SWE-bench Pro 65.0% vs 49.5%. Against the dense Qwen3.8 27B it's a split. Phai-A1 leads on the harder SWE-bench Pro and on Multilingual, while Qwen3.8 27B wins SWE-bench Verified, agents, instructions and long context.

BenchmarkPhai-A1 35BQwen3.6 35B-A3BQwen3.8 27B
SWE-bench Verified83.673.486.0
SWE-bench Pro65.049.562.7
SWE-bench Multilingual74.0n/a73.8
TAU3-Bench (agents)69.667.271.3
IFBench (instructions)69.464.279.5
AA-LCR (long context)75.071.782.0

Scores from the chart on 4Paradigm's model card and Phai site (vendor-reported; n/a means 4Paradigm listed no score).

Our take: if you already run Qwen3.6 35B-A3B for coding, Phai-A1 is a straight upgrade at the same memory cost. If you have 24 GB and want the best all-round scores, Qwen3.8 27B still edges it, but it's dense, so it runs slower per token. Compare both on the Qwen3.8 27B requirements page.

License and plan fallback details

Can you use Phai-A1 35B for work?

Yes, as far as the card goes. The model card carries an Apache 2.0 tag, which allows commercial use. It also says users "must comply with the license terms and conditions of the underlying base model", so read the Qwen3.6 35B-A3B card too before you ship it in a product.

Can Phai-A1 35B stand in for a paid coding plan?

As a fallback, yes. Run locally, it has no 5-hour or weekly cap, while Codex on ChatGPT Plus ($20) and Claude Code on Claude Pro ($20) both meter usage in 5-hour and weekly windows.

Its 83.6% SWE-bench Verified is 4Paradigm's number, not an independent test, so try it on your own repo before you drop a plan. For how plan windows work, see Codex limits explained and Claude Code limits explained.

How to run Phai-A1 35B

  1. llama.cpp (Mac, Windows, Linux): download the Q4_K_M or Q3_K_M file from the official GGUF repo. It keeps the Qwen3.6 35B-A3B architecture, and 4Paradigm's quick start loads it with llama-cpp-python.
  2. Ollama and LM Studio: both can open GGUF files from Hugging Face. We found no Phai entry in Ollama's own library on Nov 30, 2026, so point them at the Hugging Face repo.
  3. Servers: for long context, the model card recommends vLLM or SGLang with prefix caching and chunked prefill. The 1M-token window is already set in the config.

Comparing other open models first? The best local LLM for coding and best local LLM for a 32GB Mac pages rank the options per machine.

Sources

FAQ

What is Phai-A1 35B?

It's a free, open-weights coding and agent model from 4Paradigm, announced Nov 30, 2026. It's Qwen3.6 35B-A3B post-trained with supervised tuning and reinforcement learning, with a 1M-token context.

How much memory does Phai-A1 35B need?

About 24 GB of GPU memory or a 32 GB Mac for the 21.2 GB 4-bit build. The 16.8 GB Q3_K_M build squeezes onto 16 GB GPUs with a short context.

Is Phai-A1 better than Qwen3.6 35B-A3B?

On 4Paradigm's own tests, yes, on all six benchmarks it lists, including SWE-bench Verified at 83.6% vs 73.4%. Those are vendor numbers, not independent tests.

Is Phai-A1 better than Qwen3.8 27B?

Only on part of it. Phai-A1 leads on SWE-bench Pro (65.0% vs 62.7%), while Qwen3.8 27B scores higher on SWE-bench Verified, agent, instruction and long-context tests.

Can I use Phai-A1 commercially?

The card is tagged Apache 2.0, which allows commercial use, and it asks you to follow the base Qwen3.6 license as well.

Does Phai-A1 have an API price?

We didn't find an official per-token price for Phai-A1, so it isn't in our API price table.

Related

More guides