model · available
Extractor 1
Give it a document, an email, a receipt, a contract or a conversation, and a JSON Schema describing what you want from it. It returns one JSON object that validates against your schema, with typed values: numbers as numbers, dates as dates, lists in document order. A field the text does not contain comes back empty rather than invented.
spec
- model
- extractor-1
- context
- 32,768 tokens a window; longer text is windowed
- max output
- 4,096 tokens
- input price
- $0.04 / 1M tokens
- output price
- free
- repeatability
- same input, same output
- max request
- 600,000 characters, or 6 page images
built for
- Turning documents into records: invoices, receipts, contracts, filings, claims, listings and emails, as JSON your code can store.
- Reading photos and scans: up to six page images per request, the same schema as for text.
- Memory for agents: the facts worth keeping from a conversation, as a list your memory store can index.
- Structured output behind the OpenAI SDK, Instructor or LangChain, through response_format json_schema.
calling it
Your schema in, your JSON out.
curl https://meragpt.com/v1/extract \
-H "Authorization: Bearer $MERAGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "extractor-1", "text": "...", "schema": {"type": "object", "properties": {"total": {"type": "number"}}}}'Send the text and a standard JSON Schema, the same one you would give Pydantic, Zod or an OpenAI response_format, and get back data that fits it. Photos and scans work the same way: send up to 6 page images as images instead of text, with no OCR step. Text longer than one window is split on line breaks and the answers merged, so one call takes up to 600,000 characters. The OpenAI-compatible /v1/chat/completions takes the same schema as response_format: {type: "json_schema"}, so existing structured-output code works by changing the base URL and model name. See the docs.
evaluation
How it measures up
Scored with each benchmark’s own scorer and rules. typed-extraction asks for typed fields over documents, with absent fields that must come back empty; SOB answers questions over Wikipedia passages in a given schema; CUAD finds the clauses of commercial contracts; CORD and SROIE are receipts, as text and as photos; HaluMem tests memory extraction from long conversations.
| typed-extraction, headline | 0.854 | ScaleDown Extract 0.782; Qwen3.8-27B prompted 0.852; Gemma 4 12B 0.816 |
| typed-extraction, hallucination | 3.9% | a value given for a field the document does not state; ScaleDown Extract 11.7%, Qwen3.8-27B 45% |
| SOB, leaf value exact match | 0.80 | structured output over Wikipedia passages |
| CUAD clause F1 | 0.589 | on the contracts ScaleDown Extract completed, where it scored 0.192 |
| receipts as text, CORD / SROIE | 0.951 / 0.885 | field F1 |
| receipt photos, CORD / SROIE | 0.933 / 0.867 | field F1 reading the image; Qwen3.8-27B reading the same receipts as text scores 0.878 / 0.778 |
| HaluMem memory extraction F1 | 0.665 | precision 94%; Mem0 published 0.573 |
| speed, per request | 33,000 tokens/s | input read per request on one A40 (48 GB), about 270 tokens/s written; a one-page document takes about 0.3 s and a receipt photo about 0.5 s. One A40 serves about 24,600 input and 2,100 output tokens/s across concurrent requests |
disclosure
Extractor 1 is our own model, built and trained in house for this one task. The weights are proprietary and are not published. What is published is the measurement: every number on this page comes from a test run on data the model had never seen in training, not from a demo we liked. extractor-1 always serves the current version of Extractor 1: when an improved version ships, every request moves to it, and this page shows its numbers.
Calling it from your own code is in the API docs. Pricing and the credit model are on the homepage.