OpenAI: GPT-4o
由 OpenAI 提供
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 fast and 50% more cost-effective. GPT-4o also offers improved performance in processing non-English languages and enhanced visual capabilities. For benchmarking against other models, it was briefly called ["im-also-a-good-gpt2-chatbot"](https://twitter.com/LiamFedus/status/1790064963966370209) #multimodal
支持流式输出最大 16K tokens
模型特性
输入模态
- text
- image
- file
模型参数
最大 Tokens:16K
默认温度:0.7
流式输出:支持
定价信息
积分定价
文本输入:150 积分
图片输入:150 积分
消息输出:302 积分
API 定价
输入价格:$2.500/1K tokens
输出价格:$10.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-4o",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
],
"max_tokens": 1000,
"temperature": 0.7
}'