LightOnOCR-3-4B
LightOn
Model ID
LightOnOCR-3-4B Document OCR: one page image per request, returned as Markdown.
- Context window
- 32K tokens
- Max output
- 32K tokens
- Input price
- €0.20 per 1M tokens
- Output price
- €0.60 per 1M tokens
- Cached input price
- €0.03 per 1M tokens
- Type
- LLM
- Input
- TextImage
- Output
- Text
- Endpoints
/v1/chat/completions- Cloud
- T Cloud T Cloud Public
- Location
Germany (EU)
- Data processing
- Germany (EU)
Parameters
What the gateway accepts for this model. It refuses other values.
| Parameter | Accepted values | Default | Description |
|---|---|---|---|
max_completion_tokens | 1 to 32,768 | — | Prompt and answer share the 32,768-token window. |
Plans and limits
TPM counts input and output tokens together. The prices above apply in every plan. Rate limits
| Plan | TPM | RPM |
|---|---|---|
| Essential | 247,500 | 54 |
| Professional | 495,000 | 108 |
| Agentic | 825,000 | 180 |
Example
With OPENAI_BASE_URL and OPENAI_API_KEY set as in the Quickstart.
curl "$OPENAI_BASE_URL /chat/completions" \ -H "Authorization: Bearer $OPENAI_API_KEY " \ -H "Content-Type: application/json" \ -d '{ "model": "LightOnOCR-3-4B", "messages": [{"role": "user", "content": "What is T Cloud?"}] }' from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create( model="LightOnOCR-3-4B" , messages=[{ "role": "user", "content": "What is T Cloud?"}],)print(response.choices[ 0].message.content)