Skip to content
Runstage

LightOn

LightOnOCR

LightOn's open-weight document OCR model. Turns scans, photos and screenshots into clean Markdown, with tables as HTML and equations as LaTeX. Reads print and handwriting in many languages.

Published API pricing
$0.01206 / 1024×1024
See all tiers
1 page$0.0121
Hi-res page$0.0271
API model ID
Vision API interfaceLightOnOcr_3_4B_Q8
Endpoint
POST /api/v2/run
Input
Image file
Output
Extracted text / markdown
Rate
$0.01206 / 1024×1024

Best for

API reference

API model ID
LightOnOcr_3_4B_Q8
Model developer
LightOn
Modality
OCR & Video Understanding
Input
Image file
Output
Extracted text / markdown
Endpoints
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/output
Infrastructure
Direct GPU fleet

Request parameters

  • modelstring · required

    Exact Runstage model slug (LightOnOcr_3_4B_Q8). Submit via multipart/form-data to POST /api/v2/run.

  • imagefile · required

    Document or photo image file (PNG, JPEG, WebP, GIF, or BMP up to 10 MB).

  • formatstring · optional

    Extracted output structure (`text` or `json`).

    • text
    • json

Additional parameters

  • language
  • return_result_in_response

Quickstart

Copy a working request using model ID LightOnOcr_3_4B_Q8. Check a free pre-run quote first (final cost settles on completion), then run with your Runstage API key.

Open interactive Playground
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"LightOnOcr_3_4B_Q8","width":1024,"height":1024}'

# 2. Submit metered image upload job (PNG, JPEG, WebP, GIF, or BMP up to 10 MB)
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  --form-string 'model=LightOnOcr_3_4B_Q8' \
  -F "image=@input.png" \
  --form-string "format=text" \
  --form-string "return_result_in_response=true"

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'

Pricing

Billable unit and optionsRate (USD)
Single document page (1024×1024)Standard OCR extraction$0.0121
Dense scan (1536×1536)Small print & multi-column tables$0.0271

Billing notes

  • High-accuracy OCR and document parsing.
  • Free pre-run cost estimates are available via POST /api/v2/quote before committing prepaid credits.
  • Upfront reservations automatically reconcile against settled execution cost on completion or failure, refunding any unused reserved credits.

Live catalog rates on Runstage. Prepaid USD credits with per-key spend caps.

Compare in full catalog