vision-ocr
Self-hosted compact vision-language model that reads scanned documents, receipts, invoices, forms, screenshots, charts and photos of text in many languages and returns the text, the fields or a table - OCR, transcription and document understanding of an attached image without it leaving the deployment. It reads pictures; it does not create them.
Requests per day this target answered on this deployment, with the cost line.
Domains the signal layer detected on requests that ended here.
Hard stops enforced before scoring.
Pin this target with model="vision-ocr", or send a candidate list and let the router choose and fall back.
curl https://api.opensmartroute.ai/v1/chat/completions \
-H "Authorization: Bearer $OSR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "vision-ocr", "messages": [{"role": "user", "content": "Read this scanned invoice image and extract the vendor, invoice number, total and due date."}]}'from openai import OpenAI
client = OpenAI(base_url="https://api.opensmartroute.ai/v1", api_key="osr_live_...")
resp = client.chat.completions.create(
model="vision-ocr", # pin this target, or "auto" to let the router choose
messages=[{"role": "user", "content": "Read this scanned invoice image and extract the vendor, invoice number, total and due date."}],
extra_body={"models": ["vision-ocr", "auto"]}, # fall back to the router's pick if it fails
)
print(resp.model, resp.choices[0].message.content)Examples the similarity strategy matches against.