# LightOnOCR 2

LightOnOCR 2 is LightOn's 1B-parameter vision-language model for turning document images and PDFs into clean, naturally ordered text without a multi-stage pipeline. It is the flagship, RLVR-refined variant, released under the Apache 2.0 license.

- **Model id:** `opencheap/lightonocr-2-1b`
- **Price per 1M tokens:** $0.18 input / $0.35 output
- **Context:** 32K tokens, 8.1K max output

## Providers

2 providers. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| NanoGPT · quantization unknown | $0.18 | $0.18* | $0.35 | 32K | 8.1K |

\* No cache discount from this provider: cached tokens cost the input price.

1 more provider through partner hosts · from $0.19 in · $0.36 out

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `tools`, `tool_choice`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/lightonocr-2-1b#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/lightonocr-2-1b`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/lightonocr-2-1b", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/lightonocr-2-1b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/lightonocr-2-1b",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About LightOnOCR 2

LightOnOCR 2 costs from $0.18 per 1M input tokens and $0.35 per 1M output tokens on OpenCheap. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0021, and 1,000 such requests about $2.13. Prices as of 2026-12-04 12:01 UTC.

2 providers serve LightOnOCR 2 on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 32K tokens (32,768), room for roughly 25,000 words of English in one request.

LightOnOCR 2 is the only [LightOn model](https://opencheap.si/models/lab/lighton) on OpenCheap today. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the LightOnOCR 2 API cost per 1M tokens?

LightOnOCR 2 costs from $0.18 per 1M input tokens and $0.35 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 12:01 UTC.

### What does one LightOnOCR 2 request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0021, and 1,000 such requests about $2.13. Every answer reports its own cost in usage.cost.

### Which providers serve LightOnOCR 2?

2 providers serve LightOnOCR 2 on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of LightOnOCR 2?

Its context window is 32K tokens (32,768), room for roughly 25,000 words of English in one request.

### How do I call the LightOnOCR 2 API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/lightonocr-2-1b. One OpenCheap key works for every model; the rest of your code stays the same.

## Similar models

- [GLM 5.2](https://opencheap.si/models/glm-5.2): Zhipu · 1M context · $0.32 / $0.32 per 1M · [Compare with LightOnOCR 2](https://opencheap.si/compare/lightonocr-2-1b-vs-glm-5.2)
- [DeepSeek V3.2](https://opencheap.si/models/deepseek-v3.2): DeepSeek · 163K context · $0.22 / $0.34 per 1M · [Compare with LightOnOCR 2](https://opencheap.si/compare/lightonocr-2-1b-vs-deepseek-v3.2)
- [Veiled Calla 12B](https://opencheap.si/models/veiled-calla-12b): soob3123 · 32K context · $0.30 / $0.30 per 1M · [Compare with LightOnOCR 2](https://opencheap.si/compare/lightonocr-2-1b-vs-veiled-calla-12b)
- [GLM 5.1](https://opencheap.si/models/glm-5.1): Zhipu · 204K context · $0.14 / $0.45 per 1M · [Compare with LightOnOCR 2](https://opencheap.si/compare/lightonocr-2-1b-vs-glm-5.1)
- [Assistant Pepe 32B](https://opencheap.si/models/assistant-pepe-32b): SicariusSicariiStuff · 40K context · $0.10 / $0.45 per 1M · [Compare with LightOnOCR 2](https://opencheap.si/compare/lightonocr-2-1b-vs-assistant-pepe-32b)
- [Qwen 3 8B](https://opencheap.si/models/qwen3-8b): Qwen · 41K context · $0.097 / $0.30 per 1M, 18 % cheaper · [Compare with LightOnOCR 2](https://opencheap.si/compare/lightonocr-2-1b-vs-qwen3-8b)

[Compare LightOnOCR 2 with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/lightonocr-2-1b · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
