OpenAI
Gpt 4.1
model
gpt-4.1MidStableVisionStreamingVisionToolsBatchLong contextUnited States
Context
1.0M
Input / 1M tokens
$2.00
Output / 1M tokens
$8.00
Cached input / 1M tokens
$0.7250
Cache write / 1M tokens
β (bills at input price)
About this model
Gpt 4.1
Gpt 4.1 is a model by OpenAI, available through the Anoman AI OpenAI-compatible API with a 1.0M-token context window. It costs $2.00 per 1M input tokens and $8.00 per 1M output tokens, and is available from the Pro plan.
Key facts
- Maker
- OpenAI
- Context window
- 1.0M tokens
- Max output
- 33K tokens
- Lane
- Guarded: the provider has confirmed it does not train on your data
- Modality
- Text and image input
- Input price
- $2.00 per 1M tokens
- Output price
- $8.00 per 1M tokens
- Processing region(s)
- us
- Route
- Via OpenAI's API
- Cheapest plan
- Available from the Pro plan
- Price comparison
- Priced below 46 of 235 pro-band guarded models on Anoman (blended price: 1 part input to 3 parts output).
Ways to call
Ways to call Gpt 4.1
Each model ID below is callable through the Anoman AI API. Price and processing region depend on the route.
| Model ID | Route | Input / output per 1M tokens | Region(s) | Lane | Context |
|---|---|---|---|---|---|
| gpt-4.1 | Via OpenAI's API | $2.00 / $8.00 | us | Guarded | 1.0M |
| gpt-4-1-openrouter | Via OpenRouter | $2.00 / $8.00 | global | Guarded | 1.0M |
Code example
Chat completion with Gpt 4.1
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="gpt-4.1",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Alternatives
Similar models in our catalog
Same maker first, then the closest price to Gpt 4.1 in the Anoman catalog.