Manuscript Offprint

arXiv:2611.01950

CertClaim: Towards Certified Model-Claim Verification for Coding-Agent Services

Jiacheng Lu, Qixuan Yang, Tao Song, Daxin Jiang, Jing Li, Zuo Bai, Haibing Guan

Abstract

Coding-agent services are priced by the model they claim, making the verification of such model claims crucial for their users. In this paper, we reveal that existing model auditing methods rely on a latent assumption that the deployment is static, i.e., the claimed model is always served in one reference configuration. This assumption does not hold for coding-agent services, whose providers may legitimately change the sampling preset, the reasoning mode or the system prompt without changing the model. As a result, existing methods either falsely accuse honest providers or miss cheap derivatives of the claimed model. To address this problem, we propose a certified model-claim verification method (dubbed Cert-Claim). Instead of testing the service against one reference deployment, we make the authorized deployments part of the claim and test whether some authorized deployment explains all the evidence of the service, by calibrating multiple evidence channels in every authorized deployment and fusing them within each deployment. We provide theoretical analyses of its false-accusation rate and detection condition. Extensive experiments on eight claims, two agent harnesses and three task suites verify the effectiveness of CertClaim, which is valid in every setting while separating substitutes far better than existing methods, as well as its resistance to potential adaptive attacks.

1. Introduction

Recently, large language models (LLMs) have been widely deployed as coding agents (e.g., Claude Code, Codex and OpenCode) that read, edit and execute code on behalf of developers (Yang et al., 2024; Wu, 2026). The capability of such an agent is mostly determined by the model behind it, so coding-agent services (e.g., first-party subscriptions,

model gateways and resellers) are usually priced by the model they claim.

However, users can hardly verify whether the claimed model is actually behind a service. A provider has a direct economic incentive to serve a cheaper substitute (e.g., a quantized, distilled or fine-tuned derivative or a smaller sibling of the claimed model) (Cai et al., 2025), and silent model substitutions have already been observed on commercial LLM API gateways (Lin et al., 2026). In this paper, we study model-claim verification for coding-agent services, i.e., deciding whether a service is serving its claimed model when the user can only interact with it through the agent (i.e., under the black-box setting). Classical model protection, which requires either the cooperation of the provider (e.g., trusted execution environments (Xie et al., 2026) and verifiable inference (Ong et al., 2025; Liu, 2026)) or access to the model parameters (e.g., white-box fingerprinting (Shao et al., 2025)), cannot be adopted by users in this task. To the best of our knowledge, black-box model auditing is currently the only feasible approach.

In general, existing model auditing methods can be divided into three categories based on the evidence they compare, i.e., equality tests of the output distribution (e.g., MET (Gao et al., 2025)), fingerprints that identify the model (e.g., LLMmap (Pasquini et al., 2025)), and behavioral probes of agentic tool use (e.g., AgentProv (Wang et al., 2026b)). They share a two-stage pipeline: the auditor first collects the responses of the claimed model to a set of queries (i.e., probes) in a reference configuration, and then examines whether the responses of the suspicious service follow the reference distribution. We argue that such a verifier is practical if and only if it is both valid and complete. Specifically, validity requires that an honest provider is falsely accused with a probability of at most a prescribed level in any deployment it is authorized to use and under any audit budget, while completeness requires that cheap substitutes, including derivatives of the claimed weights, are detected.

In this paper, we reveal that existing model auditing methods rely on a latent assumption that the deployment is static, i.e., the claimed model is always served in one reference configuration. This assumption is reasonable for the model APIs that most of them were designed for, where the client

¹Shanghai Jiao Tong University, Shanghai, China ²StepFun, Shanghai, China. Correspondence to: Tao Song, Zuo Bai.

Preprint.

Figure

Figure

Figure 1. Existing model auditing methods test a coding-agent service against one static reference deployment of the claimed model. (a) The false-accusation rate of honest services that claim Qwen3.5-27B (Qwen Team, 2026a), in the default deployment and in their worst authorized deployment (e.g., with reasoning switched off). (b) The detection rate of three derivatives of Qwen3.5-27B, i.e., its official 4-bit checkpoint, a behavior-preserving edit and a refusal-ablated model. (c) The proportion of the 18 settings of our experiments in which each method is valid at α=5%\alpha = 5\%, against its average AUC. Existing methods either falsely accuse honest providers or miss derivatives of the claimed model, whereas CertClaim is valid in every setting and detects all three derivatives.

sets the sampling parameters and the prompt. However, it does not hold for coding-agent services, where the provider controls the deployment and may legitimately change it without changing the model (e.g., switching the reasoning mode, adding system prompts or serving an official low-precision checkpoint). As a result, existing methods either falsely accuse honest providers that change an authorized setting, which a larger audit budget makes worse, or miss derivatives of the claimed model (see Figure 1), since an authorized change may move the behavior of an agent more than a derivative does. Simply calibrating existing tests over the authorized deployments restores their validity, but no single evidence channel detects every cheap substitute on every claim. Accordingly, an intriguing and critical question arises: Could we design valid and complete model-claim verification for coding-agent services?

The answer to the aforementioned question is in the positive, though achieving it is non-trivial. First, authorized deployments are discrete and semantic changes of the serving configuration that may move the behavior of an agent more than a derivative does, so no tolerance around one reference deployment can separate them (dubbed 'Challenge 1'). Second, since no single channel suffices on every claim, multiple channels have to be combined, whereas a provider may let the channels that are calibrated separately be explained by different authorized deployments (dubbed 'Challenge 2').

Motivated by this understanding, we propose CertClaim, a certified model-claim verification method for coding-agent services. Instead of testing the service against one reference deployment, we make the authorized deployments part of the claim (dubbed 'deployment contract') and test whether some authorized deployment explains all the evidence of the

service. In general, CertClaim consists of three main steps. First, we run a few batches of coding tasks through each authorized deployment (dubbed 'cell') and compare an audit with every cell via stratified permutation tests, so that the false-accusation rate is controlled within every cell however far apart the cells are (i.e., Challenge 1). Second, we audit the service through an agent harness controlled by the auditor and score it on multiple evidence channels, including in-harness channels and out-of-session probes (i.e., Challenge 2). Third, we fuse all channels within each cell before taking the maximum over cells (dubbed 'cell-coherent fusion'), so that the claim survives only if a single authorized deployment explains all the evidence (i.e., Challenge 2). Our theoretical analyses show that CertClaim controls the false-accusation rate under every authorized deployment and every audit budget, and characterize when a substitute is detected.

We evaluate CertClaim on eight claims, two agent harnesses and three task suites, involving 44 models. In the metrics of a recent model-identity benchmark (Shao et al., 2025), CertClaim is valid in every setting with an average AUC above 0.99, whereas every existing method is invalid under at least one type of authorized deployment change and stays below 0.77 on average. Besides, CertClaim resists potential adaptive attacks, such as serving a substitute in an authorized configuration and routing part of the sessions to a substitute.

In summary, our main contributions are four-fold: (1) We study model-claim verification for coding-agent services and reveal that existing model auditing methods rely on a latent assumption that the deployment is static. (2) Based on our analyses, we design a certified model-claim verification method (i.e., CertClaim), which makes the authorized deployments part of the claim and fuses multiple evidence channels within each authorized deployment. (3) We provide theoretical analyses of the false-accusation rate and the detection condition of CertClaim. (4) We conduct extensive experiments on open-weight and frontier claims, agent harnesses and task suites, which verify the effectiveness of CertClaim as well as its resistance to potential adaptive attacks.

References (59)