Sarvam AI launches Extract, an API that pulls data from documents
In short
- What it is: Bengaluru-based Sarvam AI launched Sarvam Extract on 24 November 2026. It is an API (a service apps call over the internet) for structured extraction: you send a document and a list of the fields you want, such as invoice number and total, and it returns those values as JSON, a plain format programs can read.
- What is new: each value comes back with the page it was found on, a bounding box (the rectangle on the page where the value sits) and a confidence score from 0 to 1, so a person can check it. Documents can run to 500 pages, in English and 22 Indian languages.
- The result: on ExtractBench, a public test, Sarvam says its Advanced mode scores 95.4 out of 100 at ₹2.50 a page and its Basic mode 94.4 at ₹1 a page.
- The catch: the comparisons were run by Sarvam on a mostly US set of documents. It is a paid, closed API.
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:
- Parse. Sarvam Vision 2.1, the company's OCR model (software that reads text from images), reads scanned pages. For digital PDFs it uses the text and word positions already in the file.
- Locate. Before reading anything, Extract works out which pages hold each requested field or table, including tables that continue across pages without repeating their headers.
- Read. Each call to the model gets one page and the fields assigned to it. Table rows are joined in page order and duplicates removed. If a table is too long for one response, extraction resumes from the last complete row.
- Check. Ordinary code checks the values: amounts in words must match the digits, a GST number must contain the business's PAN, IDs must follow their format. Advanced also checks that line items add up to the total. Values that fail get a lower confidence score and are flagged for review.
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
- Structured extraction: pulling named fields out of an unstructured document into a fixed format (our wording).
- Bounding box: the rectangle on a page where a value was read. Here it is given as fractions of the page's width and height.
- Pareto frontier: the set of options where no other option is both cheaper and better. Sarvam says Extract is on it.
- ExtractBench: an open test of 370 documents with answer keys, from LlamaIndex.
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
- Introducing Sarvam Extract, Sarvam AI, 24 November 2026
Sources
Related stories
- IBM releases Granite Docling V2, open page-to-document models
- Sarvam AI's 2026 models are mostly open, but Saaras is API-only
- BharatGen releases Patram 1.5 7B, a free document-reading model
- BharatGen releases Patram 1.5, an open model that reads documents
- NVIDIA releases open synthetic data for training document readers
- Sarvam AI launches Dictate, an API that turns speech into clean text
More from AI for Data Science
- SpeakLeash releases Bielik-SPLADE, open search models for Polish
- Cloudflare releases open Clairic models that pull data from PDFs
- Google releases Gemini Decision 1, which answers in probabilities
- A single fine-tuned document parser beats the slower multi-model harness that trained it, 87.9 to 86.0 on ParseBench, Aleph Alpha says
- Zoho Analytics adds six AI agents that write SQL and formulas