Benchmarking
Measure the answer speed you declare in a model offer using three fixed prompts.
Introduction
An offer’s declared speed estimates how many visible answer tokens a user receives per second. Measure from the moment you send the inference request until the response completes. Time spent waiting for the first answer and time spent reasoning both count.
Workload
Run the benchmark from your provider host against the inference backend and checkpoint that serve the offer. Use the same credentials, serving resources, and ordinary traffic. You do not need a protocol booking or a funded customer wallet.
| Setting | Value |
|---|---|
| Requests | Send the three fixed prompts in order, one at a time. Reuse the HTTP client, start a fresh conversation for each prompt, and include the first request. |
| Format | Stream text with tools disabled. |
| Reasoning | Turn reasoning off if the checkpoint supports it. Otherwise use its lowest supported effort. |
| Sampling | Use the variant’s published settings. If none are specified, use temperature: 0 and top_p: 1. |
| Timeout | Allow 120 seconds overall and 60 seconds without answer or reasoning text. |
Prompts
Use prompt set v1. Send the entire UTF-8 text of each linked file as a single user message, including its paragraph breaks and final newline. Each file contains exactly 512 tokens under tiktoken’s o200k_base, excluding chat formatting.
| Order | Exact prompt | Task |
|---|---|---|
| 1 | Explain a stale catalogue entry | Trace an incident and explain how to diagnose it. |
| 2 | Compare collection schedules | Weigh two approaches and recommend a trial. |
| 3 | Summarize sensor readings in Python | Write a function, test it, and explain its behavior. |
Keep run identifiers in your logs. Leave the prompt and conversation history unchanged. Fixed inputs make runs comparable, although sampling, traffic, and cache hits can still change the result. Record any cache usage the endpoint reports.
Output limits
Start with the standard profile. The limit applies to native output tokens per request, including reasoning. A checkpoint can reach that limit before it has written enough visible text to measure.
| Profile | Output limit per request | Maximum output across three requests |
|---|---|---|
| Standard | 2,048 tokens | 6,144 tokens |
| Extended | 8,192 tokens | 24,576 tokens |
If a standard response spends part of its allowance on reasoning, hits the output limit, and delivers fewer than 256 visible answer tokens, you may run the extended profile. Repeat all three prompts with only the output limit changed. Keep the original results, including failures. Record outages, refusals, and timeouts as failures of the profile you ran. If the checkpoint cannot accept a profile’s limit, mark that profile unsupported.
Compare results from the same prompt version and output profile. For a comparison at the extended limit, run that profile for every offer in the comparison. Earlier runs with operator-written prompts or a 512-token output limit are separate workloads. Both profiles incur ordinary inference charges.
Measurements
Start a monotonic clock immediately before sending each request. Timestamp stream events as their bytes arrive, before rendering or tokenizing. Stop at the completion marker. Booking preparation and chain confirmation occur before this interval.
| Metric | Measurement |
|---|---|
| First token | Time until the first nonempty answer or reasoning text. |
| First answer | Time until the first nonempty visible answer text. Leave this blank if none arrives. |
| Full response | Time from dispatch to completion, including stalls and buffered delivery. |
| Effective output speed | answer tokens / full response seconds for that request. |
Count the complete visible answer with o200k_base, including the first chunk. Reasoning text contributes elapsed time but contributes zero answer tokens. Headers, heartbeats, role markers, and usage counters do not count as text. For example, 600 visible tokens delivered in six seconds measure 100 tok/s, even if the first two seconds were spent reasoning.
Results
A sample qualifies when the model answers the task, the stream completes in positive time, and the answer contains at least 256 visible tokens under o200k_base. Record refusals, interruptions, timeouts, and short or reasoning-only answers with their reasons. Keep every attempt and leave failed prompts in place.
For each profile, report the median and observed range of each metric across qualifying samples, along with the valid and attempted counts. Three valid samples give a complete result. One or two give a provisional result. Mark the result provisional as well if any qualifying response completed in under one second. Zero valid samples means no speed estimate.
Record the UTC date, tester, location, endpoint, checkpoint, prompt version, output profile, and effective settings. Retain the three prompts or their hashes, event timings, standardized answer counts, and any native usage and cache counters. Keep credentials out of the report. Identify who ran the measurement so readers can distinguish operator reports from independent tests.
Publish results
Use the median of the qualifying per-request speeds, rounded down to a whole number with a minimum of 1 tok/s. If you ran both profiles, use the profile with more qualifying samples and prefer standard on a tie. Publish the profile and its provisional status alongside the number. If neither profile yields a valid sample, report the failures and leave the declared speed unchanged.
Set the speed with the CLI’s routing offer --terms or the SDK’s OfferTerms.speed_tps. The offer stores one declared speed. Keep the benchmark details in your report and use the same declared speed in your runtime’s deadline checks. Speed affects offer matching and booking deadlines.
Re-measure after a serving configuration change and mark results older than 30 days as stale. These requests run one at a time. Capacity under concurrent load and uptime require separate measurements.