LexiSuite Docs

Benchmarks: LexiEngine against llama.cpp, and how to reproduce it

LexiEngine is measured against the newest llama.cpp build on the same card, with the same model file and the same settings, every time the engine changes. This page has the current results, the cases where other engines are ahead, and the method.

Current results (November 18–19, 2026)

The run measured LexiEngine 0a5222f against llama.cpp b12531 (upstream build of November 18, 2026, Vulkan on the RX 7900 XTX and CUDA on the RTX 2060) and Strata 0.2.16 (released November 18, 2026). A spot check of release 84c95dd on November 19 (Qwen3.8 27B, Qwythos 9B, Nemotron E4B with DFlash, the 74B-A9B) gave the same speeds within run-to-run variation. Generation is tokens per second after the first token.

Qwen3.8 27B Q4_K_M, 262,144-token context, 4-bit K/V cache, draft-head speculation on both engines

One fixed TurboFCFusion configuration, the one this model is served with every day (batch 2048/512, at most 2 drafted tokens). Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, nothing else running.

Prompt tokens Generation, LexiEngine Generation, llama.cpp b12531 First token, LexiEngine First token, llama.cpp b12531
62 (story) 75.11 tok/s 65.82 tok/s 0.196 s 0.339 s
76 (code) 74.99 tok/s 64.79 tok/s 0.165 s 0.586 s
3,631 71.38 tok/s 58.54 tok/s 3.99 s 5.57 s
33,002 69.88 tok/s 56.95 tok/s 40.0 s 57.3 s
133,561 50.18 tok/s 37.31 tok/s 222.6 s 476.3 s
253,291 39.90 tok/s 28.13 tok/s 557.5 s 1,544.7 s
261,896 39.64 tok/s 26.87 tok/s 586.6 s 1,657.2 s

LexiEngine generated faster and reached the first token sooner at every depth, up to the full 262,144-token window: 39.6 against 26.9 tok/s, first token in 587 s against 1,657 s.

An agentic coding session on the same configuration

32 turns on one conversation, with cached history growing to 71,517 tokens. Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, nothing else running.

LexiEngine llama.cpp b12531
Whole session 195.4 s 315.0 s
Mean generation 65.9 tok/s 50.3 tok/s

A 9B Qwen-family model (Qwythos 9B Q4_K_M), 524,288-token context, no speculation

4-bit K/V cache, batch 2048/512, on both engines. Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, nothing else running.

Prompt case Generation, LexiEngine Generation, llama.cpp b12531
story 126.4 tok/s 106.6 tok/s
xl 112.5 tok/s 93.3 tok/s
d128 89.9 tok/s 67.1 tok/s
d240 73.5 tok/s 50.4 tok/s

LexiEngine generated faster at every depth measured. On d240, it reached the first token in 186 s against 513 s.

Gemma 4 31B Q4_K_M at a long context, 4-bit K/V cache

Gemma 4 runs with the 4-bit K/V cache at contexts up to the model's 262,144 tokens. The engine computes the limit from the card. The 31B was measured at a 204,800-token context. Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, nothing else running.

Prompt case Generation, LexiEngine Generation, llama.cpp b12531 First token, LexiEngine First token, llama.cpp b12531
long 36.2 tok/s 33.5 tok/s 4.39 s 5.61 s
xl 31.3 tok/s 30.0 tok/s 60 s 88 s
d128 24.2 tok/s 21.6 tok/s 542 s 994 s
d200 (200k) 21.1 tok/s could not finish (time limit) 1,164 s could not finish (time limit)

LexiEngine leads where both engines returned results. For the 200k prompt, llama.cpp b12531 reached the job limit before a result.

Known fault: a later prompt on the same server at the largest contexts can be refused with an out-of-memory error when it needs a working buffer of a different size. The server stays up and reports the refusal.

Gemma 4 E4B at its full 131,072-token context with the same cache generated at 135.8 tok/s on the long prompt against 119.4 tok/s on llama.cpp b12531, and 116.2 against 105.3 tok/s on xl.

Qwen3.8 Flash-Next (94 GB mixture of experts) on one 24 GB card

Qwen3.8 Flash-Next (architecture qwen4exp, the file as shipped at UD-IQ4_XS, 94 GB) does not fit a 24 GB card: its routed experts are cached in video memory, then in system memory, and the rest are read from the drive. The November 18–19, 2026 run used a 262,144-token context and the q4_1 K/V cache, with identical prompt token IDs on all engines. Strata 0.2.16 (engine 0.1.62) used its draft head. LexiEngine generated one token at a time. First-token time runs from the request to the first generated token.

Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, nothing else running.

Prompt tokens First token, LexiEngine First token, Strata Prompt rate, LexiEngine Prompt rate, Strata Generation, LexiEngine Generation, Strata
16k 41.9 s 66.7 s 382 tok/s 281 tok/s 3.82 tok/s 2.75 tok/s
32k 73.7 s 127.4 s 434 tok/s 272 tok/s 11.30 tok/s 4.54 tok/s
64k 149.6 s 226.8 s 428 tok/s 298 tok/s 7.72 tok/s 4.26 tok/s
128k 314.6 s 414.9 s 407 tok/s 316 tok/s 5.22 tok/s 4.25 tok/s
256k 710 s 848 s 360 tok/s 306 tok/s No generation (ended immediately) 7.14 tok/s
500k (524,288-token context) 1,752 s 1,835 s 286 tok/s 274 tok/s 5.03 tok/s 2.65 tok/s

