OpenAI: GPT-4.1 Mini

由 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 instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability (e.g., 31.6% on Aider’s polyglot diff benchmark) and vision understanding, making it suitable for interactive applications with tight performance constraints.

支持流式输出最大 33K tokens

模型特性

输入模态

  • image
  • text
  • file

模型参数

最大 Tokens:33K
默认温度:0.7
流式输出:支持

定价信息

积分定价

文本输入:12 积分
图片输入:12 积分
消息输出:22 积分

API 定价

输入价格:$0.400/1K tokens
输出价格:$1.600/1K tokens

使用示例

API 调用示例
curl -X POST "https://chat.chatsking.com/api/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-4.1-mini",
    "messages": [
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    "max_tokens": 1000,
    "temperature": 0.7
  }'