Skip to content

Are you getting the model you paid for? Auditing model substitution in LLM APIsAre You Getting What You Pay For? Auditing Model Substitution in LLM APIs

arXiv· arXiv:2504.04715· Will Cai, Tianneng Shi, Xuandong Zhao, Dawn Song·Indexed by this site · 21 days ago· Originally publishedDefenses
AI summary

The paper formalizes the problem of model substitution in commercial LLM APIs and systematically evaluates detection methods, concluding that software alone cannot reliably identify a provider substituting a cheaper model. Statistical tests on text outputs require a large number of queries and struggle to detect subtle substitutions; methods relying on log probabilities are defeated by inference nondeterminism in production environments. The authors propose and evaluate using TEEs as a solution, claiming it can provide provable cryptographic guarantees of model integrity with small performance overhead. Code at https://github.com/sunblaze-ucb/llm-api-audit。

Related events and news

2 events · 2 news mentions

News that mentions this paper

Anthropic开源FlashProve,验证模型身份

Brave Leo 上线 GLM 5.3 Flash 可验证私有推理

Read originalarxiv.org