Olmocr 7B API Pricing
- Input / output
- $0.27 / $1.50 per 1M tokens
- Context
- 16K tokens
- Max output
- 16K tokens
As of November 24, 2026, Olmocr 7B costs $0.27 per 1M input tokens and $1.50 per 1M output tokens on DeepInfra. It has a 16,384-token context window and returns up to 16,384 tokens per response.
Olmocr 7B pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| DeepInfrafp8, snapshot 0725 | deepinfra/allenai/olmOCR-7B-0725-FP8 | $0.27 | $1.50 | 16K |
What Olmocr 7B costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| DeepInfra | $1.29 |
Olmocr 7B cost calculator
At DeepInfra's price ($0.27 input, $1.50 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $10.20 a day, about $306 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.00102
- Per day
- $10.20
- Per month (30 days)
- $306
Olmocr 7B features
Input: text. Output: text.
Use Olmocr 7B with LiteLLM
Call Olmocr 7B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="deepinfra/allenai/olmOCR-7B-0725-FP8",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: olmocr-7b
litellm_params:
model: deepinfra/allenai/olmOCR-7B-0725-FP8
api_key: os.environ/DEEPINFRA_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "olmocr-7b",
"messages": [{"role": "user", "content": "Hello!"}]
}'Olmocr 7B FAQ
How much does Olmocr 7B cost?
Olmocr 7B costs $0.27 per 1M input tokens and $1.50 per 1M output tokens on DeepInfra.
What is the context window of Olmocr 7B?
Olmocr 7B has a 16,384-token context window and returns up to 16,384 tokens per response.
Which providers offer Olmocr 7B?
Olmocr 7B is available from DeepInfra through LiteLLM, using the model name deepinfra/allenai/olmOCR-7B-0725-FP8.
How do I call Olmocr 7B with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="deepinfra/allenai/olmOCR-7B-0725-FP8", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
When did LiteLLM add Olmocr 7B?
Olmocr 7B was added to LiteLLM's model price file in August 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.
LiteLLM docs: DeepInfra.
Provider pages: DeepInfra.