GLM-5.3-Flash
Run the 320B GLM-5.3-Flash worker either on one 96 GB GPU + 128 GB system RAM workstation via Maxrio9’s Project Maya v3 hybrid offload (lossless 256K solo and 8-stream multi-user) or across two DGX Sparks with Mia's AI Lab on Ash Hart / TensorFold.
Choose your workstation or cluster
Click any row below to switch Step 02 to that hardware path’s exact build, configuration and launch commands.
| MACHINE & PROFILE | ENGINE & QUANT | CONTEXT | MEASURED SPEED |
|---|---|---|---|
| Project Maya v3 · EXL3 4.05 bpw + DFlash2 Q4_K_M | 256K (262,144) | 139.93 tok/s code · 4224 prefill | |
| Project Maya v3 · EXL3 4.05 bpw + DFlash2 Q4_K_M | 32K (8 parallel slots) | 164.73 tok/s lossless · 166.57 opt-in AMX | |
| TensorFold · Mia's AI Lab EXL3 4 bpw + DFlash2 | Auto (≤1M) · Vision | 58.35 prose · 109.71 struct. |
One RTX PRO 6000 (96 GB) + 128 GB system RAM
Splits ~152.6 GB of 4.05bpw EXL3 experts across ~85 GB VRAM and ~75 GB pinned DDR5 RAM over PCIe Gen5 and AVX-512 / optional Intel AMX-BF16. Requires CUDA toolkit, CMake 3.24+, Ninja and C++20.
2× NVIDIA DGX Spark (256 GB) · 24/38 office checks
Direct QSFP / RoCE link runs GLM-5.3-Flash-EXL3-4bpw with vision and long context. In our rental office case study, it passed 24/38 real paperwork checks with citations.
Build and start the selected stack
Choose between two paths: (1) Single-workstation hybrid offload (~152.6 GB EXL3 experts split across 96 GB GPU VRAM + 128 GB DDR5 system RAM via Project Maya v3, CUDA toolkit, CMake 3.24+); or (2) Two DGX Sparks connected via ConnectX-7 RoCE with Docker and passwordless SSH from rank 0.
git clone https://github.com/Maxrio9/glm-5.3-flash-maya-dflash-recipe.git cd glm-5.3-flash-maya-dflash-recipe ./scripts/build-engine.sh --dir ./project-maya --cuda-arch 120 (cd ./project-maya && ./maya.sh --setup --model glm-exl3-4.05bpw --draft dflash2 --context 262144 --download-model --yes --no-start) ./scripts/start.sh --profile single --config configs/maya-config.example.json
On 96 GB hybrid profiles, use ./scripts/start.sh --dry-run first to check environment flags, and update model paths in configs/maya-config.example.json (or point --config at ./project-maya/config.json generated by --setup). Seeing the 2× Spark cluster in office workflows? Read the rental office case study →
Paste this into Claude Code or Codex and it will configure, verify and start whichever GLM-5.3-Flash hardware stack you selected above.
Set up GLM-5.3-Flash locally using 96 GB GPU + 128 GB RAM · Project Maya v3 (Solo 256K) (Turboderp EXL3 4.05 bpw + Anbeeld DFlash2 Q4_K_M, config configs/maya-config.example.json) via Maxrio9 / Project Maya v3 (https://github.com/Maxrio9/glm-5.3-flash-maya-dflash-recipe). Commands: git clone https://github.com/Maxrio9/glm-5.3-flash-maya-dflash-recipe.git cd glm-5.3-flash-maya-dflash-recipe ./scripts/build-engine.sh --dir ./project-maya --cuda-arch 120 (cd ./project-maya && ./maya.sh --setup --model glm-exl3-4.05bpw --draft dflash2 --context 262144 --download-model --yes --no-start) ./scripts/start.sh --profile single --config configs/maya-config.example.json Steps: 1. Inspect my GPU, system RAM, CPU ISA (AVX-512 / AMX) or 2-node Spark SSH link to confirm compatibility with 96 GB GPU + 128 GB RAM · Project Maya v3 (Solo 256K). 2. Build or download the recipe dependencies and verified EXL3 + DFlash2 files. 3. Verify dry-run flags first, then start the server on 127.0.0.1:8080 and run `curl http://127.0.0.1:8080/v1/models` to confirm the endpoint is healthy.
Verify it works, then connect your tools
Once the server is running, it exposes a local OpenAI-compatible API at http://127.0.0.1:8080/v1 — the model server itself sends nothing over the internet (check any client app’s own privacy settings).
curl http://127.0.0.1:8080/v1/models
Open WebUI
Best for everyday chat, PDFs and images in your browser. In Open WebUI under Settings → Connections, point the OpenAI API URL here (key: local):
OPENAI_API_BASE_URL=http://127.0.0.1:8080/v1
Codex, Cline, OpenCode & Continue
Any OpenAI-compatible coding agent works straight against your local server. Pick the OpenAI-compatible provider (confirm exact model ID from /v1/models):
- BASE URL
http://127.0.0.1:8080/v1- MODEL ID
GLM-5.3-Flash- API KEY
local
Python & OpenAI SDK
Drop-in swap in the standard OpenAI SDK — handy for summarizing emails, extracting JSON, or automating routine tasks.
from openai import OpenAI
client = OpenAI(
base_url="http://127.0.0.1:8080/v1",
api_key="local",
)
Need this wired into your business?
If you want local AI working across your team’s emails, documents or workflows without data leaving the building, let’s talk through your setup.
Numbers behind this recipe
Show detailed measurements, hybrid & Spark scores, and test records
- 96 GB GPU + 128 GB RAM hybrid offload (Project Maya v3, EXL3 4.05 bpw + DFlash2 Q4_K_M): 139.93 tok/s code, 99.39 prose, 106.19 structured, 188.76 edit at 1 stream lossless (256K ctx); 164.73 tok/s aggregate at 8 streams lossless AVX-512 (1.0 s p95 TTFT; 166.57 opt-in AMX-BF16 vs 59.97 stock); 4224 tok/s 64K prefill lossless (12.23 s TTFT; 4720 opt-in TF32/BF16-TC) with exact 69714-token needle recall.
- Decode & prefill (2× DGX Spark, TensorFold, EXL3 4 bpw): 58.35 tok/s prose · 109.71 tok/s structured · 1820 tok/s prefill at 8K · 4.51 s cold time to first token.
- Long context & agents (2× Spark / desk checks): tested up to 499994 tokens (~500K, vLLM); 97% tool calling and 89% multi-step agent tasks.
- Real office benchmark (2× Spark): 24/38 checks passed on real rental cases, 49.7 s median per matter.
- With eight prose streams on 2× Spark, upgrading TensorFold from 1.1.9 to 1.3.0 reduced aggregate decode from 96 to 90.21 tok/s.
- Honest caveats: The 96 GB GPU + RAM hybrid offload speeds were measured on one workstation (RTX PRO 6000 96 GB + 128 GB 8-channel DDR5-4800 + Xeon w7-3465X) and depend strongly on host RAM bandwidth and AVX-512/AMX support; results on other CPUs or RAM configs will differ. Update placeholder paths inside the example Maya configs (or pass ./project-maya/config.json from --setup). On 2× DGX Spark, the recipe selects context automatically up to 1,048,576 tokens (the 499,994-token test used vLLM). Inco AI licenses the default Spark DFlash2 drafter for noncommercial use. Run ./stop.sh on rank 0 after use.
- Source repositories: Project Maya v3 hybrid recipe ↗ · Maya v3 fork ↗ · EXL3 4.05 bpw ↗ · 2× Spark recipe ↗
- Test records: MEASURED 02 DEC 2026 · 96 GB CARD · GLM-5.3-FLASH · PROJECT MAYA V3 MEASURED 01 OCT 2026 · 2 DGX SPARKS · GLM-5.3-FLASH-EXL3-4BPW · TENSORFOLD MEASURED 28 AUG 2026 · 2 DGX SPARKS · GLM-5.3-FLASH EXL3 4BPW · VLLM MEASURED 28 OCT 2026 · 2 DGX SPARKS · GLM-5.3-FLASH-EXL3 MEASURED 29 AUG 2026 · 2 DGX SPARKS · GLM-5.3 FLASH EXL3 4 BPW · EXL3 TP2