Run it inside Claude Code on your own Mac with Claude Code Local (⭐ 3.5k stars): free, private and offline.
⭐ 3.8k GitHub stars (github.com/nicedreamzapp) · ⬇️ 64.1k all-time downloads (huggingface.co/divinetribe)
More from me on GitHub: github.com/nicedreamzapp · this model ⬇️ 500+ all-time downloads
A 4-bit MLX quantization of microsoft/AesCode-32B for Apple Silicon, with the vision tower kept in bf16 so it still sees.
AesCode-32B is a Qwen3VLForConditionalGeneration finetune of
Qwen/Qwen3-VL-32B-Instruct
that takes a screenshot and writes the HTML and CSS to recreate it (slides,
posters, dashboards, product pages). Only the language tower is
quantized to 4-bit; the 351 vision_tower.* tensors stay in bfloat16, so the
image path keeps its quality.
4-bit is about a quarter the size for the smallest machines; bf16 is full quality.
| precision | 4-bit language tower, bf16 vision tower |
| vision | all 351 vision_tower.* tensors kept, vision_config and processor configs intact |
| size | about 18 GB on disk |
| framework | runs with mlx-vlm on Apple Silicon |
Every size of this model is put through the same gate before it ships: a real screenshot of a live ineedhemp.com product page is fed in and the model is asked for an SEO, marketing and accessibility audit plus image alt-text. A smaller build is only published if it still reads the page about as well as the full-precision one. This 4-bit build passed. From its audit of the real page:
The page is a product detail for a "Divine Crossing v5 Rebuildable Concentrate Heater" on a dark, vape-themed store. Top navigation bar, a two-column grid: left product imagery with a main photo, zoom icon and four thumbnails; right copy and a purchase form with star rating, price range, trust badges (shipping, warranty, American-owned), a description tab row and social-sharing buttons.
It named the real on-page elements and wrote usable alt-text, so the quantization did not break its vision.
pip install mlx-vlm
python -m mlx_vlm.generate --model divinetribe/AesCode-32B-MLX-4bit \
--image screenshot.png \
--prompt "Recreate this screenshot as a single HTML file with inline CSS." \
--max-tokens 1200
Runs on an M-series Mac. No cloud inference, no API keys, no telemetry.
The most authoritative evaluation that actually covers this model is the one in AesCode's own paper, "AesCode: Aesthetic Code Generation with Decoupled Cross-Modal Rewards" (arXiv:2610.18860). There is no independent public leaderboard that lists AesCode specifically, so these numbers come from the authors' benchmark of 300 infographic-style samples, scored for rule-following correctness and visual quality. Scores quoted from the model card:
| Model (with reference image) | Overall | Visual |
|---|---|---|
| AesCode-32B | 85.89 | 77.44 |
| Claude Opus 4.8 (no reference) | 76.78 | |
| GPT-5.5 (no reference) | 76.31 | |
| Qwen3-VL-32B base (with reference) | 61.10 |
These are the original model's numbers. For general-vision numbers on the backbone itself, see the official Qwen3-VL evaluations (that is the base model's benchmark, not AesCode's).
This build stands entirely on other people's work. Credit where it is due:
Thank you to all of them.
Quantization trades a little precision for size. It does not add knowledge and it does not make output correct. You are responsible for what you build with it.
Built and published by divinetribe · more models
If these models are useful to you, you can support the work on GitHub Sponsors. I'm open to full-time and contract work on local AI for Apple Silicon. See what I've built at nicedreamzwholesale.com/software or email info@nicedreamzwholesale.com.
model-00002-of-00004.safetensors 5.4 GBmodel-00003-of-00004.safetensors 5.3 GBmodel-00001-of-00004.safetensors 5.3 GBmodel-00004-of-00004.safetensors 3.6 GBmicrosoft/AesCode-32B