現在利用可能
OpenAI
gpt-4.1
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...
TextToolsFilesVision1MCache
入力無料
出力無料
エンドポイントopenai
機能
ツール並列ツールビジョンファイルキャッシュ構造化ストリーミングシステムメッセージ
モダリティ
入力
imagetextfile
出力
text
クイック統計
コンテキストウィンドウ1M
最大出力32.8K
モードchat
トークナイザーGPT
学習データ更新2024
パフォーマンス
パフォーマンスデータを読み込み中...
対応パラメータ
| パラメータ | 常時 | デフォルト |
|---|---|---|
| max_completion_tokens | - | - |
| max_tokens | - | - |
| response_format | - | |
| seed | - | |
| structured_outputs | - | |
| temperature | - | |
| tool_choice | - | |
| tools | - | |
| top_p | - |
§ 01
料金
| 入力料金 | $0.00 · 100万トークン |
| 出力料金 | $0.00 · 100万トークン |
| 対応エンドポイント | openai |
| ベンダー | OpenAI |
§ 02
コードから gpt-4.1 を呼び出す
OpenAI 互換の SDK を UnoRouter に向け、モデル名を指定するだけです。YOUR_API_KEY はダッシュボードで取得した実際のキーに置き換えてください。
bash
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
よくあるご質問
gpt-4.1 の100万トークンあたりの料金はいくらですか?
入力は100万トークンあたり $0.00、出力は100万トークンあたり $0.00 で課金されます。トークン単位の課金で、バッチサイズへの切り上げはありません。
API で gpt-4.1 を使うにはどうすればよいですか?
UnoRouter の /v1/chat/completions エンドポイントへ model=gpt-4.1 を指定してリクエストを送信してください。OpenAI 互換のクライアントライブラリであれば動作します。認証は標準の Bearer トークンを使用します。
§ 04