textAVAILABLE
GPT-4.1 Mini
openai/gpt-4.1-mini
Mid-sized GPT-4.1 variant with GPT-4o performance at lower latency and cost. Features 1M context window, supports structured outputs and vision understanding at reduced pricing.
温度caps.top_pcaps.stop函数JSON
上下文
1.0M
最大输出
33K
输入
$0.400/M
输出
$1.60/M
PROVIDER · SELL PRICE
公开卖价
输入 /M
$0.400/M
输出 /M
$1.60/M
媒体 /秒
—
图像
—
不展示上游成本。客户账只看卖价。
ROUTING RECEIPT
可解释路径(示意)
openai/gpt-4.1-mini
→ published sell_price
→ attempt 1 provider whitelist
→ customer ledger one charge
真实 attempt 在登录后的用户台查看;此处不伪造 Playground 对话。
PLAYGROUND
试用 GPT-4.1 Mini
对话不会被保存——离开或刷新页面后即清空。
登录后试用模态 · text
代码示例(固定)
curl http://localhost:8080/v1/chat/completions \
-H "Authorization: Bearer sk-...xxxx" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-4.1-mini","messages":[{"role":"user","content":"hello"}]}'常见问题
在 TokenHub 上使用 GPT-4.1 Mini 需要多少钱?
公开卖价:输入 $0.400/M,输出 $1.60/M。以价目页实时数字为准。
GPT-4.1 Mini 的上下文窗口是多少?
上下文 1.0M,最大输出 33K。
如何调用 GPT-4.1 Mini?
注册拿 Key,把 base URL 换成品牌 API 域名,model 字段填 openai/gpt-4.1-mini。
支持哪些能力?
温度 · caps.top_p · caps.stop · 函数 · JSON