What the Middleman Delivers: Answer Behavior, Tool Permissions, and Billed Usage in LLM API Relays
Xiaodong Wu, Zhimin Zhao, Qi Li, Chaklam Cheong, Xiangman Li, Jianbing Ni
Abstract
Third-party application programming interface (API) relays offer access to large language models (LLMs), often at lower prices. Users depend on these services for model quality, instruction compliance, and accurate billing. However, existing studies leave unclear whether relays meet these expectations together. We test 20 relays offering GPT-6 Astra and Claude Opus 5. First, we compare answers to knowledge questions with batch-matched official responses. In our first-round sample, the analysis flags 7/10 low-price and 2/10 same- or higher-price relays for behavioral differences. On retesting 35 pairs, seven gain or lose a flag under the original rules, and six under matched correction families. Because answer comparisons cannot reveal every delivery problem, we examine returned content and tool permissions. No injection is confirmed in 3,332 screened responses to a fixed, non-adversarial code and setup workload, yet four relays return tool calls despite instructions disabling them in the first round. Finally, to connect reported usage to actual costs, we compare input-token counts with official references and check balances. For identical requests, five relays report 4,200 to 60,000 more input tokens than the official API. Where balances are available (six services), charges follow reported usage at listed prices, including extra reported input tokens at one service. Our study shows that advertised models and prices are insufficient to judge relay reliability. It identifies unexplained billed token quantities and tool-permission violations as risks and shows why service evaluations need repeated measurements.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
Related papers
BehaVerify: A Formal Verification Tool for Behavior Trees
Shared title terminologycs.SESerena S. Serbinowska, Ben Wooding, Diego Manzanas Lopez et al.
Typify: A Tool for Usage-driven Type Inference in Python
Shared title terminologycs.SEHassan Aman, Ali Aman, Muhammad Asaduzzaman et al.
SCOPE: Evaluating and Enhancing Permission Explanation Transparency in Mobile Apps
Shared title terminologycs.SELiu Wang, Tianshu Zhou, Haoyu Wang et al.
STUN-Bench: Truly Unseen Tools for Evaluating Shared Tool Experience
Shared title terminologycs.SEAbhijit Chakraborty, Ni Trieu, Vivek Gupta
Dhaani: A Data-Flow-Driven Tool for Greenfield Construction and Brownfield Modernisation
Shared title terminologycs.SEShraddha Surana, Ashwin Srinivasan
Epistemic Guard: Out-of-Process MCP Receipt Proxying, Post-Turn Prose Supervision, and Provenance-Gated Memory for Tool-Using Autonomous Agents
Shared title terminologycs.SESean Maxwell