AI DevelopmentNew Release7 min readPublished · Updated

How Fast Is Ternary Bonsai 2.5 on a Local RTX 4090?

A small model file and a fast stream of tokens make local coding plausible. The result worth measuring is how long your workstation takes to deliver a passing patch.

DA
Digital Applied
PublishedNovember 24, 2026
Read time7 min
SourcesPrismML · Model card · Technical report

A coding assistant can print an answer before an engineer has finished reading the ticket. It can also spend several minutes rerunning the wrong test. PrismML’s November 24 release of Ternary Bonsai 2.5 27B makes that difference measurable on hardware developers already own. Its smallest reported model file is 5.93 GB. A single RTX 4090 generated 204 tokens per second in a specific vendor configuration.

A team considering this model has two questions. Will the useful amount of repository context fit beside the rest of the development stack? Once it fits, will the model find the right files, change the right lines and leave a passing test? The release announcement and its technical report answer parts of both questions. A small, repeatable code change can answer the rest.

Key takeaways
  1. 01
    The model file is 5.93 GBThe figure applies to the PTQ1_0 GGUF. A running model also consumes memory for context, buffers and the application.
  2. 02
    The 4090 produced 204 tokens per secondMulti-token prediction raised the vendor’s decode rate from 111 to 204. Its effect on a 2K prompt went in the opposite direction on the release build.
  3. 03
    Code scores vary with the workSWE-bench Verified rose 14.8 points over Bonsai 2. LiveCodeBench v6 fell 0.8 points in the same vendor comparison.
  4. 04
    Time a passing changeGive the agent a repository regression. Record peak memory, model time, test time and whether a reviewer accepts the resulting diff.

01 — MemoryWhat fits inside 5.93 GB

Bonsai 2.5 is based on Qwen3.8 27B. PrismML gives the parameter count as 27.36 billion. Its lowest-footprint GGUF stores the weights using the ternary PTQ1_0 format, with an average of 1.76 bits per weight. The vendor lists 5.93 GB for that file against 53.8 GB for the FP16 comparison. Both numbers describe published files. The operating system, editor and inference engine still need somewhere to put their work.

For a coding session, that extra work includes the state accumulated as the agent reads files and receives tool results. Two users can download the same file and see different peak memory use. One asks about a single parser. The other includes a repository map, a long test log and several rounds of edits. Record the chosen context setting and actual prompt length when investigating a memory limit. The model's stated maximum context of 262K does not establish a workstation speed at that length.

PrismML's weight collection lists multiple GGUF variants and a separate MLX pack for Apple Silicon. The release lists Apache 2.0 for the weights. Match the exact artifact to the runtime before comparing performance. Our open-weight hardware guide walks through this decision across machines.

02 — MeasurementWhy a prompt and a reply move at different speeds

Inference has two conspicuous phases. During prefill, the runtime processes the prompt supplied to the model. During decode, it generates new tokens. A coding assistant may alternate between the two many times. It can spend most of a turn reading a long test failure even when the actual patch consists of six lines. A single generation rate hides that pattern.

Tokens per second in PrismML’s technical report, Table 6. Higher is faster within each column.
RTX 4090 configurationGenerate outputProcess a 2K prompt
Multi-token prediction off1112,808
Multi-token prediction on2042,166
Prediction on with kernels in testing2043,014

Multi-token prediction proposes several tokens for the model to check in a pass. PrismML used three draft tokens per pass and a minimum draft probability of zero on the 4090. With its standard build, turning prediction on raised the decode rate while prompt processing fell. The kernels under test recovered prefill speed. The announcement rounds the prompt result to approximately 3,060 tokens per second. Use the table’s 3,014 when quoting that configuration. The 291-token generation result in the same paper belongs to an H100 with the kernels under test.

03 — A worked estimateWhat 400 output tokens would cost in seconds

Consider a single turn with 2,000 new input tokens and 400 generated tokens. Approximate the two phases using the 4090 rates in Table 6. With drafting off, processing the prompt takes about 0.71 seconds and generating the reply takes about 3.60 seconds, roughly 4.32 seconds before rounding the parts. With drafting on, the estimates become 0.92 and 1.96 seconds, or 2.88 seconds together. These are calculations using the published rates for an illustrative turn. No repository was run to produce them.

The difference looks quite different for a short answer to a long prompt. A request to return a filename might produce only a few tokens, leaving little decoding work for speculative prediction to accelerate. A request for a long explanation gives the faster decoder more opportunity. Caching, the growing context, tool latency and the actual length of generated reasoning all change the calculation. Log the input and output lengths for each turn before deciding which mode suits a repository.

First token or finished edit?

A developer waiting for an interactive hint cares about when the first useful text appears. A background coding task earns its keep when the full patch passes review. The latency and throughput guide explains how to report both.

04 — CapabilityCoding gains depend on which test you read

SWE-bench Verified measures repository issue resolution. In the vendor’s mini-SWE-agent evaluation, Bonsai 2.5 scored 75.6, up from 60.8 for Bonsai 2. The full-precision Qwen3.8 comparison scored 80.6. A gain of 14.8 percentage points within that harness is a reason to revisit local issue repair. It gives no probability that the next customer-specific defect will be fixed on the first try.

The differences change across tests. Terminal-Bench 2.1, evaluated with Terminus-2, moved from 52.8 to 60.1, with full precision at 70.8. On LiveCodeBench v6, Bonsai 2.5 scored 83.0 following 83.8 for its predecessor. PrismML’s benchmark breakdown and paper specify the comparison. Tool use, terminal work and standalone problem solving reward different behavior. Pick an evaluation that resembles the work a developer would actually hand over.