LexiEngine reached the first token sooner and processed prompts faster at every shared depth. It also generated faster from 16k through 128k, with rates varying by prompt. At 256k, Strata generated at 7.14 tok/s. LexiEngine's model ended its answer immediately, so there is no generation rate to compare.

On the same prompts, llama.cpp b12531 ran with Vulkan. Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, nothing else running.

Prompt tokens Prompt processing, LexiEngine (first token) Prompt processing, llama.cpp b12531 (first token) Generation, LexiEngine Generation, llama.cpp b12531
16k 382 tok/s (41.9 s) 18.0 tok/s (889 s) 3.82 tok/s 3.85 tok/s
32k 434 tok/s (73.7 s) 17.6 tok/s (1,814 s) 11.30 tok/s 4.35 tok/s

llama.cpp b12531 generated slightly faster at 16k. It could not be run beyond 32k: its 32k prompt took 30 minutes to the first token, so 64k and deeper exceed the one-hour limit each run has.

Past the model's declared window, at a 524,288-token context, a 500k prompt reached its first token in 1,752 s at 286 tok/s and then generated at 5.03 tok/s on LexiEngine; Strata 0.2.16 took 1,835 s at 274 tok/s and then generated at 2.65 tok/s. llama.cpp could not run it: at its measured prompt rate (about 18 tok/s) the prompt alone would take close to eight hours, past the one-hour limit each run has.

Default settings, both cards

4,096-token context, each engine's defaults, no speculation. Generation is listed in story / mid / long order. Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, nothing else running. The RTX 2060 rows use CUDA.

Card, model Measure LexiEngine llama.cpp b12531
RX 7900 XTX, Qwythos 9B Q4_K_M Generation 124.2 / 117.5 / 114.3 tok/s 107.8 / 106.3 / 103.9
RX 7900 XTX, Gemma 4 E4B Q4_K_M Generation 158.6 / 151.3 / 145.2 tok/s 138.2 / 132.2 / 129.4
RX 7900 XTX, Gemma 4 31B Q4_K_M Generation 38.95 / 37.84 / 36.61 tok/s 37.42 / 36.33 / 34.97
RTX 2060, Qwythos 9B Q4_K_M Generation 47.53 / 46.91 / 42.43 tok/s 48.79 / 49.45 / 48.43
Prompt processing, mid / long 374 / 348 tok/s 1,007 / 1,212
RTX 2060, Gemma 4 E4B Q4_K_M Generation 67.69 / 64.35 / 63.30 tok/s 69.74 / 69.43 / 66.92
Prompt processing, mid / long 1,166 / 1,251 tok/s 2,482 / 2,860

With default settings, LexiEngine leads in generation on all three models tested on the RX 7900 XTX. On the RTX 2060, llama.cpp b12531 leads on Qwythos 9B and Gemma 4 E4B in both generation and prompt processing.

Nemotron 3.5 Bolt on the RX 7900 XTX

Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, nothing else running. The E4B runs used a 4,096-token context. The 74B-A9B (42.6 GB of experts, more than the card holds) was started cold; its first requests read experts from the drive, and the code and story prompts were then sent again. Each value is one request.

Model and prompts Generation, LexiEngine (tok/s) Generation, llama.cpp b12531 (tok/s)
Nemotron 3.5 Bolt E4B Q8, no draft model (code / story / mid / long) 103.7 / 105.9 / 102.7 / 98.9 108.6 / 108.6 / 106.0 / 104.1
Nemotron 3.5 Bolt E4B Q8, DFlash draft model (code / story / mid / long) 268.8 / 228.9 / 268.7 / 196.1 252.6 / 216.2 / 213.8 / 183.6
Nemotron 3.5 Bolt 74B-A9B Q4, repeated requests (code / story) 18.74 / 19.97 13.96 / 10.63
Same, first requests after loading, model file not yet in memory (code / story / t1 / t2) 2.22 / 4.52 / 9.2 / 12.98 1.59 / 1.94 / 4.64 / 6.30

llama.cpp b12531 leads on the E4B without a draft model. LexiEngine leads on the E4B with DFlash and on the 74B-A9B.

Inkling-2-Mini (looped mixture of experts) at up to a 524,288-token context on one 24 GB card (November 25, 2026, version 8f6f542)

Inkling-2-Mini (Thinking Machines, Apache-2.0, released November 20, 2026) is a looped mixture-of-experts model: 24 layers of which the middle 12 run three times with shared weights (48 layer applications), 128 experts per layer of which 8 run per token, 20 layers with a 1,024-token window and 4 that see the whole context, and a context of up to 1,048,576 tokens. LexiEngine has had a runtime for it since version e2184ab, has served it at a context of 524,288 tokens on one 24 GB card since b753bf3, reads the model's draft head from the model file since 3a376f8, and takes pictures since 8f6f542.

