返回模型列表

o4-mini

openaiopenai/o4-mini

Fast, cost-efficient reasoning model with a 200K context window. Ideal for tasks requiring reasoning at lower cost. Succeeded by GPT-5 Mini.

上下文长度
200K
最大输出
100K
输入价格
$1.32每百万 Tokens
输出价格
$5.28每百万 Tokens

模态能力

文本图像文本

价格明细

类型费率
输入$1.32 每百万 Tokens
输出$5.28 每百万 Tokens

支持参数

max_tokenstoolstool_choiceresponse_formatreasoningstop

API 使用示例

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "openai/o4-mini",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'