OpenAI: GPT-4.1 在 NextModel 中是什么?
OpenAI: GPT-4.1 是 NextModel 目录中的 OpenAI 模型,常用于 图像理解、multimodal chat 工作负载。当前展示价格为输入 $0.289 / 1M tokens、输出 $1.16 / 1M tokens 每 100 万 token,上下文窗口为 1M token。
适用场景
- 图像理解
- multimodal chat
OpenAI 兼容调用示例
保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID openai--gpt-4.1。
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="openai/gpt-4.1",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)相似替代项
The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling. Training data: up to December 2023.
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...
For tasks that demand low latency, GPT‑4.1 nano is the fastest and cheapest model in the GPT-4.1 series. It delivers exceptional performance at a small size with its 1 million...
常见问题