OpenAI: GPT-4.1
由 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 GPT-4.5 across coding (54.6% SWE-bench Verified), instruction compliance (87.4% IFEval), and multimodal understanding benchmarks. It is tuned for precise code diffs, agent reliability, and high recall in large document contexts, making it ideal for agents, IDE tooling, and enterprise knowledge retrieval.
支持流式输出最大 33K tokens
模型特性
输入模态
- image
- text
- file
模型参数
最大 Tokens:33K
默认温度:0.7
流式输出:支持
定价信息
积分定价
文本输入:60 积分
图片输入:60 积分
消息输出:193 积分
API 定价
输入价格:$2.000/1K tokens
输出价格:$8.000/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",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
],
"max_tokens": 1000,
"temperature": 0.7
}'