mlsanityData to 7 Oct 2026

Are You Getting What You Pay For? Auditing Model Substitution in LLM APIs

arXiv 2504.04715 ↗First posted 7 Apr 2025cs.CL cs.CR cs.LGcited by 35

Not on the map. Why?

Abstract (arXiv)

Commercial Large Language Model (LLM) APIs create a fundamental trust problem: users pay for specific models but have no guarantee that providers deliver them faithfully. Providers may covertly substitute cheaper alternatives (e.g., quantized versions, smaller models) to reduce costs while maintaining advertised pricing. We formalize this model substitution problem and systematically evaluate detection methods under realistic adversarial conditions. Our empirical analysis reveals that software-only methods are fundamentally unreliable: statistical tests on text outputs are query-intensive and fail against subtle substitutions, while methods using log probabilities are defeated by inherent inference nondeterminism in production environments. We argue that this verification gap can be more effectively closed with hardware-level security. We propose and evaluate the use of Trusted Execution Environments (TEEs) as one practical and robust solution. Our findings demonstrate that TEEs can provide provable cryptographic guarantees of model integrity with only a modest performance overhead, offering a clear and actionable path to ensure users get what they pay for. Code is available at https://github.com/sunblaze-ucb/llm-api-audit

Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). Builds on 31 of its 44 references that are in the map. First posted on arXiv 7 Apr 2025.

Builds on

31 of 44 references.

References · 31

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  7. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  8. 2023Qwen Technical Reportcited by 3,273
  9. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  10. 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
  11. 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
  12. 2023A Watermark for Large Language Modelscited by 667
19 more
  1. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 396
  2. 2023Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvaturecited by 278
  3. 2023How is ChatGPT's behavior changing over time?cited by 265
  4. 2023Provable Robust Watermarking for AI-Generated Textcited by 259
  5. 2023RADAR: Robust AI-Text Detection via Adversarial Learningcited by 187
  6. 2024Stealing Part of a Production Language Modelcited by 152
  7. 2023DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated Textcited by 127
  8. 2023A Survey on Detection of LLMs-Generated Contentcited by 70
  9. 2024Decoding Compressed Trust: Scrutinizing the Trustworthiness of Efficient LLMs Under Compressioncited by 54
  10. 2024zkLLM: Zero Knowledge Proofs for Large Language Modelscited by 51
  11. 2024Model Equality Testing: Which Model Is This API Serving?cited by 44
  12. 2024SoK: Watermarking for AI-Generated Contentcited by 43
  13. 2024Logits of API-Protected LLMs Leak Proprietary Informationcited by 38
  14. 2025Idiosyncrasies in Large Language Modelscited by 32
  15. 2023Towards Possibilities & Impossibilities of AI-generated Text Detection: A Surveycited by 28
  16. 2025Exploring and Mitigating Adversarial Manipulation of Voting-Based Leaderboardscited by 19
  17. 2025TOPLOC: A Locality Sensitive Hashing Scheme for Trustless Verifiable Inferencecited by 16
  18. 2025Predicting the Performance of Black-box LLMs through Follow-up Queriescited by 9
  19. 2024SVIP: Towards Verifiable Inference of Open-source Large Language Modelscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 13; 2026: 22.

35 papers.

Sort:

By area:

  1. 2025Auditing Black-Box LLM APIs with a Rank-Based Uniformity Testcited by 16
  2. 2025CoIn: Counting the Invisible Reasoning Tokens in Commercial Opaque LLM APIscited by 14
  3. 2025SoK: Large Language Model Copyright Auditing via Fingerprintingcited by 14
  4. 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentivescited by 13
  5. 2025Invisible Tokens, Visible Bills: The Urgent Need to Audit Hidden Operations in Opaque LLM Servicescited by 10
  6. 2025Log Probability Tracking of LLM APIscited by 8
  7. 2026Real Money, Fake Models: Deceptive Model Claims in Shadow APIscited by 8
  8. 2025Predictive Auditing of Hidden Tokens in LLM APIs via Reasoning Length Estimationcited by 7
  9. 2025Flex-Judge: Text-Only Reasoning Unleashes Zero-Shot Multimodal Evaluatorscited by 6
  10. 2026One Token Is Enough: Fingerprinting and Verifying Large Language Models from Single-Token Output Distributionscited by 6
  11. 2025Pay for The Second-Best Service: A Game-Theoretic Approach Against Dishonest LLM Providerscited by 5
  12. 2025Auditing Pay-Per-Token in Large Language Modelscited by 4
23 more
  1. 2026Token-Efficient Change Detection in LLM APIscited by 4
  2. 2026Proof-of-Guardrail in AI Agents and What (Not) to Trust from Itcited by 4
  3. 2026Beyond Reproducibility: Token Probabilities Expose Large Language Model Nondeterminismcited by 3
  4. 2026IMMACULATE: A Practical LLM Auditing Framework via Verifiable Computationcited by 3
  5. 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Servicescited by 3
  6. 2026Test-Time Compute Gamescited by 2
  7. 2025TRUST: A Decentralized Framework for Auditing Large Language Model Reasoningcited by 1
  8. 2026Computational Arbitrage in AI Model Marketscited by 1
  9. 2026Inferring the Size of Large Language Models From Popular Text Memorizationcited by 1
  10. 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usagecited by 1
  11. 2026Total Variation Distance Estimation in Autoregressive Modelscited by 1
  12. 2025Tokenization Multiplicity Leads to Arbitrary Price Variation in LLM-as-a-servicecited by 0
  13. 2025Let's Measure Information Step-by-Step: AI-Based Evaluation Beyond Vibescited by 0
  14. 2026Same Pieces, Different Servers: A Tetris Benchmark for AI Agents as Servedcited by 0
  15. 2026Adaptive Contracts for Cost-Effective AI Delegationcited by 0
  16. 2026Towards Verifiable AI with Lightweight Cryptographic Proofs of Inferencecited by 0
  17. 2026Referential Security as a New Paradigm for AI Evaluationscited by 0
  18. 2026Ventor-QTest: Threat-Model-Driven Verification of Vendor-Hosted LLM APIscited by 0
  19. 2026AgentProv: Auditing Agentic LLM API Providers via Tool-use Policy Probescited by 0
  20. 2026Who Is Behind the Harness? Fingerprinting LLMs through Agentic Behaviorcited by 0
  21. 2026Strategic Self-Consistencycited by 0
  22. 2026Forging LLM Authorship Fingerprints with Targeted Rewritingcited by 0
  23. 2026Paying for Too Many Tokens? Valid and Cost-Efficient Multimodal LLM Annotation with Simple Heuristicscited by 0