Digitize scanned pages
Prepare readable page images and evaluate extracted text against the source. Preserve page identifiers for later review.
deepseek-ocr-2by DeepSeek Open weightsapache-2.0
From€0.0232Input / 1M tokens
From€0.0232Output / 1M tokens
DeepSeek-OCR-2 is listed on Blade for document OCR. Extract readable content from document images so your application can search, validate and route the information.
Prepare readable page images and evaluate extracted text against the source. Preserve page identifiers for later review.
Turn validated OCR output into chunks for an embedding model. Keep the original page alongside each indexed passage.
Extract candidate values for invoices or forms, then validate dates, totals and required fields in your own application.
BLADE_API_KEY in your server environment.import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.models.blade.sh/v1",
api_key=os.environ["BLADE_API_KEY"],
timeout=120.0,
)
model_id = "deepseek-ocr-2"
models = client.models.list()
match = next(
(item for item in models.data
if item.id == model_id),
None,
)
if match is None:
raise RuntimeError("Model not listed for this account")
print(match.model_dump_json(indent=2))import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.models.blade.sh/v1",
apiKey: process.env.BLADE_API_KEY,
});
const models = await client.models.list();
const model = models.data.find(item => item.id === "deepseek-ocr-2");
if (!model) throw new Error("Model not listed for this account");
console.log(model.id);# Requires jq
curl --fail-with-body "https://api.models.blade.sh/v1/models" \
-H "Authorization: Bearer ${BLADE_API_KEY}" | jq -e --arg id "deepseek-ocr-2" '.data[] | select(.id == $id)'Set BLADE_API_KEY before running the example. This checks the account’s model list; it does not run inference. Copy the confirmed model-specific inference request from the console before integrating.
Open the console example ↗These starting rates are the lowest catalogue prices. The active rate may vary with GPU availability.
Catalogue updated 2026-12-06.
View the rate card ↗10,000 input tokens + 2,000 output tokens = €0.000278 at the displayed rate.
DeepSeek-OCR-2 is listed on Blade for document OCR. Extract readable content from document images so your application can search, validate and route the information.
Input / 1M tokens: from €0.0232. Output / 1M tokens: from €0.0232.
The published parsing reference does not explicitly map DeepSeek-OCR-2 to its supported parsing heads. Its catalogue token rates do not establish a per-page price. Confirm the route, output schema and billing unit in the console.