Did You Get the Reasoning You Paid For? Reference-Free Effort Auditing for LLM APIs via Pairwise Exchangeability

Tong Zhang, Ru Zhang, Jianyi LiuarXiv 2026

TL;DR

When you pay an LLM API for "high reasoning effort," third-party API relays can silently downgrade your request to save money—or secretly upgrade your low-effort requests to inflate your token bill. Because relays control metadata like token counts and response latency, traditional auditing fails. This paper introduces SWAP, a clever statistical test that catches cheating relays red-handed for pennies, without needing access to the official upstream API.

What Problem Does This Paper Address?

Modern reasoning models let you dial in how hard they "think" (low, medium, high, max). Higher effort generates more hidden reasoning tokens, costing more in exchange for better verification and accuracy.

However, many developers access models through third-party API relays and gateways. Positioned in the middle, a relay can rewrite your effort parameter and spoof the billing fields in the response. If a relay charges a flat monthly fee, it profits by silently downgrading your high effort requests to low. Conversely, if a relay charges a per-token markup, it profits by upgrading your low effort requests to high, burning extra tokens you didn't ask for.

Existing black-box audits check model identity (e.g., catching a relay swapping GPT-4 for GPT-3.5) by comparing outputs against an official API baseline. That fails here: a downgraded model is still the same model, official API baselines are expensive, and the accuracy gap between effort levels drifts over time. Meanwhile, obvious signals like token counts and latency are easily forged by the relay. Reasoning effort has become a classic "credence good"—you pay for it, but you can't tell if you actually got it.

Methods

Instead of comparing the relay against an official API, SWAP (Sequential Without-reference effort Auditing via Pairwise exchangeability) compares the relay against itself.

The authors flip the standard script by making cheating the null hypothesis:

  1. Pairwise Exchangeability: For a given math or logic problem, the auditor sends two requests to the relay in randomized order (with unique IDs to bypass caching): one at the paid effort ($e^+$) and one at a lower control effort ($e^-$). If the relay cheats by routing both to the same effort level, the two responses come from the exact same process—they are exchangeable. Which response scores higher is literally a 50/50 coin toss. Only an honest relay will consistently score better on $e^+$.
  2. Sequential Betting (e-values): Rather than fixing a sample size upfront, SWAP treats the audit like a betting game. Starting with $1 of virtual "wealth," it bets on the paid response winning each pair (averaging across all possible bet sizes). Under a fair coin toss (cheating), wealth doesn't grow on average. If $e^+$ consistently wins, wealth compounds exponentially. By Ville’s inequality, if the wealth hits 20, SWAP stops immediately and certifies the service, mathematically guaranteeing a false-certification rate below 5% ($\alpha = 0.05$).
  3. Pinpointing Violations: If the request budget runs out without certification, SWAP checks the average accuracy of both efforts against a pre-validated midpoint. Low overall accuracy flags a downgrade; unusually high control accuracy flags an upgrade.

Datasets

SWAP does not train models on static datasets. Instead, the authors designed a custom suite of 7 programmatic probe families tailored to exploit how different models use extra reasoning tokens (such as stepwise verification or candidate search). Every problem instance is freshly generated with unique numbers so relays cannot memorize answers, calibrated right at the difficulty sweet spot where low effort fails and high effort succeeds.

Table 1. Probe suite.

Key Insights and Ideas

  • Latency is a terrible lie detector: Relays can trivially add artificial delays to downgraded requests. In field tests, some downgraded services actually had longer latencies than honest ones. Content-based scoring is immune to this spoofing.
  • Shady relays cheat up, not just down: While cutting corners via downgrades is expected, discovering relays silently upgrading none or low effort requests to pad token bills is a striking insight—in one case inflating a user's cost by 5x.
  • Upstream models drift: Testing the exact same official model across four dates showed the accuracy gap between high and low effort swinging wildly from 0.07 to 0.26. Because SWAP tests pairs simultaneously, upstream drift never invalidates the audit.

Key Results

  • Broad, Cheap Coverage: Out of 27 models across 11 providers, SWAP successfully audits 20 of them. Certification takes as few as 7 pairs (14 requests) and costs as little as $0.001 (staying under $0.20 for most models).
  • Controlled Ground Truth: On a custom test relay, SWAP certified 100% of honest services, falsely certified only 3.7% of downgraded services (well within the 5% theoretical bound), and 0% of downgraded services that used fake latency delays.
  • Widespread Commercial Violations: Auditing 7 real-world commercial relays revealed that 6 out of 7 failed certification on at least one model, uncovering 9 downgrades and 11 upgrades across 89 total audits.

Limitations and Future Work

  • Adaptive Low-Effort Models: 7 of the 27 tested models could not be audited cost-effectively. On certain frontier models, low effort still reasons adaptively on hard math/logic puzzles, matching high effort until both hit output limits—or separating only on massive problems where a single audit would cost over $10. Separating efforts on these models may require open-ended tasks (like writing or system design), where objective, automated scoring remains an open challenge.
  • Partial Rewriting: If a relay maps max effort to an intermediate medium effort instead of low, the accuracy gap shrinks. SWAP won't falsely certify the cheating relay, though smaller gaps require quadratically more request pairs to distinguish honest behavior between adjacent tiers.

Summary updated

BibTeX
@misc{zhang2026did,
  author = {Tong Zhang and Ru Zhang and Jianyi Liu},
  title = {{Did You Get the Reasoning You Paid For? Reference-Free Effort Auditing for LLM APIs via Pairwise Exchangeability}},
  year = {2026},
  eprint = {2611.35912},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35912},
}
Figure