OpenAI · Frontier
GPT 4.1
GPT 4.1 is the new flagship model from OpenAI. Huge context window (1 mln tokens), outperforms GPT-4o and GPT 4.5 across coding and does very well at understanding large contexts.
- Tools
- Vision
- Structured output
- PDF input
- Input
- Text, Images
- Output
- Text
- Discovery tier
- Frontier
Pricing
USD per 1M tokens- Input
- $2.00
- Output
- $8.00
- Cache read
- $0.50
Reference prices as published by the model provider. API example
Specifications
- Context window
- 1M
- Max output
- 32.8K
- Average output (7 days)
- 29 tokens
- Longer than 1% of 465 models
Side by side
GPT 4.1 compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| GPT 4.1OpenAIThis model | GLM 4.5Z.aiRemove | |
|---|---|---|
| Provider | OpenAI | Z.ai |
| Discovery tier | Frontier | Open weights |
| Added | Sep 10, 2025 | Apr 15, 2025 |
| Limits | ||
| Context window | 1.05MBest | 128K |
| Max output | 32.77K | 65.54KBest |
| Average output | 29 tokens | 696 tokens |
| Pricing, USD per 1M tokens | ||
| Input | $2.00 | $0.30Best |
| Output | $8.00 | $1.30Best |
| Cache read | $0.50 | — |
| Performance | ||
| Throughput | — | 37.3 tok/s |
| Time to first token | — | 9.9 s |
| Request success (24h) | 100.0% | 100.0% |
| Benchmark indexes | ||
| Intelligence Index | 12.7 | 12.8Best |
| Math Index | 34.7 | 73.7Best |
| Capabilities | ||
| Tools | Yes | No |
| Vision | Yes | No |
| Structured output | Yes | No |
| PDF input | Yes | No |
| Reasoning effort | — | — |
Public evaluations
Benchmarks
Independent evaluation results, with how each score ranks among the models in the Noumen catalog.
- GPT 4.1
- GLM 4.5
Intelligence Index
- GPT 4.112.7
- GLM 4.512.8
GPT 4.1: Better than 28% of 326 scored models
Indexes
Math Index
Composite of the math evaluations
- GPT 4.1: 34.7
- GLM 4.5: 73.7Top
Document reasoning
AA-LCRv1.1
Reasoning across long documents
- GPT 4.1: 68.3%Top
- GLM 4.5: 52.7%
Reasoning and knowledge
Humanity’s Last Exam
Expert-level questions across academic fields
- GPT 4.1: 4.2%
- GLM 4.5: 13.0%Top
GPQA Diamond
Graduate-level science questions
- GPT 4.1: 66.6%
- GLM 4.5: 78.2%Top
MMLU-Pro
Multi-subject knowledge and reasoning
- GPT 4.1: 80.6%
- GLM 4.5: 83.5%Top
IFBench
Following precise output instructions
- GPT 4.1: 43.0%
- GLM 4.5: 44.1%Top
Coding
LiveCodeBench
Recent competitive programming problems
- GPT 4.1: 45.7%
- GLM 4.5: 73.8%Top
Math
AIME 2025
Competition mathematics, 2025 problems
- GPT 4.1: 34.7%
- GLM 4.5: 73.7%Top
AIME
Competition mathematics
- GPT 4.1: 43.7%
- GLM 4.5: 87.3%Top
MATH-500
Competition math problems
- GPT 4.1: 91.3%
- GLM 4.5: 97.9%Top
Legacy evaluations
Terminal-Bench Hard
Earlier terminal task suite
- GPT 4.1: 13.6%
- GLM 4.5: 22.0%Top
τ²-Bench Telecom
Tool use in a customer-support simulation
- GPT 4.1: 47.1%Top
- GLM 4.5: 43.0%
AA-LCR (unversioned)
Long-context reasoning, earlier grading
- GPT 4.1: 68.3%Top
- GLM 4.5: 52.7%
Scores from Artificial Analysis, updated Oct 26, 2026. Artificial Analysis
- GPT 4.1
- GLM 4.5
| Leaderboard | GPT 4.1 | GLM 4.5 |
|---|---|---|
| Vision Style Control · Creative Writing | #7 · 1233.7 | Not in top 20 |
| Vision Style Control · Captioning | #9 · 1209.9 | Not in top 20 |
Ranks among Noumen catalog models on LMArena leaderboards. Only top-20 placements are listed.LMArena
- GPT 4.1
- GLM 4.5
| Leaderboard | GPT 4.1 | GLM 4.5 |
|---|---|---|
| SWE-bench Verified | #13 · 48.5% | Not in top 20 |
Ranks among Noumen catalog models on Epoch AI leaderboards. Only top-20 placements are listed.Epoch AI
Live routing data
Performance and reliability
Recent averages across requests routed for this model. Your own speed depends on prompt length, reasoning effort and load.
- Prompt cache hits
- 57.9%
- About $1.13 per 1M input tokens with caching
- Request success (24h)
- 100.0%
- Reliable
Cache hits are the share of input tokens recently served from a prompt cache across all requests. They are not a forecast of your own hit rate.
- Healthy (98% or more)
- Degraded (90–98%)
- Down (under 90%)
- No requests
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4.1",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="openai/gpt-4.1",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)OpenAI
Related models
Other OpenAI models, starting with the same family.