处理中…正在保护此关键操作,请稍候
OpenAI 模型

GPT-4o

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as...

OpenAI平台整理目录
流式输出工具调用JSON 模式视觉长上下文
输入价格$0.362 / 1M tokens
输出价格$1.45 / 1M tokens
上下文长度128k 令牌
最大输出8.2k 令牌

OpenAI: GPT-4o 在 NextModel 中是什么?

OpenAI: GPT-4o 是 NextModel 目录中的 OpenAI 模型,常用于 图像理解、multimodal chat 工作负载。当前展示价格为输入 $0.362 / 1M tokens输出 $1.45 / 1M tokens 每 100 万 token,上下文窗口为 128k token。

适用场景

  • 图像理解
  • multimodal chat

OpenAI 兼容调用示例

保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID openai--gpt-4o

Python
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-4o",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

相似替代项

OpenAI目录

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.

$1.88 / 1M tokens输入$5.64 / 1M tokens输出128k上下文
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
查看详情
OpenAI目录

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

$0.289 / 1M tokens输入$1.16 / 1M tokens输出1M上下文
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
查看详情
OpenAI目录

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...

$0.058 / 1M tokens输入$0.231 / 1M tokens输出1M上下文
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
查看详情

常见问题

OpenAI: GPT-4o API 常见问题