Anytime Contracts for AI Services
Boris Velasevic, Eden Saig, Eric Mazumdar
Key points
From the paper's conclusion- We give an efficient algorithm for computing anytime contracts and show how betting e-processes can be used to approximate them when the models are unknown.
Abstract
AI services are prone to moral hazard, as model providers can silently route requests to cheaper, lower-quality models, and the inherent stochasticity of model outputs makes this degradation hard to detect. Contract theory addresses moral hazard by designing payment rules that reward high-quality outputs and prevent strategic overcharging. However, existing frameworks assume interactions of fixed duration, whereas AI services are typically consumed through subscriptions and pay-as-you-go APIs that users can terminate at any time based on observed performance. We show that this flexibility can break standard contracts, opening them up to abuse by either the providers or users. To address this, we extend contract theory to account for unknown exit rules. We formalize the problem as a Principal-Agent game, and show that budget-optimal contracts in this setting are proportional to anytime-valid hypothesis tests based on likelihood-ratio e-values. We give an efficient algorithm for computing anytime contracts and show how betting e-processes can be used to approximate them when the models are unknown. Finally, we evaluate our findings on synthetic data and data from deployed LLMs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Agent Money Benchmark: Can AI Agents Be Trusted to Spend Money?arXiv · 2026
- Probability Contracts: Accuracy, Coherence, and Decisions Across LLM InterfacesarXiv · 2026
- Concordat: Typed Sessions for LLM AgentsarXiv · 2026
- Incentive-Responsive Agents: A Principal-Agent Framework, Metric Suite, and Runtime Architecture for Long-Lived Personal AI AgentsarXiv · 2026
- Rewards for Budget-Aware Multi-Turn Agents That Adapt to Arbitrary Test-Time ConstraintsarXiv · 2026
- Dynamic Budget Allocation for LLM Evaluation under Hard Resource ConstraintsarXiv · 2026