A CMS-1500 claim form, every value boxed¶
25 of 26 values right, 21 of them with a box on the page, for $0.023 and 127 seconds. The one miss (the billing provider's NPI, box 33a) is shown below, not hidden.
The document is the official CMS-1500 (02/12) health insurance claim form, filled by us with made-up test data (no real patient): cms1500_claim.pdf. It is saved as a page image, like a scan, so there is no text layer to copy from. Every value was checked by hand against the form before this page went up.

Green boxes are citations ReadAnyDoc returned with high confidence; amber dashed boxes are low. Output from
ReadAnyDoc 0.4.9 (the current release has the same code), engine mode, Claude Haiku 5.5, unedited:
{
"patient_name": "DOE, JANE, A",
"patient_birth_date": "04/12/1958",
"patient_sex": "F",
"insured_id": "1EG4TE5MK73",
"insurance_plan": "MEDICARE PART B",
"diagnosis_codes": [
"E11.9",
"I10"
],
"service_lines": [
{
"date_of_service": "11/03/26",
"cpt_code": "99214",
"diagnosis_pointer": "AB",
"charge": 165.0,
"units": 1.0,
"rendering_npi": "1234567893"
},
{
"date_of_service": "11/03/26",
"cpt_code": "82947",
"diagnosis_pointer": "A",
"charge": 18.0,
"units": 1.0,
"rendering_npi": "1234567893"
}
],
"total_charge": 183.0,
"amount_paid": 0.0,
"federal_tax_id": "12-3456789",
"patient_account_number": "24-0311",
"accepts_assignment": true,
"billing_provider_name": "ANYTOWN FAMILY CLINIC",
"billing_provider_npi": null
}
What we checked¶
| Count | |
|---|---|
| Values asked for (14 fields, 2 diagnosis codes, 2 service lines of 6 fields) | 26 |
| Right | 25 |
| Wrong | 0 |
| Missed | 1: billing_provider_npi came back empty, with the warning required field 'billing_provider_npi' was not found in the document |
| Right values with a box on the page | 21 (no box for birth date, sex, amount paid and "accept assignment", which are spread over several small cells or a checkbox) |
Marked low confidence |
2: the patient name is cited from box 4 (insured's name, same text) rather than box 2; the billing provider name |
The warnings are part of the result: a missing field is reported, not guessed.
Where it is weaker¶
- Speed: 127 seconds for this one page.
Reducto parses pages in about 4-5 seconds; ReadAnyDoc takes 20-50 seconds a page on its benchmarks (BENCHMARKS.md). It is for batch work, not a live form fill.
- Tables: on
olmOCR-bench tables Reducto scores 92.7 to our 89.8. - No SOC 2, no support line. It runs on your machine with your own model key, so documents do not pass through us.
- We did not run Reducto on this document.
Across 1,403 pages of olmOCR-bench ReadAnyDoc scores 85.4 to Reducto's 80.9 (self-run, results public).
Run it yourself¶
from typing import Optional
from pydantic import BaseModel, Field
import readanydoc
class ServiceLine(BaseModel):
date_of_service: str = Field(description="from date, as printed")
cpt_code: str
diagnosis_pointer: Optional[str]
charge: float
units: Optional[float]
rendering_npi: Optional[str]
class HealthClaim(BaseModel):
patient_name: str
patient_birth_date: Optional[str]
patient_sex: Optional[str]
insured_id: Optional[str]
insurance_plan: Optional[str]
diagnosis_codes: list[str]
service_lines: list[ServiceLine]
total_charge: Optional[float]
amount_paid: Optional[float]
federal_tax_id: Optional[str]
patient_account_number: Optional[str]
accepts_assignment: Optional[bool]
billing_provider_name: Optional[str]
billing_provider_npi: Optional[str]
out = readanydoc.extract("cms1500_claim.pdf", schema=HealthClaim)
print(out.data, out.citations, out.warnings)
pip install "readanydoc[engine]" and an ANTHROPIC_API_KEY. For protected health data, see
self-hosted for HIPAA data. Other proof pages: lending,
insurance, legal.