AvocadoStack

Method

How we measure.

Three numbers, taken from systems you already pay for. A client figure is stated only when that measurement supports it.

Cost per million tokens

Provider invoices plus the request log. A cheaper model that needs more tokens is not counted as a saving until both sides are in the figure.

Latency

The serving path in production. A timing from a laptop is not the number we report.

GPU utilisation

What the machines report while they are serving. Not a vendor's peak figure from a slide.

Ranked changes

Each item names the change and the direction we expect: a lower bill, lower latency, or less idle GPU. A number appears only when the measurement supports it.

What we will not claim

No savings percentage and no client results. Price on request, quoted after we scope your workload.

Illustrative example, not a client result

A support chatbot on a 7B open model

Assumptions

  • The service is a support chatbot on a 7B open model. The model is not a named product, and there is no client.
  • Before: FP16 weights, one NVIDIA A10 with 24 GB, prefix caching off, maximum batch 1. The assumed rate is 1.44 USD per hour.
  • After: AWQ 4-bit weights, one NVIDIA L4 with 24 GB, prefix caching on, continuous batching on. The assumed rate is 0.72 USD per hour.
  • Those hourly rates are assumptions for this example. They are not a cloud price list.
  • Median prompt length is 640 tokens. Median completion is 160 tokens.

How this example is run

  • A fixed sample of 200 support prompts is replayed before and after. The prompt list does not change.
  • Each run drops the first 10 requests as warm-up.
  • Five runs. Every figure in the table is the median of those runs.
  • Latency is measured at concurrency 1. Throughput, GPU utilisation, and the cost derived from throughput are measured at concurrency 8.
  • p50 is time to first token plus the median completion of 160 tokens divided by the concurrency-1 decode rate, then rounded to the nearest 0.1 s. That rate is 40 tokens/s before and 70 tokens/s after.
  • Cost per 1M output tokens = assumed USD per hour ÷ (output tokens per hour ÷ 1,000,000). Before: 1.44 ÷ (40 × 3,600 ÷ 1,000,000) = 10.00. After: 0.72 ÷ (100 × 3,600 ÷ 1,000,000) = 2.00.
  • Tools are a vLLM benchmark script, a load generator that replays the sample, and tracing on the serving path.
A support chatbot on a 7B open model
MetricBeforeAfterWhat changed
Cost per 1M output tokens10.00 USD2.00 USDQuantisation, continuous batching, and a right-sized GPU.
p50 latency4.4 s2.5 sQuantisation and prompt caching, measured at concurrency 1.
p95 latency7.2 s4.8 sThe 95th percentile of end-to-end time on the same 200 prompts.
Time to first token0.40 s0.20 sPrompt caching of the repeated system prompt.
Throughput40 tok/s100 tok/sContinuous batching at concurrency 8.
GPU utilisation32%64%A right-sized GPU, then batching.
Eval pass rate86%85%No change aimed at the rubric. The score checks the 4-bit weights.
Quality score (0–1 mean)0.810.80The same rubric. The mean stays next to the pass rate.