4
Benchmarks
Pascal Linxweiler edited this page 2026-10-26 21:43:53 +01:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Benchmarks

Kaname measures endpoints, OpenAI-compatible servers you run yourself (llama.cpp, vLLM, SGLang, Ollama, …), with BetterBench (Apache-2.0), the benchmark behind launch80.com, and presents the results the way launch80 does. BetterBench and the L80 CLI are built into the image (pinned versions, checked by checksum); nothing to install. Kaname doesn't start or manage the servers: it only sends them requests.

Endpoints

Add one under Endpoints → Add endpoint:

Field Meaning
URL The server's root, e.g. http://192.168.1.20:8080 (Kaname adds /v1). It must be reachable from Kaname's worker container.
API key Optional; sent as Authorization: Bearer …. It stays on the server: never shown again, written to logs or put into a run, and passed to BetterBench only through its environment.
Engine Detected (llama.cpp via /props, vLLM via /version and /v1/models, SGLang via /get_server_info, Ollama via /api/version), or set by hand.
Model The model name to request. Empty: the only one the server lists. A run can pick another one the server serves.
Hardware notes What runs behind the endpoint: GPUs (name, count, VRAM, PCIe link, P2P, ReBAR, driver), the machine (CPU, RAM, OS, VM or bare metal), the server (engine name and version if you want to override the detected ones, container image, quant, KV cache type, context, parallel slots) and free notes such as launch flags.

Kaname can't see the machine behind an endpoint, so the hardware notes are what makes runs comparable: they are copied into every run. Fill in at least the GPU and the KV cache type.

Test connection asks the server for its models and, where it tells, its engine, version, context and slots. Kaname asks again before queuing a run (a server that doesn't answer fails right away) and when the run starts, and records what it reported then.

Speed run

Start it on the endpoint's page, Benchmark → Speed:

Option Meaning
Quick 5 passes per prompt category: a smoke test. Its percentiles rest on few samples and the report says so.
Full 20 passes: what you want for numbers you compare or publish.
Custom Any number of passes.
Generation Single request, 8 prompt categories: decode t/s, inter-token latency, time to first token.
Prompt processing Growing input lengths up to the context size: prefill t/s per depth.
Parallel requests 1, 2, 4 and 8 requests at once: aggregate throughput.

Runs go one at a time. Keep other load off the server while one runs; on a CPU a full run can take hours. The run page shows the current step and BetterBench's live output; Cancel stops it, Run again repeats it with the same settings against the same endpoint.

The report

Built after launch80's bench.betterbench.v1 page:

  • Headline: combined decode t/s (BetterBench's weighted score), inter-token latency (1 % low or stream-update p99), time to first token (p50).
  • Read these first: caveats in launch80's order: quick run, under-sampled percentiles (marked †), responses cut off at max_tokens, batched streams, failed requests, skipped prefill depths, prefix-cache hits.
  • Charts and full tables for decode per category, latency ranges, prefill per depth and parallel load, the reasoning/answer split and a Method section.

Every figure comes from BetterBench's own report code; Kaname never computes, averages or invents numbers of its own. BetterBench's original HTML report and results.json (with the endpoint URL and host name removed) are available on the run page.

Paired A/B

The most precise way to answer "is B faster than A?", e.g. q8_0 vs f16 KV cache, two engine builds, two GPUs.

  1. Add both servers as endpoints. They must serve the same model name (BetterBench sends one name to both), e.g. with llama.cpp's --alias.
  2. On A's page choose Benchmark → A/B, pick B, start.

BetterBench sends the same prompts to both, alternating, with greedy decoding, and stops once the difference is known to ±the target precision (default 1 %) or after max pairs (default 200, at least 12). The report shows the verdict (B faster / slower / no measurable difference), the confidence interval, both sides, what differs between the two endpoints, and the caveats. Each side can have its own API key.

Quality eval

BetterBench measures speed. Benchmark → Quality runs Kaname's own short, deterministic check of the answers (greedy decoding, fixed seed, thinking off):

  • Tool calling: 12 requests; one tool call with valid JSON, the right function and arguments.
  • Coding: 8 short Python functions, checked by unit tests in the sandbox container (no network, read-only, no capabilities, memory/CPU/process limits, only an exchange folder shared with the worker). Without the sandbox service the section is skipped.
  • Long-context retrieval: a code hidden at 10/50/90 % depth in texts of 25/50/100 % of the context (per request: llama.cpp splits its context across its slots).

The score (0–100) is the mean pass rate of the sections that could run (a server that refuses tool calls doesn't count as 0). It shows on the run page (with every item and why it failed) and in compare views. The eval set is versioned (kaname-eval-1); only results of the same version compare.

What a run records

When a run starts, Kaname records what it measures:

  • GPUs: count, name, VRAM, PCIe link, P2P, ReBAR (from the hardware notes).
  • Engine: name and version (detected, or from the notes), container image if noted.
  • Model: the name requested, quant (from the notes or the model name) and KV cache type, context length and parallel slots.
  • System summary: CPU, RAM, OS, GPU driver, VM or bare metal, Kaname version. Never host names, IP addresses, users, paths, the endpoint's URL or its name in Kaname.
  • A description: the endpoint's notes, or what you write when starting the run (also editable later on its page).

All of it is on the run page and in compare views. It goes to BetterBench as --notes (in results.json and its report) and into the launch80 preview as page sections.

Runs from before Kaname 0.15 measured deployments Kaname ran itself; they stay readable with what they recorded then, but can't be run again.

Comparing runs

Tick up to 16 runs in the Benchmarks list and choose Compare. Settings that differ are highlighted; numbers show the change against the first run. Differences under 2 % are usually noise: use an A/B for those.

Publishing to launch80

You can publish a run as a public launch80 page (bench.betterbench.v1), with a double opt-in as the L80 docs require:

  1. Preview: the L80 CLI builds the payload as a dry run; nothing leaves the server. You see exactly what would be published (endpoint and host name are stripped).
  2. Publish: only after you confirm the preview explicitly.

launch80 pages are public, can't be edited, are kept for 5 days, and an account can publish 10 per day. Publishing needs a launch80 token (Supporter role) in L80_TOKEN, see Configuration. The token stays on the server: it is passed to the L80 CLI through its environment only for the publish step and is never shown in the UI or written to logs. Only speed runs can be published.

Where results are stored

Results files and HTML reports go to benchmarks/ next to the database (/data/benchmarks in the image); summaries are in the database. Deleting a run removes both.