AIEvals

Benchmarks

MedCode

Whether a model can perform medical coding — assigning the diagnosis codes a hospital bills from — given realistic de-identified documentation rather than a clean textbook case.

Healthcare administrationVals AI with Protege104 models run by Vals AIUpdated 29 September 2026

How it is run

Built with Protege, the dataset carries up to 2,755 primary and secondary diagnosis codes per patient record, so a whole hospitalisation can be coded from admission through discharge, including sequencing, modifiers and payer rules.

What it cannot tell you

The leader reaches only 63.57%, and every model is weaker on mental-health and other complex categories than on physical conditions such as diabetes and hypertension. That gap to the rules billing depends on is the reliability question for any deployment, and Vals frames the field as deployed without much independent oversight.

Leader
Claude Opus 563.57% · Vals AI's own list
Top-ten spread
10.35%Leader minus tenth place, or last place in smaller fields.
Median
41.33%of the 104 rows published
No published result
11of 46 models on this site

Independent leaderboard · Vals AI

Top 104 of 104 runs by Vals AI, one harness.

#ModelScore
1Claude Opus 563.57%
2Gemini 3.1 Pro59.06%
3Gemini 4 Argon58.80%
4Claude Fable 556.07%
5Gemini 3 Flash Preview55.92%
6Gemini 3.5 Flash55.83%
7Claude Opus 4.754.86%
8Claude Fable 5.153.51%
9Gemini 3.7 Flash53.39%
10Claude Opus 4.853.22%
11Gemini 3.6 Flash53.15%
12Claude Sonnet 5.552.92%
13Gpt 5.1 2025 11 1352.73%
14Gemini 3 Pro Preview52.20%
15Muse Spark51.31%
16Gemini 2.5 Pro50.59%
17Claude Opus 5.549.80%
18Gpt 5.2 2025 12 1149.75%
19Gpt 5 2025 08 0749.63%
20Grok 4.749.55%
21Muse Spark 1.249.35%
22Claude Opus 4 5 20251101 Thinking49.16%
23Claude Opus 4 6 Thinking49.13%
24GPT-5.549.10%
25Kimi K348.88%
26GPT-6.1 Sol48.84%
27GPT-6 Astra48.49%
28Claude Opus 4 648.24%
29Gemini 3.8 Flash48.13%
30Gemini 3.1 Flash Lite Preview47.60%
31Claude Sonnet 547.54%
32O3 2025 04 1647.29%
33Claude Opus 4 1 20250805 Thinking47.23%
34GPT-6 Sol47.07%
35MiniMax M346.29%
36Claude Opus 4 5 2025110145.17%
37MiMo V2.6 Pro44.97%
38Grok 4.644.71%
39GPT-6 Luna44.69%
40Claude Sonnet 4 5 20250929 Thinking44.13%
41GPT-5.6 Sol43.97%
42Gemini 3.5 Flash Lite43.49%
43GPT-5.6 Terra43.41%
44Grok 4.543.29%
45Hunyuan Hy4 Preview43.25%
46Gpt 5 Mini 2025 08 0743.05%
47GLM 5.342.86%
48DeepSeek V4 Pro42.47%
49GPT-5.6 Luna42.39%
50Glm 5.141.60%
51Deepseek V4 Flash 073141.41%
52Claude Opus 4 1 2025080541.37%
53Gpt 5.4 2026 03 0541.29%
54Inkling41.19%
55DeepSeek V4.1 Flash41.17%
56MiMo-V2.6-Flash41.06%
57Gpt 5.4 Nano 2026 03 1741.03%
58Glm 5.240.77%
59Qwen3.8 Max40.67%
60Claude Sonnet 4 5 2025092940.57%
61Gemini 2.5 Flash Preview 09 202540.54%
62Deepseek V4 Pro40.45%
63Gemini 2.5 Flash Thinking40.36%
64Gemini 2.5 Flash Preview 09 2025 Thinking40.33%
65Kimi K2.640.14%
66Kimi K2.5 Thinking39.32%
67Qwen3.7 Max38.75%
68Nemotron 3 Ultra 550b A55b38.62%
69Gemini 2.5 Flash38.42%
70Grok 4 070938.08%
71Grok 4.338.07%
72Inkling Small37.89%
73Grok 4 Fast Reasoning37.38%
74Qwen3.6 Plus36.89%
75Llama4 Maverick Instruct Basic36.51%
76Claude Sonnet 4 20250514 Thinking34.96%
77MiniMax M2.734.44%
78Gemini 2.5 Flash Lite Preview 09 2025 Thinking34.19%
79MiniMax M2.134.08%
80Claude Sonnet 4 2025051433.94%
81O4 Mini 2025 04 1633.79%
82Mistral Medium 3.533.75%
83Qwen3.5 Flash33.00%
84Glm 4.732.77%
85Claude Haiku 4 5 20251001 Thinking32.68%
86Mimo V2.5 Pro32.48%
87Ling 3.0 Flash 260732.27%
88Grok 4.20 0309 Reasoning32.16%
89Mimo V2.531.89%
90Qwen3 Vl Plus 2025 09 2331.65%
91Qwen3 Max 2026 01 2331.37%
92Mercury 2.531.33%
93Gpt 5 Nano 2025 08 0730.44%
94Grok 4 Fast Non Reasoning30.04%
95Ling 3.0 Flash Af Rc329.30%
96Qwen3.8 27b28.70%
97Grok 4 1 Fast Non Reasoning28.35%
98Grok 4 1 Fast Reasoning28.08%
99Gemini 2.5 Flash Lite27.11%
100Gemini 2.5 Flash Lite Preview 09 202527.08%
101Llama 4 Scout 17B 16E Instruct23.31%
102Laguna M.123.11%
103Laguna Xs.221.25%
104Command A Plus 05 202619.72%

No published result tracked

11 of the 46 models on this site have no published number on this benchmark, so their cells in the home table stay blank rather than reading as zero.

Read this with

Benchmarks in the same category, which usually disagree with this one on purpose.

Sources

Every page used for this benchmark, read on 17 October 2026.