Sarvam AI launches Extract, an API that pulls data from documents

In short

95.4 Advanced score on ExtractBench, ₹2.50 a page; 94.4 Basic score, ₹1 a page; 500 pages per document; 93 vs 28 documents over 50 pages, Basic vs Gemini 3.8 Flash in one call

What Extract does

Many businesses still receive invoices, tax forms, filings and reports as scanned pages or PDFs. Extraction turns these into rows and fields. Sarvam gives the example of an Indian GST invoice: the API returns the invoice number, the seller's tax ID, the buyer's name and the grand total (125524), each with its page and box. Amounts and dates also come back in a standard form: "₹ 1,25,524.00" becomes an amount of 125524 in INR, and "14 Oct 2024" becomes 2024-10-14. Sarvam says it does this only when the format is clear, so "05/06/2025" is left as printed.

Fields are defined in JSON Schema, with a name, a type and an optional description, and descriptions can be written in English even for a Hindi or Tamil document. The job runs asynchronously: the client uploads the file, checks the job's status, then fetches the result. Sarvam says a typical production job, where most documents are a few pages, finishes in about seven seconds.

How does Extract find data in a document?

Sarvam describes four steps, which are its own description:

Advanced adds a second read of the whole document, in sections for long files. It gives context, such as whether a figure is for a quarter or a year. Where the two reads disagree, it goes back to the source page. Sarvam says this lifts ExtractBench from 94.4 to 95.4, and its score on OmniExtractBench, a second benchmark from Datalab, from 88.1 to 91.2. Sarvam adds that the second read covers documents of up to 200 pages, in Latin, Greek and Cyrillic scripts.

The results, and who measured them

ExtractBench is an open benchmark from LlamaIndex of 370 documents, mostly real US ones, from single-page tax forms to a 192-page sanctions list. Each has an answer key, and a fixed scoring program takes points off for missing or wrong values. Sarvam used that scorer with one adjustment (treating an object whose fields are all empty the same as a null), which it calls a small adjustment: with the unmodified scorer the scores are 95.33 and 94.36. Scores and prices for other systems come from the leaderboard of 6 November 2026 and Sarvam's own runs.

Sarvam's claim is that Extract sits on the Pareto frontier: no other system it tested is both cheaper and higher scoring. This is not a claim to be the most accurate. LlamaExtract Agentic Plus and Reducto score higher, at more than twice the price, and the page lists one more setting off the chart at 96.2 for ₹18.20 a page.

Where it beats a single call

The biggest gap is on long documents. Sarvam's Basic mode and Gemini 3.8 Flash, sent the whole document in one call, scored alike on short ones:

Sarvam says that in 8 of the 20 long documents the single call produced valid JSON but left out nearly all the fields; for one sanctions list of 1,238 names it returned 8. On documents with lists of 100 or more rows, Advanced returns about 98% of rows against about 10% for the single call. On the 12 documents with a table of over 1,000 rows, the single call scored 2.5. Sending Gemini one page at a time did far better (92.6 on long documents), but Sarvam says the pieces then have to be reconciled: in a Veralto earnings deck that approach returned a quarterly operating profit of 316 where the full-year figure was 1,277. Sarvam returned 1,277 and cited slide 29.

The page also says that when Extract reads a single-value field correctly, it cites the correct page 98% of the time.

These are the vendor's own runs, against a general-purpose model that Sarvam configured. Only 20 of the 370 documents are over 50 pages, so the 93 vs 28 figure rests on a small set. Sarvam also chose the Gemini setups; a purpose-built extraction tool from another company may do better on its own. Until someone else repeats the runs, read the numbers as Sarvam's claim.

How much does Extract cost?

Extract is a paid API; the page mentions no downloadable weights. It costs ₹1 a page for Basic ($10 per 1,000 pages) and ₹2.50 for Advanced ($25 per 1,000), billed only for pages processed successfully; new accounts get free credits. Sarvam says that running the same pipeline with Gemini 3.8 Flash in place of its own models would cost about ₹3.50 a page for Basic and ₹7.20 for Advanced.

Sarvam suggests Basic for high-volume forms, ID checks, invoices and Indian-script documents, and Advanced for financial statements, filings and slide decks where a field depends on context elsewhere.

Terms in plain English

Where things stand

Sarvam says its next work targets errors in which Extract adds or drops words within a value, picks a neighbouring item's value, misses rows in long tables or leaves cells empty, and how Advanced settles disagreements between its two reads. Whether the cost-and-accuracy claim holds on other people's documents, especially Indian ones, since the test set is mostly American, is still open.

Official channels of Sarvam AI: Website · LinkedIn · X · YouTube

Sources

Sources

Related stories

More from AI for Data Science

All stories from AI for Data Science