供应商简介: OpenAI — OpenAI 提供业界最广泛的生产级模型选择,涵盖 GPT-4o 多模态系列、o 系列推理模型,以及图像生成、音频和嵌入向量等专用模型。
← 全部供应商
OpenAI
美国51 个模型GPT 与 o 系列 — 业界覆盖最广的模型矩阵
OpenAI 提供业界最广泛的生产级模型选择,涵盖 GPT-4o 多模态系列、o 系列推理模型,以及图像生成、音频和嵌入向量等专用模型。
- ✓51+ 个模型 — 业界最广泛的生产级模型矩阵
- ✓GPT-4o 多模态系列,支持视觉、音频和实时能力
- ✓o 系列推理模型,适用于数学、代码和复杂问题求解
- ✓支持 Cursor IDE 和智能体框架的 Responses API
推理视觉理解音频处理嵌入向量图像生成
快速开始
from openai import OpenAI
client = OpenAI(
base_url="https://api.therouter.ai/v1",
api_key="YOUR_THEROUTER_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4o",
messages=[{"role": "user", "content": "总结量子计算的核心概念"}],
max_tokens=512,
)
print(response.choices[0].message.content)模型
chatgpt-image-latestImage model used in ChatGPT.GPT-4.1OpenAI's smartest non-reasoning model. Excels at instruction following and tool calling with broad knowledge across domains. Features a 1M token context window and low latency.GPT-4.1 MiniSmaller, faster version of GPT-4.1. Excels at instruction following and tool calling with a 1M token context window and low latency without a reasoning step.GPT-4.1 NanoFastest, most cost-efficient version of GPT-4.1. Excels at instruction following and tool calling with a 1M token context window and minimal latency.GPT-4oOpenAI's versatile, high-intelligence flagship model. Accepts text and image inputs, produces text outputs including structured outputs. Best model for most tasks outside reasoning-heavy use cases.GPT-4o AudioGPT-4o model capable of audio inputs and outputs.GPT-4o MiniFast, affordable small model for focused tasks. Accepts text and image inputs, produces text outputs. Ideal for fine-tuning and cost-efficient workloads.GPT-4o Mini AudioSmaller audio-capable GPT-4o model.
常见问题
TheRouter 是否支持 OpenAI Responses API?
支持。TheRouter 同时兼容 Chat Completions API 和 Cursor IDE 及新一代智能体框架使用的 Responses API 格式。两种格式均可自动识别并正确路由。
可以使用哪些 OpenAI 模型?
所有主要生产模型均可使用:GPT-4o、GPT-4o mini、GPT-4.1、GPT-4.1 mini、o3、o4-mini、o4-mini-high 等。使用您的 TheRouter API 密钥请求 GET /v1/models 可查看当前完整列表。
TheRouter 如何处理 OpenAI 速率限制?
TheRouter 管理请求队列,并可在 OpenAI 触发速率限制时根据您的路由配置自动切换至备用供应商。
能通过 TheRouter 使用 GPT-4o 视觉功能吗?
可以。TheRouter 的多模态验证层会将 image_url 内容块以原生格式直接传递给 OpenAI,无需图像转换。