Research evidence · 6 November 2026 · Qwen on NVIDIA A40
Faster Qwen inference through reusable shared context.
All results below are directly measured research timings with the same model and GPU. We publish the benchmark conditions and limits alongside the percentages. No provider partnership or universal price reduction is implied.
89.19%
Lower aggregate processing time
48 unique requests with one 28,672-token shared prefix and up to 16 generated tokens each.
Uncached 97.642 s · Prefix reuse including setup 10.555 s · 48/48 byte-identical generated token sequences.
73.56%
Lower agentic processing time
6 guided, four-step agent workflows with changing transcripts and 18 executed local tool calls per mode.
Uncached 57.692 s · Prefix reuse including setup 15.255 s · 6/6 workflows correct in both modes and identical final answers.
Agentic results by shared-context length
Workload
Baseline
Cached + setup
Time saved
Outcome
4K / 1 workflow
2.521 s
2.749 s
−9.05%
1/1 correct; caching slower
16K / 6 workflows
32.467 s
13.292 s
59.06%
6/6 correct
28K / 6 workflows
57.692 s
15.255 s
73.56%
6/6 correct
Benchmark configuration
Model: Qwen/Qwen2.5-1.5B-Instruct; BF16; greedy decoding; identical model weights and prompts.
GPU: NVIDIA A40; PyTorch + Transformers with SDPA attention.
Comparison: full-context uncached Transformers versus reusable-prefix KV cache. Includes one-time prefix prefill cost.
Agentic tools: three deterministic local functions per task: lookup_price, multiply and add_tax. Both modes ran all tool calls and validated tool arguments.
Quality: the non-agentic test gave 48/48 token-identical outputs; agentic final answers matched 6/6. Two agent workflows differed in JSON numeric formatting (numeric strings versus numbers), not calculated totals.
Workload: fixed synthetic prompts and a cache-favorable large shared context. Not an independent or multi-provider production traffic test.
Limits of interpretation. These numbers measure latency in controlled workloads. They do not prove 89.19% or 73.56% lower customer invoice costs, token prices, electricity usage or GPU utilization. A production serving comparison against vLLM with prefix caching enabled has not yet been completed. Cached requests sharing little context can run slower; customer performance depends on cache hit rate, scheduling, context turnover, concurrency and billing model.
What EXACT-X changes
For eligible self-hosted model-serving workloads, a prefix KV cache reuses already-computed attention state for the same authorized model, tokenizer, weights and prefix. It does not modify weights or skip actual tool execution. External API providers control their own internal KV caches; Varion cannot claim the same result for Alibaba Model Studio or other third-party hosted inference without an equivalent provider benchmark.
Existing Varion API and model-serving features remain available. Research benchmarks alone do not certify a production rollout.
For a separate option to request Qwen API tokens, visit BuyQwenTokens. Token ordering is independent of the EXACT-X research benchmarks shown here.