November 23, 2026 · 7 min
Extractor 1: typed answers from documents, photos and conversations, and null when it isn’t there
Extractor 1 is out today, and it does one job: you send it a document, a photo of one, or a conversation, along with a JSON Schema, and it sends back data that fits the schema. Every value has the type you asked for. When the document doesn’t say something, you get null, not a guess.
It is first on the typed-extraction leaderboard at 0.854, ahead of ScaleDown Extract at 0.782. And it gets there while making up a value for a missing field 3.9% of the time. ScaleDown does that 11.7% of the time; a 27B model prompted to do the same job does it 45% of the time.
It costs $0.04 per million input tokens, and the output is free. A one-page invoice comes to about four thousandths of a cent.
Why null matters
Most of the work in extraction isn’t finding the values that are there. It’s knowing which ones aren’t. Ask a general model for a tracking number that the email never mentions and, more often than you’d like, it will hand you something that looks like one. That’s worse than an empty field, because nothing downstream can tell it apart from a real answer.
So we measure both things. The chart puts every model on the same two axes: how often it gets a field exactly right, and how often it fills in a field the document doesn’t contain.
The prompted general models get close on the headline. Qwen3.8-27B scores 0.852 and Gemma 4 12B 0.816. But they get there by answering nearly everything, and they fill in roughly half the fields that should be empty. On the headline, Extractor 1 is level with the prompted Qwen model, and it hallucinates about a twelfth as often.
Four examples
These are real outputs from the model, run the way the API runs it. We haven’t edited them. The schemas are shortened here to their properties; the descriptions you write on each property are worth adding, because the model reads them.
A customer email
Subject: Damaged order — refund please Hi there, I'm writing about order #A-77310, which I placed on 2 November. It arrived on Friday, but the ceramic table lamp was cracked right across the base when I opened the box. The shade and bulb are fine. I paid $129.00 for the lamp and $8.50 for shipping. I'd like a refund for the lamp to my original card rather than a replacement — I've already bought one locally. I'm happy to send it back if you cover the return label. Photos of the damage are attached. Thanks, Priya Raman priya.raman@example.com
{
"type": "object",
"properties": {
"order_number": { "type": "string" },
"order_date": { "type": "string", "format": "date" },
"damaged_item": { "type": "string" },
"item_price": { "type": "number" },
"resolution_requested": { "type": "string", "enum": ["refund", "replacement", "store_credit"] },
"tracking_number": { "type": "string" },
"customer_email": { "type": "string" }
}
}{
"order_number": "A-77310",
"order_date": "2026-11-02",
"damaged_item": "ceramic table lamp",
"item_price": 129.0,
"resolution_requested": "refund",
"tracking_number": null,
"customer_email": "priya.raman@example.com"
}“2 November” became 2026-11-02 because the request carried the date the email was sent. The item price is the lamp alone, not the lamp plus shipping, and the tracking number is null: Priya never gave one, so neither does the model.
A contract clause
5. TERM This Agreement begins on 1 March 2025 and ends on 28 February 2027, unless terminated earlier under Section 14. 6. FEES Client shall pay Consultant a monthly retainer of $12,500, due on the first business day of each month. 14. TERMINATION 14.1 Either party may terminate this Agreement for any reason on thirty (30) days' written notice. 15. NON-SOLICITATION During the Term and for twelve (12) months after it, neither party shall solicit for employment any employee of the other party who was involved in the Services.
{
"type": "object",
"properties": {
"start_date": { "type": "string", "format": "date" },
"end_date": { "type": "string", "format": "date" },
"monthly_retainer_usd": { "type": "number" },
"termination_for_convenience": { "type": "string", "description": "The clause letting a party terminate without cause, quoted." },
"non_solicitation_months_after_term": { "type": "number" },
"governing_law": { "type": "string" }
}
}{
"start_date": "2025-03-01",
"end_date": "2027-02-28",
"monthly_retainer_usd": 12500,
"termination_for_convenience": "Either party may terminate this Agreement for any reason on thirty (30) days' written notice.",
"non_solicitation_months_after_term": 12,
"governing_law": null
}All six are right. The dates come back as dates, the retainer as a number, and the “twelve (12) months” as 12. The termination clause is quoted word for word, because that is what the field’s description asked for. And the excerpt never says which law governs the agreement, so governing_law is null. A model that guesses would have filled in a state.
Contracts are where this matters most, because a clause that isn’t there is an answer too. On CUAD, the standard contract-review benchmark, scored by its own rule over the 72 contracts both systems completed, Extractor 1 scores 0.589 against ScaleDown Extract’s 0.192.
A conversation, for memory
user: Can you help me plan meals for next week? I'm trying to cut down on dairy, my doctor thinks I might be lactose intolerant. assistant: Of course. Do you cook for just yourself, or for others too? user: Me and my partner Sam. Sam's vegetarian, so no meat on weeknights. I usually only have time to cook on Sunday and Wednesday evenings. assistant: Got it. Any foods you really dislike? user: Mushrooms, I can't stand them. Oh and I just started a new job at a design studio in Leeds, so lunches need to be things I can take to work.
{
"memories": [
"The user is trying to cut down on dairy.",
"The doctor thinks the user might be lactose intolerant.",
"The user has a partner named Sam.",
"Sam is vegetarian.",
"No meat on Sam's weeknights.",
"The user usually only has time to cook on Sunday and Wednesday evenings.",
"The user cannot stand mushrooms.",
"The user started a new job at a design studio in Leeds."
]
}The schema asked for facts about the user, one sentence each, and left out what the assistant said. That is what came back: the health note, the partner, the cooking days, the dislike and the new job, each something a later conversation can use. One line is clumsier than the rest (“No meat on Sam’s weeknights”), but the fact in it is right.
Pulling durable facts out of chats is what memory layers like Mem0 do on every message, and it is usually a call to a large general model. On HaluMem’s memory-extraction test, Extractor 1 recalls 51.4% of the facts a person stated, at 94.2% precision (F1 0.665). Mem0’s published recall on the same test is 42.9%.
A photo of a receipt

