Is your API proxy swapping models? A comparison of 5 verification methods
Just_Regret_1925 · reddit · 2026-12-02
Wondering if a cheap API proxy quietly routes your requests to a smaller model? The model field is just a string. A CCS 2026 paper ("Real Money, Fake Models") found 17 shadow APIs used in 187 academic papers; across 3 closely audited, performance was up to 47% worse than official APIs and 45.8% of fingerprint checks failed. The author compares five verification approaches:
- Fingerprinting (LLMmap etc.): 8 queries distinguish 42 model versions, but it's probabilistic—partial swapping or probe-aware routing defeats it.
- Watermarking (SynthID-Text): vendor holds the key, so API customers can't verify; weak on code and short outputs.
- Statistical testing (pelican-on-a-bicycle, Stanford's Model Equality Testing): MET found 11 of 31 commercial Llama endpoints didn't match Meta's weights; token-hungry, and quantized sibling models are hard to catch.
- TEE TLS: run the TLS client inside an AMD SEV-SNP/Intel TDX enclave that signs domain + request hash + response hash + timestamp with remote attestation—per-request proof the bytes came from the official API at near-HTTPS speed; you must trust the hardware vendor and enclave code.
- ZK proofs of inference (Anthropic's FlashProve): strongest guarantee, but still research—70–95x GPU cost, 19 MB per proof, and only the weight holder can produce one.
Takeaway: fingerprinting and testing are self-serve spot checks; watermarks and ZK need the vendor; for anything between you and the vendor, TEE TLS is today's only per-request evidence. The author works on TokHive, a quota-resale marketplace that uses SEV-SNP enclaves with signed receipts, declining to bill requests that fail verification.
More from Infra
- Back-of-envelope math suggests Ascend UBL128 within 1.6x of GB200 NVL72 inference perf/W — teortaxesTex · 2026-12-02
- DeepSeek on Ascend 950DT: GB200 roughly 3.4-3.6x more energy-efficient at matched decode speed — teortaxesTex · 2026-12-02
- DeepInfer hits ~8800 tok/s/GPU on Huawei SuperNodes at 100 tps per request — teortaxesTex · 2026-12-02
- Transformers now ships SDPA + kernels + max-autotune as defaults, ending unfair speed comparisons — ariG23498 · 2026-12-02
- Waymo picks AMD x86 embedded processors in multiyear autonomous driving partnership — ryanshrout · 2026-12-02
- Amazon's Trainium3SR splits inference across two chips, hitting 2,200 tokens/s on Ergo — rohanpaul_ai · 2026-12-02