Give the reviewer the same facts when comparing local and hosted assistants. Hide the model label on the submitted changes, use the same starting revision and write down the acceptance criteria first. Our guide to blind model evaluation describes how to avoid giving a familiar model credit for presentation while overlooking a failing edge case.

05 — Repository taskA CSV bug with a visible finish line

Suppose an import tool drops the empty final column of a supplier record. The fixture is the single CSV line below. The expected result has three fields. The first is the part number, the second contains a comma inside quotation marks, and the third is empty. An agent which splits the line on every comma introduces another bug while appearing to fix the first.

P17,"Bolt, small",

Provide a minimal repository fixture with its usual parser, a reproducible failing test for this record and existing tests for quoted commas. Run the failing test on the original revision. Ask the assistant to repair the parser and keep its public interface. After the change, run the entire parser suite and inspect the diff. A patch that changes the expected answer to two fields or bypasses parsing for this exact part number fails the task.

Watch where the time goes. Does the model look at the parser and its tests together? Does it rerun the entire project after every exploratory edit? How many turns repeat unchanged file contents? Capture those observations alongside wall time and peak device memory. An engineer comparing assistants can then tell whether a slower result came from generation, a heavy test command or a poor choice about what to inspect next.

06 — EnvironmentWhat stays on your workstation

Loading weights locally gives a team control over a significant part of the inference path. The editor, model host, repository indexer and tool integrations still have their own network behavior. An agent with a local model may use a remote embedding service to find code, call a hosted issue tracker, or send telemetry. For a confidential repository, map those connections using an inert fixture before treating the entire workflow as local.

Code and tests
Give the assistant the fixture and test command. Record which directories and integrations the editor can reach.
Repository access
Download and launch
Record the exact GGUF, backend revision, GPU settings, context length and whether the model was already loaded.
Inference setup
Decide what passes
Retain the diff, failing and passing test output, tool trace and review outcome for each attempt.
Evidence to keep

The RTX 4090 figures do not transfer automatically to the MLX build. Apple systems use different memory arrangements and kernels. Our local Mac comparison covers a different deployment choice. On either path, keep the bill of materials visible. The model is downloadable, but developer time, machine availability, power, upgrades and the support burden still affect whether the setup is economical.

07 — AdoptionWhen to keep the local coding setup

Start with the machine already available. Try the same fixture with drafting enabled and disabled, recording both first-run and warm timings. Keep runs on a comparable machine state and retain failures in the results. Follow the CSV case with one task that exercises the team's usual tooling, such as migrating a deprecated call across modules. A narrow parser success alone cannot answer whether the agent handles cross-file work or noisy build logs.

A useful acceptance note can stay short. Give the rate of passing, reviewed changes, elapsed time from request to acceptance, peak memory at the relevant context length and the kind of intervention the engineer supplied. Price the nearest alternative using its actual task costs. A team that needs help connecting those measurements to a procurement decision can use our AI transformation services to design the comparison around its own repositories and review process.

On the workstation

The useful unit is a passing patch

A 4090 owner can download the weights, reproduce a prompt, and keep a log of exactly where the minutes go. The most persuasive result would fit in one line of an engineering review: which bug the model fixed, how long the verified edit took, and what the team had to do to finish it.

Engineering workflow

Evaluate a local coding assistant

Design a repository trial that puts the real task, the available hardware and your acceptance criteria in the same test.

Repository fixturesLocal inferenceReview criteria
Trial record

What to preserve

  • →Model revision and runtime
  • →Timing and memory trace
  • →Reviewed diff with test output
Answers

Frequently asked questions

The PTQ1_0 model file is 5.93 GB, according to PrismML. Runtime memory depends on the backend, selected context and surrounding applications.

Digital Applied newsletter

Deep dives on AI, marketing and development.

Practical guides and fresh insights by email. No recycled takes.

Related dispatches

Related reading

AI Development

How pi-H3 Rendered a Five-Second Video in 3.8 Seconds

The pi-H3 team timed two- and four-step video with synchronized audio on one B200. See what the clock included and why a 15-second shot took longer to render.

November 24, 2026 · 7 minRead
AI Development

GitHub Copilot Fusion: Model Routing and Review Max Costs

GitHub shipped Copilot Fusion model routing and a Max code-review level on October 28. What each routes, which plans get it, admin policies and credit spend.

October 29, 2026 · 11 minRead
AI Development

Full-Duplex Voice Models Compared: Listen and Talk at Once

Tavus's Griffin-Lite joins OpenAI's GPT-Live-1 and three open models that listen while they speak. Latency, price, license and how to test each one yourself.

October 2, 2026 · 7 minRead
AI Development

Anthropic: Open GLM-5.3 Nearly Matches Mythos at Exploits

In Anthropic's tests the open GLM-5.3 model succeeded at 50 of 410 exploit attempts, close to Claude Mythos Preview at 56. What the report shows and omits.

September 29, 2026 · 7 minRead
AI Development

How to Stop AI Coding Agents From Deleting Your Files

Reduce the damage an AI coding agent can cause with isolated workspaces, scoped permissions, tested backups and careful handling of symlinks and junctions.

September 27, 2026 · 6 minRead
AI Development

AI Search Agents Compared: Google, Perplexity, ChatGPT

Google's always-on information agents, Perplexity Pro, and ChatGPT Search compared. Which AI search agent delivers the best research results in 2026?

May 20, 2026 · 14 minRead
Google Search

See more Digital Applied analysis in your Google results by adding us as a preferred source.

Add as a preferred source