Vision DeepSeek

DeepSeek OCR (Local)

Document OCR model hosted on our own GPU. Send an image plus a response_format JSON schema to extract fields. Not a conversational model — system prompts and tool calls are not supported.

3.3B
Parameters
8K
Context Window
Credit Rate
Starter
Min Tier

Overview

DeepSeek OCR is a specialized vision model designed for high-accuracy document processing and structured data extraction. Unlike general conversational assistants, this 3.3B parameter engine focuses exclusively on interpreting images alongside provided JSON schemas to return precise field values. It delivers robust performance on both Arabic and English text, making it an ideal production-ready solution for automating invoice processing, identity verification, and form digitization within regional workflows. Note that system prompts and tool calls are unsupported, ensuring the model remains dedicated to strict extraction tasks. Developers can integrate this capability immediately via our standard API endpoint without managing complex infrastructure.

Technical efficiency is central to this model's design, operating with an 8,192 token context window at F16 quantization to balance speed and precision. Because it carries a 1x credit multiplier, it offers a cost-effective alternative to larger multimodal models for dedicated OCR tasks. Researchers will find consistent reliability in mixed-language benchmarks, particularly when extracting structured data from dense documents. Accessible from the starter tier, DeepSeek OCR allows teams to scale document intelligence workflows without prohibitive costs, ensuring seamless integration into existing pipelines while maintaining strict adherence to input schemas.

Specifications

Display Name DeepSeek OCR (Local)
Family DeepSeek
Category Vision
Parameters 3.3B
Context Window 8,192 tokens
Quantization F16
Min Tier Starter
Status Available

Pricing

credits per token
1K 1,000 Credits
10K 10,000 Credits
100K 100,000 Credits
View Pricing Plans

Code Examples

from openai import OpenAI

client = OpenAI(
    base_url="https://llmapi.resayil.io/v1/",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="deepseek-ocr:latest",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)
const response = await fetch(
    "https://llmapi.resayil.io/v1/chat/completions",
    {
        method: "POST",
        headers: {
            "Content-Type": "application/json",
            "Authorization": "Bearer YOUR_API_KEY"
        },
        body: JSON.stringify({
            model: "deepseek-ocr:latest",
            messages: [
                { role: "user", content: "Hello!" }
            ]
        })
    }
);

const data = await response.json();
console.log(data.choices[0].message.content);
curl https://llmapi.resayil.io/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "deepseek-ocr:latest",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Use Cases

Extracting invoice data into JSON format
Processing identity documents for verification fields
Digitizing handwritten forms into structured data
Automating receipt scanning for expense reporting systems
Parsing shipping labels for tracking and address info

In-Depth Guide

Full Guide
Complete Guide to DeepSeek OCR (Local) — LLM Resayil

Related Models

Start building with DeepSeek OCR (Local)

Get 1,000 free credits when you sign up — no credit card required.