docs / benchmarks / llm
Benchmarks index
aot
codec
codec / csv
codec / json
collection
- Overview
- ArrayList
- BPlusTree
- Cache
- Collectors
- HashMap
- HashSet
- Heap
- ImmutableList
- ImmutableMap
- ImmutableSet
- LinkedList
- RedBlackTree
- Sort
collection / ltm
concurrent
gfx
hash
http
io
io / file
io / net
io / net / uri
lang
- Overview
- Allocation and ownership
- Calls and dispatch
- Exceptions
- Guid
- Loops
- Math and SIMD
- Optional
- Pair
- Slice
- String
- StringBuilder
- Whole programs: the Benchmarks Game
lang / stream
llm
math
math / fft
math / linalg
math / npio
math / poly
math / random
math / stats
ml
nucleo
primavera
process
reflect
search
search / distance
search / fuzzy
search / ngram
time
toolchain
toolchain / kernel-startup
wire
xpu
xpu / mesh
dev.cajeta.llm against llama.cpp
Prefill and decode tokens per second, keyed by operating system, driver, model and platform. The matrix below is the page to read; the others are its cuts. Method: measuring.
| Page | |
|---|---|
| Decode | Decode tokens per second at one and four sequences |
| Prefill | Prompt-processing tokens per second at 512 and 4096 tokens, keyed like Decode |
| Load and first token | Time to load a model from safetensors and from GGUF, and time to the first generated token |
| Memory | Resident memory at a 4096-token context |
| Long context | Decode at 8k and 32k tokens of context, where attention dominates |
| Kernel parity | The parity legs: one matrix-multiply shape per row, device-timed on each side’s own stream, joined under the five rules the parity harness enforces |
The matrix
One block per model. Rows are operating system × driver × backend; the two column groups are prefill and decode tokens per second; each cell holds cajeta-llm beside llama.cpp with the ratio printed. A row is published only when both platforms ran in the same interleaved session on the same model file and the greedy-agreement gate passed.
Not yet measured on Proton.
Legend. OS: Ubuntu 26.04 (Proton, native), Ubuntu 24.04 / WSL2 (Phoenix), Windows 11 (Phoenix, native, when both engines’ Windows builds are green). Driver: the NVIDIA driver with its CUDA version, the ROCm version, or the Vulkan driver (RADV, or the vendor ICD) as reported at run time. Model: name, parameters, quantization and file checksum. Platform: cajeta-llm <version> <backend> or llama.cpp <commit> <backend>.
Standing
Written after the first published run.