OpenAI

GPT-4o

Chat-15%
openai/gpt-4o

OpenAI's flagship multimodal model supporting text and image inputs with text outputs. Maintains GPT-4 Turbo intelligence at 2x speed and 50% lower cost. Optimized for complex reasoning, coding, and visual understanding tasks.

128K コンテキストウィンドウ
16K 最大出力トークン
リリース日: 2024-05-13
対応プロトコル:OpenAIopenai
利用可能なプロバイダー:AzureAzure
機能:VisionFunction Callingプロンプトキャッシュ音声入力

Providers

AzureAzure
-15%
入力トークン
$2.13/M
$2.5/M
出力トークン
$8.5/M
$10/M
キャッシュ読込
$1.06/M
$1.25/M
Web検索
$0.01/R
Protocols
OpenAIopenai/v1/chat/completions/v1/responses

コード例

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4o",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

よくある質問

Ofox.aiでのGPT-4oの料金は、入力100万トークンあたり$2.5/M、出力100万トークンあたり$10/Mです。従量課金制、月額料金なし。