Chatbot performance tests differ when done via API or user interface

API Benchmark Scores Do Not Reliably Transfer to Chatbot Interfaces

Artificial IntelligenceSoftware Engineering

Summary

Many people assume that when we test AI chatbots through their programming interfaces (APIs), the results reflect how the bots perform when people use them directly. The authors tested three major chatbots and found that scores from API tests often showed better accuracy and consistency than tests done through the chat interfaces people actually use. They also tried adjusting settings through the API to mimic the chat experience, but this did not fully close the gap. This means measuring AI with APIs alone can give an incomplete picture of how well chatbot systems really work for users.

benchmarkAPIchatbot interfaceaccuracyconsistencyChatGPTClaudeGeminisystem promptstest-retest agreement

Authors

Jennifer Wang, Joachim Baumann, Daniel E. Ho, Sanmi Koyejo

Abstract

Benchmark scores are a central currency in model releases: they inform purchasing decisions, shape public trust, and influence policy. Yet, a key assumption underlying benchmark scores is that the model performance measured through APIs faithfully reflects the behavior of deployed systems. We challenge this assumption by auditing ChatGPT, Claude, and Gemini across seven systems and nine benchmarks spanning general capability, social bias, and sycophancy. We find systematic API--interface differences in both accuracy and consistency. On average, API evaluations score 3.4 percentage points higher in accuracy and 2.1 percentage points higher in test--retest agreement than corresponding interface evaluations. For ChatGPT, the performance difference between API and interface access exceeds the API-only difference between GPT 5.3 and GPT 5.4. Put differently, switching access surfaces can degrade performance as much as downgrading a full model generation. We further test whether exposed API controls can reproduce interface behavior by varying system prompts, sampling parameters, and reasoning settings. These controls shift behavior in some cases but do not reliably eliminate the gap. Our findings document a context-validity gap: measurements obtained through APIs do not necessarily generalize to corresponding deployed interfaces, complicating the use of API evaluations as proxies for deployed systems.