/ Модель

Характеристики

Контекст
1 048 576 токенов
Размер весов
186 ГБ
Лицензия
MIT
Архитектура
glm5_next · dense
Базовая модель
GLM-5.3-Flash
Библиотека
mlx
Опубликована
26 авг 2026

GLM-5.3-Flash-MLX-oQ4-MTP

Изображение и текст → текст12 профессий

Vontra/GLM-5.3-Flash-MLX-oQ4-MTP — это мультимодальная версия модели GLM-5.3-Flash от Z.ai, преобразованная Vontra в формат MLX для запуска на Apple Silicon.

1 532скачиваний за 30 дней5лайковвеса обновлены8 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Модель предназначена для задач, связанных с обработкой текста и изображений, включая диалоговое взаимодействие и генерацию ответов в vision-language сценариях. Поддерживаются английский и китайский языки.

Модель использует архитектуру glm5_next с разреженной mixture-of-experts, гибридным линейным и разреженным вниманием, manifold-constrained hyper-connections и встроенным слоем предсказания следующего токена. Контекст настроен на 1 048 576 токенов. Веса представлены в формате MLX safetensors и сжаты методом oQ4: основная часть использует 4-битное аффинное квантование с выборочными переопределениями точности 5, 6 и 8 бит. Размер загрузки составляет около 185,7 ГБ. Сохранены исходные токенизатор, шаблон чата, мультимодальный процессор и конфигурация генерации.

К сильным сторонам относятся мультимодальность, очень длинный контекст, смешанная точность с защитой чувствительных модулей и встроенная поддержка native MTP для ускорения генерации. Ограничения — значительный объём модели, зависимость от Apple Silicon и необходимость совместимого runtime: требуются MLX-VLM с интеграцией GLM5 Next и сборка oMLX с поддержкой oQ и native MTP; старые версии не поддерживаются. В опубликованном тесте на Apple M3 Ultra с 256 ГБ unified memory базовый режим показал 6,2155 токена/с, а режим native MTP — 4,9969 токена/с. Модель распространяется по лицензии MIT.

Для каких профессий подходит12

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

At a glance

ItemValue
Base modelzai-org/GLM-5.3-Flash
RepositoryVontra/GLM-5.3-Flash-MLX-oQ4-MTP
FormatMLX safetensors
QuantisationoQ4 mixed precision: 4-bit affine base with 554 sensitivity-selected 5/6/8-bit overrides
Base group size64
Source revision3f1971b7b5f7a528c9c4ef6212c8785298a8c24a
Source weight formatFP8 E4M3 with 128x128 block scaling
Sensitivity methodrelative activation MSE measured with a validated 4-bit proxy
Protected or overridden modules554
Native MTPIncluded, one matching upstream prediction layer
MTP weight precision4-bit affine base with 12 native-MTP overrides at 5/6/8-bit
Weight tensors3125 total, including 59 MTP tensors
Weight shards35
Download size185.749 GB / 172.992 GiB
Configured context1,048,576 tokens
Architectureglm5_next, multimodal sparse MoE

The upstream tokenizer, chat template, multimodal processor, generation configuration, and native MTP metadata are preserved.

oQ recipe

ComponentTreatment
Eligible base modules4-bit affine, group size 64
Sensitivity-protected modules5-bit, 6-bit, and 8-bit affine, 554 modules
Routed experts4-bit affine base with sensitivity-selected higher-precision expert projections
Token embeddings and output headsource-compatible precision
Vision encoder and projectorsource-compatible precision
Native MTP prediction layer4-bit affine base with 12 native-MTP overrides at 5/6/8-bit
Other non-quantisable tensorsPreserved at source-compatible precision
ConverterVontra streamed oQ converter using MLX 0.32.0

Sensitivity was measured with the built-in multilingual code calibration set, 128 samples at 256 tokens. The allocation rule was byte-budgeted layer-sensitivity ranking under the oQ4 target and hard cap. These details are part of the release recipe and should be used when comparing oQ variants.

This is a weight-only post-training quantisation. It does not retrain or fine-tune the upstream model.

Runtime compatibility

GLM-5.3-Flash uses the new glm5_next multimodal architecture, hybrid linear and sparse attention, manifold-constrained hyper-connections, and an embedded next-token prediction layer. The oQ layout also requires a runtime that understands its per-module quantisation metadata.

Runtime pathStatus
oMLX 0.6.3rc3 build 2475Validated for oQ baseline and native-MTP generation
MLX 0.32.0Mixed-precision tensor runtime
MLX-VLM 0.6.3 with GLM5 Next runtime integrationRequired for glm5_next model and vision loading
Older builds without oQ or GLM5 Next MTP integrationUnsupported

[!IMPORTANT] A runtime that can load an ordinary MLX conversion is not necessarily compatible with this oQ checkpoint or its embedded MTP layer. Use a build that supports the recorded per-module recipe, GLM5 Next drafting, verification, and cache reconciliation.

Download and use

hf download Vontra/GLM-5.3-Flash-MLX-oQ4-MTP \
  --local-dir GLM-5.3-Flash-MLX-oQ4-MTP

In a compatible oMLX build:

  1. Add the downloaded model directory.
  2. Load it once with native MTP disabled to validate the oQ baseline path.
  3. Enable Native MTP in the model settings and select the validated draft depth shown below.
  4. Start a new conversation so the runtime rebuilds the model and caches with MTP active.

Apple M3 Studio performance

Measured on the same Apple M3 Studio, with identical prompts, sampling, context, output length, and warmed model state:

