# Ocr API Pricing

As of November 21, 2026, Ocr costs $2.00 per 1K pages on Replicate.

- Page: https://models.litellm.ai/models/ocr
- LiteLLM model name: `replicate/datalab-to/ocr`
- Added to LiteLLM: November 11, 2026
- Prices updated: November 11, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Replicate | `replicate/datalab-to/ocr` | – | – | – | – | – | – |

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="replicate/datalab-to/ocr",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Ocr cost?

Ocr costs $2.00 per 1K pages on Replicate.

### Which providers offer Ocr?

Ocr is available from Replicate through LiteLLM, using the model name replicate/datalab-to/ocr.

### How do I call Ocr with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="replicate/datalab-to/ocr", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/ocr from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### When did LiteLLM add Ocr?

Ocr was added to LiteLLM's model price file on November 11, 2026.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.