{
"type": "object",
"properties": {
"store_name": { "type": "string" },
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"quantity": { "type": "number" },
"price": { "type": "string" }
}
}
},
"total": { "type": "string" },
"paid_cash": { "type": "string" },
"change": { "type": "string" }
}
}{
"store_name": null,
"items": [
{ "name": "[MD] SOFT MORNING ROLL", "quantity": 1, "price": "18,000" },
{ "name": "REAL HONEY PANCAKE BREAD", "quantity": 2, "price": "20,000" },
{ "name": "CUSTARD BRIOCHE", "quantity": 4, "price": "36,000" }
],
"total": "74,000",
"paid_cash": "100,000",
"change": "26,000"
}Every line item, quantity and amount is right, read straight off a phone photo with a thumb in it. The shop’s name is blurred in the photo, so store_name is null.
Extractor 1 reads images directly, with no separate OCR step. On the CORD and SROIE test sets it scores 0.933 and 0.867 from the photos alone. For comparison, a 27B model reading the same receipts as already-transcribed text scores 0.878 and 0.778.
Using it
Send text and a standard JSON Schema to /v1/extract. Whatever produces your schemas already will do: Pydantic’s model_json_schema(), Zod, or a schema you wrote by hand. Add a reference_date and relative dates like “last Friday” come back as real dates.
curl https://meragpt.com/v1/extract \
-H "Authorization: Bearer $MERAGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "extractor-1",
"text": "Hi there, I'"'"'m writing about order #A-77310 ...",
"reference_date": "2026-11-10",
"schema": { "type": "object", "properties": { "order_number": { "type": "string" } } }
}'Images go in the same request:
curl https://meragpt.com/v1/extract \
-H "Authorization: Bearer $MERAGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "extractor-1",
"images": ["https://example.com/receipts/2026-11-21.jpg"],
"schema": { "type": "object", "properties": { "total": { "type": "string" } } }
}'If your code already uses OpenAI structured outputs, change the base URL and the model name. The same model answers on /v1/chat/completions with response_format, so the OpenAI SDK, Instructor and LangChain work as they are, and image parts in the message work too.
from openai import OpenAI
from pydantic import BaseModel
class Order(BaseModel):
order_number: str | None
item_price: float | None
customer_email: str | None
client = OpenAI(base_url="https://meragpt.com/v1", api_key=MERAGPT_API_KEY)
r = client.beta.chat.completions.parse(
model="extractor-1",
messages=[{"role": "user", "content": email_text}],
response_format=Order,
)
print(r.choices[0].message.parsed)Long documents are fine. A request can carry far more text than the model reads at once: it reads the document in windows and merges the answers, and the response tells you how many windows it took. On an A40 it reads up to 33,000 tokens a second, so a typical one-page document comes back in about a third of a second, and a receipt photo in about half a second.
The full reference is on the docs page, and the model page has the numbers. You can try it in the playground without an account, or sign up for $1 of free credit, no card needed.
How we measured
typed-extraction: the test split, 1,690 documents and 17,733 fields across 15 families, scored with the benchmark’s unmodified score.py. The headline is exact match averaged over families; hallucination is the share of fields with no answer in the document that got one anyway. ScaleDown Extract, UltraBERT-150M and Schematron V2 Small are the leaderboard’s own rows. Qwen3.8-27B and Gemma 4 12B we ran ourselves, prompted with the same document and schema, constrained to the schema, at temperature 0.
CUAD: the test contracts, scored with CUAD’s own rule (a predicted clause counts when it overlaps the annotated one by at least half), on the 72 contracts that ScaleDown Extract completed before our credits ran out. Receipts: the CORD and SROIE test sets, field F1, from the photo for Extractor 1 and from the dataset’s own transcription for the 27B. HaluMem: memory extraction on four users’ conversations, judged by Qwen3.8-27B with HaluMem’s own prompts. Mem0’s figure is the one HaluMem publishes.