ModeOutput tokensMedian decode
oQ baseline, MTP off1286.2155 tokens/s
oQ with native MTP1284.9969 tokens/s
Benchmark detailValue
ChipApple M3 Ultra
Unified memory256 GB
RuntimeoMLX 0.6.3rc3 build 2475, MLX 0.32.0
Draft depth1
Draft acceptance100.0% on captured one-token drafts
Decode ratio, MTP/baseline0.8039x
Timed runsthree per mode; median reported
Warm-upone 32-token greedy request discarded before each measured mode
Samplinggreedy decoding with temperature 0

These figures are a local reference, not a cross-platform guarantee. Prompt shape, image input, context growth, draft acceptance, sampling, memory pressure, thermal state, and runtime revisions can materially change performance.

Architecture

GLM-5.3-Flash is Z.ai's first natively multimodal GLM-5 model. It combines KDA linear-attention layers with periodic sparse-attention layers, a sparse mixture-of-experts feed-forward stack, manifold-constrained hyper-connections, and a native next-token prediction layer.

Architecture detailUpstream value
Parameters320B total / 18B active
Language layers45
Linear / sparse-attention layers34 / 11
Dense / sparse-MoE feed-forward layers3 / 42
Routed / active experts288 / 8, plus 1 shared expert
Hidden size4,096
Attention heads64
Vocabulary size154,880
Manifold-constrained hyper-connection width4 streams
Native MTP layers1
Vision encoder24 layers, 1,024 hidden size, 448-pixel input
Configured maximum context1,048,576 tokens

See the official model card, Z.ai overview, and GLM-5 technical report for upstream training, evaluations, intended uses, and safety guidance.

Validation

CheckResult
Config, processor, tokenizer, and chat-template files presentPassed; current upstream tokenizer, chat template, processor, generation config, and MIT licence are present
Safetensors index resolves every tensor to an existing shardPassed; all 3,125 indexed tensors resolve to existing shards
All shards open and tensor headers match the indexPassed; all 35 shards open with no missing, duplicate, unexpected, or zero-length tensors
Per-module oQ metadata matches the saved tensor layoutsPassed; the 4-bit base and all 554 per-module overrides match the saved layouts
Native MTP configuration and 59 MTP tensors presentPassed; one configured NextN layer and 59 native-MTP tensors are present
Baseline text generationPassed; exact instruction, factual, arithmetic, and sustained streaming tests completed
Native-MTP text generationPassed for the same correctness gates; sustained decode is slower than baseline on this runtime
Greedy baseline/MTP output equivalencePassed on instruction, factual, and arithmetic gates; sustained hash equivalence is not claimed
Image-and-text smoke testPassed structurally; image generation was not benchmarked
Long-context smoke testNot claimed; upstream context metadata is preserved

Validation used oMLX 0.6.3rc3 build 2475, MLX 0.32.0, and MLX-VLM 0.6.3 with GLM5 Next runtime integration.

Limitations

  • Mixed-precision quantisation can reduce quality relative to the official checkpoint. The effect can differ by task and by oQ allocation.
  • Sensitivity scores are calibration-dependent; protected modules are not a guarantee of BF16-equivalent quality.
  • Native MTP improves speed only when draft acceptance offsets drafting and verification cost. It may be neutral or slower for unpredictable output.
  • The configured one-million-token context does not imply that every Apple-silicon system has enough memory for a full-context request.
  • Image prefill has different memory and throughput characteristics from text-only generation and is not represented by the decode benchmark above.
  • Runtime support for glm5_next, oQ metadata, and native MTP is evolving. Use the exact validated versions listed in this card.
  • Validate numerical behaviour, output quality, safety, and tool use on representative workloads before production deployment.

This is a community quantisation and is not an official Z.ai release.

Licence and attribution

The upstream model is released under the MIT License. The required licence text is included in this repository.

Model design, training, upstream evaluations, and documentation belong to Z.ai and the GLM-5 contributors. The oQ conversion, Apple-silicon validation, native-MTP integration work, and packaging are provided by Vontra.

If you use this model in research, cite the upstream report:

@misc{glm5team2026glm5,
  title        = {GLM-5: from Vibe Coding to Agentic Engineering},
  author       = {GLM-5-Team and others},
  year         = {2026},
  eprint       = {2602.15763},
  archivePrefix= {arXiv},
  primaryClass = {cs.LG},
  url          = {https://arxiv.org/abs/2602.15763}
}

Choose for your Mac

64GB Macs · 128GB Macs · 256GB Macs

No measured memory tier is assigned here. The collections use published M3 Studio peaks with at least 25% nominal headroom; fit on other Macs is an estimate, and full context is not guaranteed. Start with short context and one request.

Runtime and evidence

oMLX version mentioned in the existing card: 0.6.3rc3; consult its compatibility notes for whether this was tested and any required integrations. The original performance tables retain their benchmark conditions and speed figures; this documentation update adds no new test results.

Quick start and demo prompt

hf download Vontra/GLM-5.3-Flash-MLX-oQ4-MTP --local-dir ./models/GLM-5.3-Flash-MLX-oQ4-MTP

Add the downloaded folder to oMLX model directories, refresh the list, and follow this card's architecture and MTP compatibility requirements before loading.

Try this in a new chat with a 128-token output limit:

Explain why the sky looks blue in three short sentences.

This is a demo prompt to try, not a recorded successful run; a captured demonstration for this documentation update is not yet available.

Follow Vontra for new Apple Silicon releases and fixes.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · mlx

Нельзя запустить

MLX-модели работают только на Apple Silicon, на GPU NVIDIA они не запускаются.

Класс архитектуры
Glm5NextForConditionalGeneration
Ревизия весов
9938ce0

0 моделей