ResearchDiabetes, Obesity and Metabolism · Apr 13, 2026

Accuracy of ChatGPT, Gemini, Claude and DeepSeek in Carbohydrate Counting

Zagaroli L, Caione N, Zara S, Guerra F, Zugaro A, Baroni MG, et al
Endocrinology & DiabetesDigital Health & AI
Read the full paper free at PubMed Central ↗

Abstract

Aims To evaluate the accuracy of four general-purpose artificial intelligence (AI) models-ChatGPT (OpenAI), Gemini (Google), Claude (Anthropic) and DeepSeek (DeepSeek AI)-in calculating the carbohydrate content of meals compared with clinicians-calculated reference values. Materials and methods The primary endpoint was equivalence between clinicians and AI-generated calculations within an error margin of ±5%. One-hundred twenty-four meals were analysed, equally distributed among breakfast, lunch, dinner and snacks. Carbohydrate contents were jointly determined by two paediatric diabetologists and one clinical nutritionist using the USDA FoodData Central and CREA Italian Food Composition Tables. Each AI model received identical, standardized prompts in English describing the meals. Statistical analyses included the Two One-Sided Tests procedure, the Bland-Altman plots, the Wilcoxon signed-rank and the Spearman correlations. Results The clinicians' median carbohydrate content was 30.32 g. Model medians were 30.75 g (ChatGPT), 30.40 g (Gemini), 29.75 g (DeepSeek) and 29.25 g (Claude). ChatGPT showed the smallest bias, the narrowest limits of agreement, and the highest correlation with clinicians' calculation. Only ChatGPT met the predefined ±5% equivalence criterion, whereas Gemini and DeepSeek achieved equivalence within a ±10% margin. Claude displayed the largest negative bias and the widest dispersion. Conclusions ChatGPT most accurately approximated clinicians' carbohydrate calculation among the tested AI models and fulfilled strict clinical equivalence criteria. Although the other models tended to underestimate carbohydrate content, their mean deviations remained within clinically acceptable limits. These findings suggest that AI tools, particularly ChatGPT, may serve as useful adjuncts for carbohydrate counting for people with type 1 diabetes, supporting self-management.

More on this topic

AI in medicine

Subject terms

Humans; Artificial Intelligence; Diabetes Mellitus, Type 1; Dietary Carbohydrates; Generative Artificial Intelligence; Meals; Reproducibility of Results

DOI: 10.1111/dom.70747 · PubMed: 41969183

Cite this article

Zagaroli L, Caione N, Zara S, et al. Accuracy of ChatGPT, Gemini, Claude and DeepSeek in Carbohydrate Counting. Diabetes Obes Metab. 2026;28(7):5627-5636. doi:10.1111/dom.70747

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Endocrinology & Diabetes studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Randomized trial · BMJ Open Diabetes Res Care · Oct 8, 2021 · Endocrinology & Diabetes

High protein and fat meals were associated with higher late postprandial glucose in type 1 diabetes

Review · Diabetes Obes Metab · Nov 28, 2025 · Endocrinology & Diabetes, Nutrition

A narrative review of meal management with the MiniMed™ 780G system: Evolution of dietary management in type 1 diabetes

Research · Otolaryngol Head Neck Surg · May 29, 2026 · ENT (Otolaryngology), Digital Health & AI

Large Language Model Responses to Common Otolaryngological Questions: Evaluating Accuracy, Appropriateness, Readability, and Hallucinations

Research · J Plast Reconstr Aesthet Surg · Jun 3, 2026 · Plastic & Reconstructive Surgery, Digital Health & AI

AI-based burn image assessment: Reliability and clinical error patterns of multimodal large language models in a repeated-inference study

Research · Eur Radiol Exp · Jan 26, 2026 · Radiology & Imaging, Digital Health & AI

Reliability of Gemini 2.5 Pro, ChatGPT 4.1, DeepSeek V3, and Claude Opus 4 in generating standardized CMR protocols