Preprint
Article

This version is not peer-reviewed.

Does Paying for AI Pay Off? A Comparative Evaluation of ChatGPT, Claude, and Gemini on Algorithmic Problems

Submitted:

30 November 2026

Posted:

03 December 2026

You are already at the latest version

Abstract
Generative Artificial Intelligence usage in programming is increasing. But their ability to solve algorithmic problems differs across providers and subscriptions. This study examines whether upgrading from a free to a paid AI subscription is associated with better performance in algorithmic problem-solving. A benchmark of 120 Codeforces problems was constructed, covering 20 algorithmic categories and three difficulty levels. Each problem was submitted to six AI configurations, representing the free and paid subscriptions of ChatGPT, Claude and Gemini, which produced 720 evaluations. The official Codeforces verdicts were used to assess the generated solutions. The results were analysed using descriptive statistics and a binomial logistic mixed-effects model. Overall, 538 submissions were accepted. At the configuration level, ChatGPT Paid achieved the highest observed acceptance rate, closely followed by Claude Paid and Claude Free. Paid configurations achieved higher acceptance rates than their corresponding free configurations, although the size of the differences varied across providers. The results found statistically significant differences between free and paid configurations for ChatGPT and Gemini, whereas the difference for Claude was not statistically significant. Also, the overall acceptance rates decreased as problem difficulty increased, although this pattern varied across the AI providers. These findings provide a practical comparison of the programming performance through free and paid AI subscriptions.
Keywords: 
;  ;  ;  ;  
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.