Head-to-head benchmarks.
All numbers reproducible.
We ran the same production workload through vanilla APIs, vLLM, SGLang, and smart-token. Here's what we measured.
How we ran these numbers
Same hardware. Same model weights. Same request stream. The only variable is the serving stack in front of the model.
NVLink cluster
- GPUs8× H100 80GB
- InterconnectNVLink 900 GB/s
- CPU2× EPYC 9654
- RAM1.5 TB DDR5
- StorageNVMe 30 TB
Instruct, BF16
- Parameters70.6 B
- PrecisionBF16 (native)
- Context128K tokens
- Tokenizertiktoken-compat
- WeightsMeta official
traffic replay
- Total requests250,000
- Duration72 hours
- Avg tokens/req12,000 in / 640 out
- Concurrency256 in-flight
- TracesOpenTelemetry
Same workload, three stacks
One click switches metric. Bars are drawn from the raw CSV.
Every model, every workload, one page
$/1M input tokens. Baseline is the vendor's list price. Optimized is what smart-token actually delivers on that workload.
| Model | Baseline (vendor) | Chatbot | RAG | Agent | Batch |
|---|---|---|---|---|---|
O Opus 4.7 Claude · frontier | $15.00 | $2.25$15.00−85% | $1.20$15.00−92% | $1.50$15.00−90% | $5.25$15.00−65% |
S Sonnet 4.6 Claude · balanced | $3.00 | $0.450$3.00−85% | $0.240$3.00−92% | $0.300$3.00−90% | $1.05$3.00−65% |
H Haiku 4.5 Claude · fast | $0.800 | $0.120$0.800−85% | $0.0640$0.800−92% | $0.0800$0.800−90% | $0.280$0.800−65% |
4o GPT-4o OpenAI · flagship | $2.50 | $0.375$2.50−85% | $0.200$2.50−92% | $0.250$2.50−90% | $0.875$2.50−65% |
m GPT-4o-mini OpenAI · cheap | $0.150 | $0.0225$0.150−85% | $0.0120$0.150−92% | $0.0150$0.150−90% | $0.0525$0.150−65% |
L Llama-3.3 70B Self-hosted vLLM | $0.550 | $0.0825$0.550−85% | $0.0440$0.550−92% | $0.0550$0.550−90% | $0.193$0.550−65% |
Three workloads, timeline-by-timeline
Each timeline is drawn to scale. Wide bars = long real-world seconds. Hover any segment for details.
Run these benchmarks yourself
Two commands to reproduce every number on this page. No signup, no vendor lock-in.
# clone the benchmark harness git clone https://github.com/smarttkn/benchmarks cd benchmarks # install pip install smart-token[bench] # run RAG scenario (default: Llama-3.3 70B) smarttkn bench --scenario rag --requests 10000
# one-shot: pulls image, runs, prints results docker run --gpus all \ -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \ smarttkn/bench:latest \ --scenario rag --requests 10000
from smarttkn.bench import Benchmark bench = Benchmark( scenario="rag", model="llama-3.3-70b", requests=10_000, concurrency=256, ) results = bench.run() results.to_csv("my-results.csv") print(results.summary())
# compare vanilla vs smart-token for one prompt curl "https://api.smarttkn.com/v1/compare" \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "claude-opus-4-7", "prompt": "Summarize this document...", "cached_prefix": "long_shared_context" }' # response includes both cost paths, ready to plot
import smarttkn client = smarttkn.Client() result = client.compare( model="claude-opus-4-7", prompt="Summarize this document...", cached_prefix="long_shared_context", ) print(f"Vanilla: ${result.vanilla.cost:.4f}") print(f"Optimized: ${result.optimized.cost:.4f}") print(f"Saved: {result.savings_pct:.0%}")
Download the CSVs
Every chart on this page is generated from these files. Bring your own tools.
If it helped your work
@techreport{smarttkn2026bench,
title={smart-token: Reproducible benchmarks for LLM token optimization},
author={{smart-token team}},
year={2026},
month={7},
url={https://smarttkn.com/benchmark/},
note={v6, 250K request replay, 8x H100 SXM}
}
Ready to see it on your own workload?
Drop in the SDK and get the same benchmark against your production traffic in under 5 minutes.