openai/gpt-4.1-mini-2025-04-14

openai/gpt-4.1-mini-2025-04-14
by openai · image+text+file in · text out · 1.05M ctx
INPUT$0.40/ 1M tokens
OUTPUT$1.60/ 1M tokens
p50 TTFT1.46 s7d
p95 TTFT3.41 s7d
TRAFFIC28.6Ktokens / 7d
Code samples
from openai import OpenAI

client = OpenAI(
    base_url="https://orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="openai/gpt-4.1-mini-2025-04-14",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
Pricing
Input / 1M tokens$0.400
Output / 1M tokens$1.60
Cache read / 1M$0.100
CurrencyUSD
Performance
TTFT p50
1.46 s
Output speed
32.0 tok/s
TTFT p95
3.41 s
Error rate
2.3%
Public benchmarks
AA Coding
18.5
AA Intelligence
22.9
AA Math
46.3
AIME
43.0
AIME 2025
46.3
GPQA Diamond
66.4
Humanity's Last Exam
4.6
IFBench
38.3
LiveCodeBench
48.3
Long-Context Recall
42.3
MATH-500
92.5
MMLU-Pro
78.1
SciCode
40.4
TerminalBench Hard
7.6
τ²-Bench
52.9
Source: artificialanalysis.ai
FAQ
How much does openai/gpt-4.1-mini-2025-04-14 cost on OrcaRouter?
openai/gpt-4.1-mini-2025-04-14 is priced at $0.40 per 1M input tokens and $1.60 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is openai/gpt-4.1-mini-2025-04-14's context window?
openai/gpt-4.1-mini-2025-04-14 supports a context window of 1M tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call openai/gpt-4.1-mini-2025-04-14 via the OpenAI SDK?
Set OpenAI base_url to https://orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="openai/gpt-4.1-mini-2025-04-14" in the chat.completions.create call.
Does OrcaRouter rate-limit openai/gpt-4.1-mini-2025-04-14?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.
Embed this badge
openai/gpt-4.1-mini-2025-04-14$0.40/M in1460ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-4.1-mini-2025-04-14" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-4.1-mini-2025-04-14.svg" alt="openai/gpt-4.1-mini-2025-04-14 on OrcaRouter" /> </a>
Markdown [![openai/gpt-4.1-mini-2025-04-14](https://www.orcarouter.ai/embed/openai/gpt-4.1-mini-2025-04-14.svg)](https://www.orcarouter.ai/models/openai/gpt-4.1-mini-2025-04-14)