SAVRN
Search Contact SAVRN

Open-weight model · Text generation

Ternary-Bonsai-2-27B-vllm

by Fraser Price fraserprice/Ternary-Bonsai-2-27B-vllm

Bonsai 2 27B by Prism ML, repacked for vLLM. Unofficial; not affiliated with Prism ML.

Parameters3.5B
Context262,144
Weights10.2 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads

Runs On

What it takes to serve Ternary-Bonsai-2-27B-vllm (3.5B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 7.0 GB 8.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 3.5 GB 4.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 1.8 GB 2.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Fraser Price, published under apache-2.0, revision 1f0b13dfcea1.

Bonsai 2 27B by Prism ML, repacked for vLLM. Unofficial; not affiliated with Prism ML. It needs the prismternary vLLM plugin from fraserprice/bonsai-vllm, which has the run command, kernels and throughput numbers: Built and tested for the RTX PRO 6000 Blackwell only; other NVIDIA GPUs are untested. Problems: open an issue. - The ternary weights of the MLX pack, bit for bit: the same 2-bit codes and FP16 group scales (g128), in the same Hadamard-rotated basis. MLX's redundant per-group biases (-scale) are dropped, and the rotation signs move into config.json. - The embedding table is dequantized to BF16. - Norms and the linear-attention state path are Prism ML's own tensors from the MLX…

Read Fraser Price's full model card

Work in progress. Expect rough edges and breaking changes.

Bonsai 2 27B by Prism ML, repacked for vLLM. Unofficial; not affiliated with Prism ML.

It needs the prism_ternary vLLM plugin from fraserprice/bonsai-vllm, which has the run command, kernels and throughput numbers:

docker run --rm --gpus all --ipc=host -p 8000:8000 -v bonsai:/cache fraserpricee/bonsai-vllm:20260918

Built and tested for the RTX PRO 6000 Blackwell only; other NVIDIA GPUs are untested. Problems: open an issue.

What's in here

  • The ternary weights of the MLX pack, bit for bit: the same 2-bit codes and FP16 group scales (g128), in the same Hadamard-rotated basis. MLX's redundant per-group biases (-scale) are dropped, and the rotation signs move into config.json.
  • The embedding table is dequantized to BF16.
  • Norms and the linear-attention state path are Prism ML's own tensors from the MLX pack, converted to the Hugging Face layout.
  • The MTP head, which the MLX pack doesn't carry, is the BF16 head of Qwen/Qwen3.8-27B. It only drafts tokens for speculative decoding; every token is verified by the Bonsai model.
  • Text only: the vision tower is not included.

Produced by prism-ternary-convert from the repo above. For benchmarks, sampling parameters and everything else about the model, see the original model card.

License

Apache 2.0, as the original. Created using Bonsai by Prism ML; built from Qwen3.8-27B by Alibaba Cloud. See NOTICE.txt.

Configuration

Architecture
Qwen3_5ForConditionalGeneration
Context length (tokens)
262,144
Layers
64
Hidden size
5,120
Feed-forward size
17,408
Attention heads
24
Key/value heads
4
Head dimension
256
Vocabulary size
248,320
Model type
qwen3_5
Quantization
prism_ternary

Identity and Version

Repository
fraserprice/Ternary-Bonsai-2-27B-vllm
Publisher
Fraser Price
Task
Text generation
Modality
Text
Library
vllm
Parameters
3.5B parameters
Languages
Not stated by the source
Revision
1f0b13dfcea15470ffd338b88d4cb24bcfdc277d
First published
2026-09-18
Last updated
2026-09-18

Files and Weights

12 files, 10.3 GB in total. The weights are 3 files totalling 10.2 GB in safetensors.

Weights3 files · 10.2 GB
Configuration3 files · 133.1 KB
Tokenizer2 files · 12.8 MB
Documentation2 files · 13.4 KB
Other1 file · 411 B
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00003.safetensorsWeights3.3 GB d219c19b2238
model-00002-of-00003.safetensorsWeights3.3 GB 02b94950e108
model-00003-of-00003.safetensorsWeights3.7 GB 702efef3a89e
config.jsonConfiguration8.6 KB
generation_config.jsonConfiguration202 B
model.safetensors.index.jsonConfiguration124.3 KB
LICENSEDocumentation11.4 KB
README.mdDocumentation2.1 KB
NOTICE.txtOther411 B
.gitattributesRepository1.6 KB
tokenizer.jsonTokenizer12.8 MB 0997f410c57a
tokenizer_config.jsonTokenizer17.9 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
10.2 GB
Download from Fraser Price

Released by Fraser Price through its official repository on Hugging Face. Read the license.

Built From

  • Derived from prism-ml/Ternary-Bonsai-2-27B-gguf
  • Quantized from prism-ml/Ternary-Bonsai-2-27B-gguf

Memory Requirements

PrecisionWeights in memory
As published10.2 GB
16-bit7.0 GB
8-bit3.5 GB
4-bit1.8 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Ternary-Bonsai-2-27B-vllm

How much GPU memory does Ternary-Bonsai-2-27B-vllm need?

About 8.5 GB at 16-bit and 2.1 GB at 4-bit: the weights (3.5B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Ternary-Bonsai-2-27B-vllm on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Ternary-Bonsai-2-27B-vllm commercially?

Yes. Ternary-Bonsai-2-27B-vllm is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Ternary-Bonsai-2-27B-vllm's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

Symbiotic-Beta

Convergent Intelligence

SymbioticLM is a hybrid symbolic–neural language model that integrates a frozen transformer backbone (Qwen2ForCausalLM) with a suite of symbolic cognitive modules for adaptive, interpretable reasoning. The architecture fuses neural token-level generation with symbolic introspection and reasoning: - Dynamic Thought Evolution with Helical Encoding and DNA-Inspired Memory (DTE-HDM) Enables structured long-term memory and spiral-context encoding across tokens. - Multi-Agent Symbiotic Response Mechanisms (M.A.S.R.M) Coordinates symbolic-neural agents via gated attention and adaptive response layers. - QwenExoCortex Projects contextual hidden states from the Qwen model into a symbolic fusion…

Open weights afl-3.0 3.6B parameters transformers

Model · Text generation

PowerMoE-3b

IBM Research

PowerMoE-3B is a 3B sparse Mixture-of-Experts (sMoE) language model trained with the Power learning rate scheduler. It sparsely activates 800M parameters for each token. It is trained on a mix of open-source and proprietary datasets. PowerMoE-3B has shown promising results compared to other dense models with 2x activate parameters across various benchmarks, including natural language multi-choices, code generation, and math reasoning. This is a simple example of how to use PowerMoE-3b model.

Open weights apache-2.0 3.4B parameters 4,096 tokens transformers

This is a MarinSkyRL-native Open-MOPD student after 32 optimizer steps. It starts from the authors' mixed-domain SFT checkpoint. Student responses were scored by the authors' math, code, and instruction-following RL teachers, routed by domain. The objective uses the student's selected top-16 token IDs and a clipped policy surrogate. This is an early checkpoint, not the authors' step-200 final model. The checkpoint is an unquantized, six-file Hugging Face export of the durable MarinSkyRL globalstep32 FSDP2 checkpoint. The policy export was used for the independent step-32 evaluation. The export's model.safetensors SHA-256 is bb7326640142069bc2e1fba5f54f15e0cccb1ff861f34f318b372eaab7abaf4b.…

Open weights apache-2.0 3.3B parameters 65,536 tokens transformers

Model · Text generation

Llama-3.2-3B-Instruct

Meta Llama

The Llama 3.2 collection of multilingual large language models (LLMs) is a collection of pretrained and instruction-tuned generative models in 1B and 3B sizes (text in/text out). The Llama 3.2 instruction-tuned text only models are optimized for multilingual dialogue use cases, including agentic retrieval and summarization tasks. They outperform many of the available open source and closed chat models on common industry benchmarks. Model Architecture: Llama 3.2 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align with human preferences for…

Access requested at publisher llama3.2 3.2B parameters transformers

Model · Text generation

NULLXES-SHINRA-4B-SMOKE

Maga

NULLXES SHINRA-4B-INSTRUCT is the Language Intelligence Layer of the NULLXES system. SHINRA is responsible for multilingual understanding, coding intelligence, instruction following, structured outputs, and agent preparation. This checkpoint is the instruction-tuned (and optionally DPO-aligned) 4B-class dense decoder. Proprietary ShinraForCausalLM (not a Llama / Mistral / Qwen / GPT-NeoX wrapper). RMSNorm → GQA+RoPE → residual → RMSNorm → SwiGLU → residual then final RMSNorm and tied LM head. Special tokens:. Generation stop is. Document stop is. Three stages. Pretrain → NULLXES SHINRA-4B-BASE SHINRAPRETRAINV1: 40% FineWeb-Edu, 20% code (python-edu + licensed Stack), 15% math/science…

Open weights other 3.9B parameters 32,768 tokens transformers

Model · Text generation

NULLXES-SHINRA-4B-INSTRUCT

Maga

Language Intelligence layer of the NULLXES Intelligence Stack. SHINRA Our llm. Release line 1. NULLXES SHINRA-4B-BASE — pretrain 2. NULLXES SHINRA-4B-INSTRUCT — instruction tuning ← this model 3. NULLXES SHINRA-4B-INSTRUCT (aligned) — DPO / preference optimization Parameter budget Architecture source: configs/shinra4b.yaml at 903a639e03bc. The total also matches the published safetensors metadata. Custom SentencePiece Unigram, trained in-house on a web + wiki + code mix. Special tokens trustremotecode=True is required: SHINRA ships a custom ShinraConfig and modeling code, not a reused architecture class. The HF inference widget cannot load custom code, hence inference: false. Data pipeline…

Open weights other 3.9B parameters 32,768 tokens transformers