現已上線
OpenAI
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...
TextToolsFilesVision1MCache
輸入免費
輸出免費
端點openai
能力
工具並行工具視覺檔案快取結構化串流系統訊息
模態
輸入
imagetextfile
輸出
text
快速統計
上下文視窗1M
最大輸出32.8K
模式chat
分詞器GPT
知識截止2024
內容審核是
效能
正在載入效能資料...
支援的參數
| 參數 | 始終 | 預設值 |
|---|---|---|
| max_completion_tokens | - | - |
| max_tokens | - | - |
| response_format | - | |
| seed | - | |
| structured_outputs | - | |
| temperature | - | |
| tool_choice | - | |
| tools | - | |
| top_p | - |
§ 01
價格
| 輸入價格 | $0.00/每百萬 tokens |
| 輸出價格 | $0.00/每百萬 tokens |
| 相容端點 | openai |
| 供應商 | OpenAI |
§ 02
從您的程式碼呼叫 gpt-4.1-mini
將任何 OpenAI 相容 SDK 指向 UnoRouter,並以名稱請求模型。請將 YOUR_API_KEY 換成您儀表板上的真實金鑰。
bash
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4.1-mini",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
常見問題
gpt-4.1-mini 每百萬 tokens 的費用是多少?
輸入每百萬 tokens 定價 $0.00,輸出每百萬 tokens 定價 $0.00。計費以 token 為單位,不會湊整到批次大小。
我要如何透過 API 使用 gpt-4.1-mini?
將請求送至 UnoRouter 的 /v1/chat/completions 端點,並將 model 設為 gpt-4.1-mini。任何 OpenAI 相容的用戶端程式庫都可使用。驗證採用標準 Bearer token。
§ 04