Certified medical coders reviewing hospital charts to evaluate AI medical coding accuracy

Healthcare · · 9 min read

How to evaluate AI medical coding accuracy

Acumen Editorial · Updated November 24, 2026

Acumen publishes this guide for revenue cycle, HIM and clinical AI leaders who are choosing or renewing a coding AI. The question is no longer whether AI can suggest codes. It can. The question is whether its codes would survive an audit on your charts.

How accurate is AI medical coding today?

Less accurate than most vendor decks suggest, and the gap shows up in the details.

On November 19, 2026, Vals AI's MedCode benchmark listed its top model at 63.57% on 2,755 de-identified hospital records. Each record carried ICD-10-CM codes for the full stay, labeled independently by two certified professional coders without AI help. Vals AI found that most errors were missing codes, not wrong ones. Secondary codes were harder than primary codes. Accuracy fell sharply in chapter F (mental health) and chapter Z (health-status factors).

Academic results point the same way. A July 2026 arXiv preprint (2607.11954) reported 0.709 micro-F1 on a 50-code subset of MIMIC-IV discharge summaries, but 0.527 across all 15,761 leaf codes. The tail of rare codes is where models break. An earlier NEJM AI study from Mount Sinai found that general LLMs scored below 50% exact match when generating codes, with GPT-4 at 33.9% on ICD-10-CM.

Purpose-built tools claim more. Corti said in April 2026 that its agentic coding model beat general frontier models by over 25% on ACI-BENCH and MDACE. That is a company-reported figure. Treat it as a reason to test, not as a result.

Why can't you trust a vendor's coding accuracy number?

Because "accuracy" means different things in different decks. Ask four questions of any number you are shown.

  • Accuracy of what? Exact match on the full code set, per-code F1, category-level match, or DRG agreement are different metrics. A tool can hit the right DRG with the wrong secondary codes.
  • On whose charts? Inpatient discharge summaries, emergency notes, outpatient E/M visits and risk-adjustment charts behave differently. MIMIC-IV results do not transfer to your outpatient clinics.
  • Graded by whom? A reference set coded by one person, or by another model, has no measured reliability. Two certified coders plus adjudication is the floor.
  • Which codes count? Many headline numbers cover the 50 most common codes. Your denials and audit findings live in the long tail.

What should a coding AI evaluation measure?

Measure the outcomes that move revenue and audit exposure, not just a single score.

MetricWhat it tells youWhy it matters
Primary code accuracyDid the tool pick the principal diagnosis a coder would?Drives DRG assignment and payment
Secondary code recallShare of coder-assigned secondary codes the tool foundMissed codes are the most common error type in MedCode
Secondary code precisionShare of tool-added codes a coder would keepUnsupported codes create audit and False Claims Act exposure
DRG or E/M level agreementSame payment group or visit level as codersThe financial outcome of coding
Errors by chapter and code rarityWhere accuracy falls offWeak chapters (F, Z) and rare codes hide behind averages
Documentation support rateShare of codes with explicit chart evidenceWhat an auditor checks first
Coder agreement on the reference setHow often two certified coders agreeSets the ceiling for any score

How do you build a coder-graded test set?

Build it once, version it, and score every release against it. Our guide to building a golden dataset for medical AI covers the general method. For coding, the specifics are these.

  1. Sample your own encounters. Pull de-identified charts across the settings the tool will touch: inpatient, emergency, outpatient E/M, and risk adjustment if relevant. Oversample service lines with high denial rates.
  2. Use certified coders, matched to setting. Inpatient facility coding and professional fee coding are different skills. Match credentials (for example CCS for inpatient, CPC for professional) to the encounter type.
  3. Code blind, twice. Two coders assign codes independently, without seeing the AI output. A senior coder adjudicates disagreements and records the reason.
  4. Report agreement. Publish coder-to-coder agreement with every score. Our article on inter-rater reliability for medical AI explains which statistics to use.
  5. Tag each code with evidence. Coders link every reference code to the sentence in the note that supports it. That lets you score documentation support, not just code match.
  6. Keep it out of training. A test set the vendor has seen is a test set that no longer measures anything.

