GPT 4.1 Mini
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.
定價資訊
快速開始
只需更改 base_url 即可透過 BazaarLink API 使用 GPT 4.1 Mini:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4.1-mini",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "openai/gpt-4.1-mini",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);為什麼透過 BazaarLink 使用 GPT 4.1 Mini?
- ✓美元計費(台幣報價)+ 統一發票 — 台灣團隊無需海外刷卡
- ✓OpenAI 相容 API — 無需改寫程式碼
- ✓自動故障轉移 — 同模型多供應商備援
- ✓中文客服支援 — 在地團隊即時協助
Frequently Asked Questions
What is GPT 4.1 Mini?
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.
How much does the GPT 4.1 Mini API cost?
GPT 4.1 Mini costs $0.4000 per 1K input tokens and $1.6000 per 1K output tokens when accessed through BazaarLink.
How do I use GPT 4.1 Mini with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "openai/gpt-4.1-mini". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for GPT 4.1 Mini?
GPT 4.1 Mini supports a context window of 1,047,576 tokens.
Is GPT 4.1 Mini available for free?
GPT 4.1 Mini is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.