Pay per token, nothing else.
Every rate below is per million tokens. Hosted inference does not require an hourly GPU rental or reserved capacity.
- Billed per 1M tokens
- Async 20% to 50% off
- Batch 50% off
- Cached input rates
Rates per 1M tokens
Sync is the per-token rate for real-time requests. Async and Batch bill a fixed share of it for work that can wait. Cached input is the rate for prompt prefixes served from cache.
SyncBase rate
Real-time requests, answered as they run.
Async, within 1 hour20% off Sync
Single requests, results due within 1 hour. A request not started by then expires and is not billed.
Async, within 24 hours50% off Sync
Single requests, results due within 24 hours. A request not started by then expires and is not billed.
Batch50% off Sync
A JSONL file of requests, completed within a 24-hour window.
| Model | Tier | Input | Cached input | Output |
|---|---|---|---|---|
| GPT-OSS 120Bopenrelay/gpt-oss-120b128K context | Sync | $0.15 | $0.015 | $0.60 |
| GPT-OSS 20Bopenrelay/gpt-oss-20b128K context | Sync | $0.05 | $0.005 | $0.20 |
| Gemma 4 31Bopenrelay/gemma-4-31b256K context | Sync | $0.99 | $0.99 | $1.49 |
| Batch | $0.495 | $0.495 | $0.745 | |
| GLM 5.3openrelay/glm-5.3256K context | Sync | $0.079 | $0.062 | $3.00 |
| GLM 5.3 Flashopenrelay/glm-5.3-flash256K context | Sync | $0.045 | $0.009 | $0.45 |
| Async, within 1 hour | $0.036 | $0.0072 | $0.36 | |
| Async, within 24 hours | $0.0225 | $0.0045 | $0.225 | |
| DeepSeek V4.1-Flashopenrelay/deepseek-v4.1-flash384K context | Sync | $0.035 | $0.01 | $0.50 |
| Kimi K3.1 Proopenrelay/kimi-k3.1-pro256K context | Sync | $0.24 | $0.20 | $8.402 |
| DeepSeek-OCR 2openrelay/deepseek-ocr-28K context | Sync | $0.039 | n/a | $0.039 |
| Batch | $0.0195 | n/a | $0.0195 |
| Embeddings | Max input | Sync input | Async, within 1 hour input | Async, within 24 hours input | Batch input |
|---|---|---|---|---|---|
| BGE-M3openrelay/bge-m3 | 8K | $0.013 | - | - | $0.0065 |
All prices in USD per 1M tokens, metered per request. Async is 0.8x within 1 hour and 0.5x within 24 hours, and Batch 0.5x, the Sync rate on every dimension, on the models that offer the tier; embeddings bill input only. More models are on the way; browse the inference catalog or request a model.
The models behind the rates
GPT-OSS 120B
OpenAI
- Context
- 128K
- Parameters
- 120B
- Sync input / 1M
- $0.15
- Sync output / 1M
- $0.60
OpenAI's 120B open-weight model, with reasoning, tool calling, and structured output support.
GPT-OSS 20B
OpenAI
- Context
- 128K
- Parameters
- 20B
- Sync input / 1M
- $0.05
- Sync output / 1M
- $0.20
The smaller GPT-OSS variant, with tool calling and structured output support at lower token rates.
Gemma 4 31B
- Context
- 256K
- Parameters
- 31B
- Sync input / 1M
- $0.99
- Sync output / 1M
- $1.49
Google's dense 31B model with text and image input, reasoning, tool calling, and a 256K-token context window.
GLM 5.3
Zhipu
- Context
- 256K
- Parameters
- 743B MoE
- Sync input / 1M
- $0.079
- Sync output / 1M
- $3.00
Zhipu's 743B mixture-of-experts GLM 5.3, with reasoning and tool calling, served on our own GPUs.
GLM 5.3 Flash
Zhipu
- Context
- 256K
- Parameters
- 320B MoE (18B active)
- Sync input / 1M
- $0.045
- Sync output / 1M
- $0.45
Zhipu's natively multimodal GLM 5.3 Flash, served on our own GPUs. Hybrid linear and sparse attention keeps long-context serving cheap, and it takes text or images in.
DeepSeek V4.1-Flash
DeepSeek
- Context
- 384K
- Parameters
- 552B MoE
- Sync input / 1M
- $0.035
- Sync output / 1M
- $0.50
DeepSeek's multimodal V4.1-Flash in its October 17 update, with image input, reasoning and tool calling, served on MI355X GPUs in our fleet.
Kimi K3.1 Pro
Moonshot AI
- Context
- 256K
- Parameters
- 2.8T MoE (104B active)
- Sync input / 1M
- $0.24
- Sync output / 1M
- $8.402
Moonshot AI's 2.8T-parameter mixture-of-experts with image input, reasoning and tool calling, served in MXFP4 on MI355X GPUs in our fleet.
DeepSeek-OCR 2
DeepSeek
- Context
- 8K
- Parameters
- -
- Sync input / 1M
- $0.039
- Sync output / 1M
- $0.039
DeepSeek's second-generation OCR model. Reads document images (scans, receipts, screenshots, tables) and returns structured markdown that preserves headings, tables, and layout.
Metered per request, itemized per token
Cached input
Prompt prefixes served from cache bill at the cached input rate. It applies automatically, with no configuration. How to structure prompts so they hit the cache.
Request features
Supported request features do not add a separate fee. Each request is metered on input and output tokens at the model's rates.
Batch at 50% off
The Batch Inference API bills half the Sync rate, with results within 24 hours. An expedited batch bills the Sync rate. Rate-for-rate comparisons against Gemini's batch mode and Bedrock batch inference are in the provider guides.
Async at 20% or 50% off
Async takes single requests and delivers the results within a window you pick: 20% off Sync within 1 hour, 50% off Sync within 24 hours. It runs on the models the table below lists it for. The Async docs cover how to submit a job.
Send your first request today.
Grab an API key, point your OpenAI SDK at OpenRelay, and pay only for what you run.