openai/gpt-4.1-mini pricing
openai/gpt-4.1-mini, Small-tier from Replicate, costs $0.40 per 1M input tokens and $1.60 per 1M output tokens.
Input$0.40per 1M tokens
Output$1.60per 1M tokens
Context window—tokens
TierSmallReplicate
Price your own workload against openai/gpt-4.1-mini in the calculator →
Specs and pricing
| Provider | Replicate |
| Tier | Small |
| Context window | — |
| Max output | — |
| Input price | $0.40 / 1M tokens |
| Output price | $1.60 / 1M tokens |
| Modalities | text |
Note. Replicate quotes $0.40 per million input tokens and $1.60 per million output tokens directly; no conversion needed.
What it costs at realistic volumes
Assuming a 4:1 input:output token ratio, a common shape for chat and RAG-style workloads:
| Volume (4:1 in:out ratio) | Input cost | Output cost | Total / month |
|---|---|---|---|
| 1,000,000 in / 250,000 out | $0.40 | $0.40 | $0.80 |
| 10,000,000 in / 2,500,000 out | $4.00 | $4.00 | $8.00 |
| 100,000,000 in / 25,000,000 out | $40.00 | $40.00 | $80.00 |
Cheaper alternatives
Same tier (Small), a different provider, and a lower blended cost at the 4:1 ratio used above:
| Model | Provider | $/1M in | $/1M out | At the 4:1 ratio |
|---|---|---|---|---|
| Meta-Llama-3.1-8B-Instruct-Turbo | DeepInfra | $0.02 | $0.04 | 96.3% cheaper blended |
| Solar Pro 4 | OpenRouter | $0.03 | $0.12 | 92.5% cheaper blended |
| GPT-OSS 20B | OpenRouter | $0.03 | $0.13 | 92.2% cheaper blended |
| schematron-v2-turbo | inference.net | $0.03 | $0.15 | 91.6% cheaper blended |
| Amazon Nova Micro | Amazon (Nova) | $0.035 | $0.14 | 91.3% cheaper blended |