Measured on November 25, 2026, on version 8f6f542, against the newest build of each other engine fetched that morning: llama.cpp b12722 (commit e6443bd7e, the official Vulkan build, unmodified) and Strata 0.2.21 (its Inkling engine 0.1.67, HIP). Radeon RX 7900 XTX capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, all layers on the card, each value one run, greedy, nothing else running.

Tokens per second; the highest value of each measure in bold:

Prompt (tokens) Prompt, LexiEngine Prompt, llama.cpp b12722 Prompt, Strata 0.2.21 Generation, LexiEngine Generation, llama.cpp b12722 Generation, Strata 0.2.21 With the draft head, LexiEngine With its drafter, Strata 0.2.21
4,096 2,379.7 1,242.1 2,315.2 66.6 44.1 65.5 132.4 58.4
16,384 2,248.3 1,049.7 2,098.9 64.7 42.4 54.7 131.6 47.9
261,632 (262,144 context) 1,163.6 did not finish in 55 min 821.7 48.9 not run 12.2 63.8 0.7
523,264 (524,288 context) 757.0 not run did not finish in 28 min 39.7 not run did not finish in 28 min 47.1 did not finish in 28 min
Text generated after a 16,384-token prompt With the draft head (tok/s) Plain (tok/s) Tokens accepted per pass of the main model
English technical prose 93.2 56.7 3.31
Rust source code 119.5 56.8 5.06
JSON records 155.9 56.7 7.00

Maxwell-V1-Flash (35B mixture of experts) on one 24 GB card (November 21, 2026, version e2184ab)

Maxwell-V1-Flash is a 35B mixture-of-experts model (45 layers, 256 experts per layer of which 12 run per token, four residual streams mixed by hyper-connections, block-sparse attention with a learned indexer, a 524,288-token context and a draft layer for speculative decoding). LexiEngine has had a runtime and its own quantizer for it since version a30bac8: the file measured here is 20.7 GB (experts IQ4_XS, the rest Q8_0, output head Q6_K, mixing matrices F32), written by maxwell-quantize from the published weights. Version e2184ab processes prompts about twice as fast as a30bac8 (646.8, 460.9 and 477.2 tok/s at these three lengths) and keeps 4-bit key/value caches by default.

Radeon RX 7900 XTX (24 GB) capped at 291 W, Intel i7-9700, host kernel Linux 7.3, one slot, 4-bit caches, nothing else running, November 21, 2026, on version e2184ab. Each value is one run; generation is 256 tokens, greedy.

Prompt length (tokens) Prompt processing (tok/s) Generation (tok/s) Generation with the model's draft layer (tok/s) Drafts accepted
4,096 1,381.9 62.4 76.2 89%
16,384 933.4 61.8 71.2 77%
65,536 772.4 58.9 70.5 88%

Method to reproduce a fair measurement

  1. Record provenance first. Save model identity and content hash, GGUF quantization, engine build, backend and driver, kernel, CPU/GPU, power cap, free memory, KV-cache type, context, batch/slot count, sampling, MTP state and installed settings. If any differ, treat it as a different experiment.
  2. Keep the machine idle and let thermal conditions stabilize. Close other GPU or CPU loads; note power and thermal policy. Do not mix benchmarks during maintenance, updates or background model downloads.
  3. Use identical requests and generated-token limits. Test short, approximately 3.6k, 21k and — if memory supports it — 68k-context inputs. Use a new random prompt prefix for each request to prevent cache reuse; label approximate lengths with their actual token counts. Align draft-head speculation on both sides before comparison.
  4. Repeat at least three times per routine test and record each run. Use the median, not the best result. For a one-run long-context measurement, label the result single-run instead of implying statistical confidence.
  5. Separate metrics: (a) time to first token in seconds, (b) prompt processing in tok/s, (c) generation in tok/s excluding the first-token delay. Never compare incompatible denominators.
  6. Assess noise and stability. Track per-run values, warm/cold behavior, variance, memory/power state and failure count. Calculate noise bands/confidence intervals from replicates where possible; do not claim statistical significance with three or fewer observations by default. Reproduce any changed result before accepting an optimization.
  7. Check output quality with matched prompts, held-out evaluations, perplexity/KLD where supported, and deterministic sampling where possible. Speed gained by changing output or truncating work is not a like-for-like win.
  8. Export a complete evidence record and compare through Bench and Evaluate, including device/context depth curves and quality gates; never substitute self-reported peaks for representative median trials.

Bench/Panel workflow

Controls and interpretation

Control / measurement What it does
Bench / Evaluate Runs or reviews performance and held-out quality checks; compare only matching model and hardware conditions.
Optimizer Searches parameters with measured noise margins; candidate improvements require repeatability.
Power cap Limits device power; altering it invalidates direct comparison with results recorded under another cap.
MTP on/off Enables/disables draft-head token proposals; changing it changes the workload and measurement.
KV-cache / context / slots Changes memory use and compute depth; keep all three fixed when comparing engines.
TTFT / prefill / decode rates Measure distinct phases; do not combine or conflate their units.

See Hardware, Security and Release Notes.