OpenAIChat
OpenAI: GPT-4.1 Mini
openai/gpt-4.1-mini
1048KContext Window
33KMax Output
Supported Protocols:seedmax_tokensresponse_formatstructured_outputstoolstool_choicetemperaturetop_p
Normal
GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability (e.g., 31.6% on Aider’s polyglot diff benchmark) and vision understanding, making it suitable for interactive applications with tight performance constraints.
Capabilities
👁 Vision🔧 Function CallingText GenerationCode GenerationAnalysis & ReasoningReasoning
Technical Specs
Input Modality
Image、Text、Text
Output Modality
Text
Arch
—
Default Temperature
0.7
Default Top_P
1
Pricing
Pay per use, no monthly fees| Billing Type | Unit | Price |
|---|---|---|
| Text Input | — | $0.4000/M tokens |
| Text Output | — | $1.6000/M tokens |
| Cache Read | — | $0.1000/M tokens |
| Web Search | — | $0.0100/次 |
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.uniontoken.ai/v1",
api_key="YOUR_UNIONTOKEN_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4.1-mini",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)FAQ
OpenAI
OpenAI: GPT-4.1 Mini
openai/gpt-4.1-mini
In< ¥0.001/1K
Out< ¥0.001/1K
Context Window1048K
Max Output33K
Related Models
View All → →Ready to get started?
Get 1M free tokens on registration, no monthly fees or minimum spend
Register Now →