OpenAI

GPT-4o Mini

Chat
openai/gpt-4o-mini

OpenAI's advanced small model, 60% cheaper than GPT-3.5 Turbo while scoring 82% on MMLU. Optimized for cost-effective tasks requiring strong language understanding and generation capabilities.

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

Providers

AzureAzure
入力トークン
$0.15/M
出力トークン
$0.6/M
キャッシュ読込
$0.075/M
Web検索
$0.01/R
Protocols
OpenAIopenai/v1/chat/completions/v1/responses

コード例

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

よくある質問

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