DeepSeek OCR 2
DeepSeekdeepseek/deepseek-ocr-2Open WeightsHigh-accuracy OCR model for extracting text from documents, screenshots, receipts, and natural scenes
TECHNICAL SPECIFICATIONS
MODEL CONTEXT PROTOCOL (MCP) READINESS
⚠ DeepSeek OCR 2 does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.
MCP Context Window Recommendations
With a context capacity of 8,192 tokens, this model can handle compact tool sets. Consider keeping MCP server tool manifests minimal to preserve headroom.
API CALL INVOCATION EXAMPLE
// Example: Calling DeepSeek OCR 2 via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.DEEPSEEK_API_KEY,
});
const response = await client.chat.completions.create({
model: "deepseek/deepseek-ocr-2",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by DeepSeek
Alternative and family models from the same lab
October 17 update of DeepSeek V4.1 Flash with improved reasoning, coding, agentic tasks, and visual understanding
DeepSeek V4 Pro snapshot with million-token context and support for thinking and non-thinking modes
DeepSeek V4 Pro initial snapshot with million-token context and support for thinking and non-thinking modes