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
対応プロトコル:OpenAIopenai
利用可能なプロバイダー:AzureAzure
機能:VisionFunction Callingプロンプトキャッシュ

料金

タイプ料金
入力トークン$0.15/M
出力トークン$0.6/M
キャッシュ読込$0.075/M
Web検索$0.01/R

コード例

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-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です。従量課金制、月額料金なし。

Discord

Discordサーバーに参加

Discord