How do you check audit risk before go-live?

Treat every code the AI adds as a claim someone will defend.

Coding intensity is under scrutiny. In March 2026, Blue Health Intelligence reported that the share of commercial inpatient admissions coded as complex rose from 46.8% to 59.8% at the fastest-growing 10% of hospitals. Trilliant Health reported higher acuity coding at six health systems after they adopted AI scribing. Neither study shows that AI caused the shift. But payers have responded: an npj Digital Medicine brief described automatic one-level reductions of many level 4 and 5 E/M claims. The American Hospital Association's July 2026 fact sheet disputes the upcoding claims and notes that hospitals keep their obligation to code accurately, with human validation.

Before go-live, run these checks:

  • Coders review every code the AI added that the reference set did not include
  • Each added code is labeled supported, unsupported, or query-worthy
  • Shift in DRG and E/M level mix is measured against coder baseline
  • Results are split by service line, payer and encounter type
  • Errors are logged by chapter, with rare codes reported separately
  • The audit trail shows which codes were auto-finalized and which a human touched
  • A re-test is scheduled for every model update and every annual code set update

If your coding tool sits downstream of an ambient scribe, test both together. Our guide to evaluating an ambient AI scribe covers the documentation side.

Autonomous vs. assistive coding: does the evaluation change?

Yes. The threshold changes with who signs off.

For assistive coding, a coder reviews every suggestion. Recall matters most, because the coder can reject a bad code but may never look for a missing one. Measure time saved per chart alongside accuracy.

For autonomous coding, codes go to the claim without human review. Precision and documentation support matter most. Set a per-encounter-type confidence threshold, and only auto-finalize encounter types where the tool matches adjudicated coders at the rate you would accept from a staff coder. Route everything else to review.

How Acumen helps

Acumen builds coder-graded and clinician-graded evaluation sets for healthcare AI teams. We recruit and verify certified coders and specialty clinicians, run blinded double coding with adjudication, link every reference code to chart evidence, and report agreement with every score. You get a versioned test set you can rerun on every release and every vendor.

See our medical model evaluation service, or start with a sample.

Request a sample dataset Schedule a conversation

FAQ

How accurate is AI medical coding?

It depends on the setting and the metric. On Vals AI's MedCode benchmark of 2,755 hospital records, the top model scored 63.57% as of November 19, 2026. Results are stronger on common codes and primary diagnoses, and weaker on secondary codes, rare codes, and mental-health and health-status chapters. Test on your own charts before relying on any number.

What is the best metric for AI coding accuracy?

No single metric is enough. Report primary code accuracy, secondary code precision and recall, DRG or E/M level agreement, and documentation support rate. Split results by encounter type and code chapter. Precision protects you from audit risk. Recall protects revenue. DRG agreement shows the financial effect of both.

Who should grade an AI coding evaluation?

Certified coders matched to the setting: inpatient facility coders for hospital stays and professional fee coders for outpatient visits. Use two coders per chart, working blind to the AI output, with a senior coder adjudicating disagreements. Add clinicians when the question is whether the documentation supports a diagnosis, not just which code applies.

How many charts do you need to test a coding AI?

Enough to report results by encounter type and by the service lines that drive your denials. Size each setting so its error rate is stable from one sample to the next, and oversample high-risk service lines and rare codes. The goal is stable error rates where your audit exposure sits, not one overall average.

Does AI coding increase audit risk?

It can if the tool adds codes the chart does not clearly support. Payers and researchers are watching coding intensity, and some payers now reduce high-level E/M claims automatically. Measure the documentation support rate for every AI-added code, track shifts in DRG and E/M mix, and keep an audit trail of human review.

How often should you re-test a coding AI?

Re-test on every model update, every annual ICD-10-CM and CPT code set update, and any change in documentation workflow such as a new ambient scribe. Keep a fixed, versioned test set so results are comparable across releases. Monitor live denial and audit findings between formal re-tests.

From the Acumen archive. Explore expert data and Healthcare & Pharma.

← Back to Insights