TokenHub
登录
textAVAILABLE

GPT-4.1

openai/gpt-4.1

OpenAI's flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. Features 1M context window for complex document analysis and code generation.

温度caps.top_pcaps.stop函数JSON

上下文

1.0M

最大输出

33K

输入

$2.00/M

输出

$8.00/M

PROVIDER · SELL PRICE

公开卖价

输入 /M

$2.00/M

输出 /M

$8.00/M

媒体 /秒

图像

不展示上游成本。客户账只看卖价。

ROUTING RECEIPT

可解释路径(示意)

openai/gpt-4.1
→ published sell_price
→ attempt 1 provider whitelist
→ customer ledger one charge

真实 attempt 在登录后的用户台查看;此处不伪造 Playground 对话。

PLAYGROUND

试用 GPT-4.1

对话不会被保存——离开或刷新页面后即清空。

登录后试用模态 · text

代码示例(固定)

curl http://localhost:8080/v1/chat/completions \
  -H "Authorization: Bearer sk-...xxxx" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4.1","messages":[{"role":"user","content":"hello"}]}'

常见问题

在 TokenHub 上使用 GPT-4.1 需要多少钱?

公开卖价:输入 $2.00/M,输出 $8.00/M。以价目页实时数字为准。

GPT-4.1 的上下文窗口是多少?

上下文 1.0M,最大输出 33K。

如何调用 GPT-4.1?

注册拿 Key,把 base URL 换成品牌 API 域名,model 字段填 openai/gpt-4.1。

支持哪些能力?

温度 · caps.top_p · caps.stop · 函数 · JSON

更多 openai 模型

类似模型