Is Your LLM Relay Serving What It Claims? A low-cost and high-power test for LLM Relay Auditing
Fangran Miao, Shengjie Niu, Jian Huang, Ting Li
Key points
From the paper's conclusion- Across 240 ordered full-substitution pairs, DFA achieves high detection rates at a nominal significance level of $\alpha=0.05$, using five probes and 250 relay requests per audit with stored reference fingerprints.
Abstract
Relay and reseller APIs have become a common way to access large language models (LLMs), yet users cannot directly verify whether they receive the models they request and pay for. This opacity motivates LLM relay auditing, but existing methods struggle to combine low cost, robustness to benign deployment changes, and statistically interpretable decisions under black-box access. To address these limitations, we propose distributional fingerprint auditing (DFA), a statistical method that requires only textual responses from suspect and trusted reference endpoints. DFA repeatedly queries semantically simple finite-choice probes and uses the resulting categorical response distributions to construct endpoint fingerprints. It compares the suspect and reference fingerprints probe by probe and aggregates the resulting evidence using the Cauchy combination test, yielding an approximate endpoint-level $p$-value for audit decisions at a prespecified nominal significance level. Using registered fingerprints of candidate models, a likelihood-based formulation further supports model attribution under full substitution and joint estimation of substitute identity and substitution ratio under constant-ratio mixed routing. Our benchmark includes 16 proprietary and open-weight LLMs from 10 model families. Across 240 ordered full-substitution pairs, DFA achieves high detection rates at a nominal significance level of $\alpha=0.05$, using five probes and 250 relay requests per audit with stored reference fingerprints. Configuration overrides can lead to rejection even when the served model remains unchanged, with effects varying across models and configurations. Simulations based on stored empirical fingerprints demonstrate accurate model attribution and estimate substitution ratios, with estimation error decreasing as the audit budget increases.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Contagious Fingerprints: When LLMs Inherit Another Model's IdentityarXiv · 2026
- Auditor-Assisted Summary-Channel Verification for Hosted LLM Identity SubstitutionarXiv · 2026
- API-TAIL: Detecting Model Substitution in LLM APIs through Temperature-Aligned Likelihood TailsarXiv · 2026
- AgentProv: Auditing Agentic LLM API Providers via Tool-use Policy ProbesarXiv · 2026
- What the Middleman Delivers: Answer Behavior, Tool Permissions, and Billed Usage in LLM API RelaysarXiv · 2026
- FlashProve-Next: Verifiable Inference for Production LLM APIsarXiv · 2026