olmOCR-2-7B-1025

olmOCR is a specialized AI tool that converts PDF documents into clean, structured text while preserving important formatting and layout information. What makes olmOCR particularly valuable for developers is its ability to handle challenging PDFs that traditional OCR tools struggle with—including complex layouts, poor-quality scans, handwritten text, and documents with mixed content types. Built on a fine-tuned 7B vision-language model, olmOCR provides enterprise-grade PDF processing at a fra...

Context
16K
Input price
$0.09/1M tokens
Output price
$0.19/1M tokens

Capabilities

Output Control
Structured Output
JSON Mode
Infrastructure
Streaming

Details

Model IDallenai/olmOCR-2-7B-1025
Provider DeepInfra
Creator allenai
Familyallenai
License—
Statusactive
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightYes
Parameters—
Architecture—
Context window16K tokens
Max input—
Max output—
Reasoning tokens—
Knowledge cutoff—
Release date—
Sourceofficial

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.deepinfra.com/v1/openai/v1/chat/completions

Pricing

Input
$0.09
Output
$0.19
Cache write
—
Cache read
—
Batch in
—
Batch out
—

Family Comparison: allenai

ModelContextMax outPricing
olmOCR-2-7B-102516K—$0.09$0.19
Olmo-3.1-32B-Instruct66K—$0.2$0.6

API

GET/v1/models/deepinfra/allenai/olmOCR-2-7B-1025

olmOCR-2-7B-1025

allenai/olmOCR-2-7B-1025

olmOCR is a specialized AI tool that converts PDF documents into clean, structured text while preserving important formatting and layout information. What makes olmOCR particularly valuable for developers is its ability to handle challenging PDFs that traditional OCR tools struggle with—including complex layouts, poor-quality scans, handwritten text, and documents with mixed content types. Built on a fine-tuned 7B vision-language model, olmOCR provides enterprise-grade PDF processing at a fra...

Changes · 1 entries
allenai/olmOCR-2-7B-1025create3e56cf1Apr 26, 2026, 07:23 PM