openai logo
openai

OpenAI: GPT-4

出典の説明(英語)

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

概要

モデル仕様

コンテキスト
8,191 tokens
最大出力
4,096 tokens
アーキテクチャ
text->text
トークナイザー
GPT
知識カットオフ
2021-09-30
モデレーション
いいえ
OPENROUTER

料金の詳細

OpenRouterと同期した料金です。トークン料金は100万トークン単位です。

入力
$30
100万トークンあたり
出力
$60
100万トークンあたり
API

クイックスタート

ローカルにOPENROUTER_API_KEYを設定してください。Pythonにはrequestsが必要です。JavaScriptはNode.jsで実行し、キーはサーバー側で管理してください。

APIドキュメント

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4","messages":[{"role":"user","content":"Hello!"}]}'
機能とモダリティ

入力 → 出力

入力
text
出力
text
API

対応APIパラメータ

frequency_penaltylogit_biaslogprobsmax_completion_tokensmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_p
利用可能なプロバイダー

2 プロバイダー

確認日: 2026年9月28日

OpenRouterでプロバイダーを見る

可用性、遅延、スループット、ルーティングは常時変化します。最新情報は出典ページで確認してください。

OpenRouter

Azure

情報なし
コンテキスト
8K
最大出力
4K
入力
$30
出力
$60
キャッシュ読込
情報なし
キャッシュ書込
情報なし

OpenAI

情報なし
コンテキスト
8K
最大出力
4K
入力
$30
出力
$60
キャッシュ読込
情報なし
キャッシュ書込
情報なし
openai

4 モデル

すべてのモデル
openai logoopenai

OpenAI: GPT-6 Luna Decisions

GPT-6 Luna Decisions is GPT-6 Luna served through OpenAI's Decisions API. Instead of generating text, it reads the content passed as state (text, JSON, or images) and returns typed, probabilistic...

コンテキスト
1.1M
入力
text · image
出力
decisions
入力: $0.1 100万トークンあたり出力: 無料 100万トークンあたり
モデル詳細を見る →
openai logoopenai

OpenAI: GPT-6.1 Sol Pro

GPT-6.1 Sol Pro is the same underlying model as GPT-6.1 Sol, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Cost note: pro mode spends far more...

コンテキスト
1.1M
入力
file · image · text
出力
text
入力: $2出力: $10100万トークンあたり
モデル詳細を見る →
openai logoopenai

OpenAI: GPT-6.1 Sol Pro (batch)

GPT-6.1 Sol Pro is the same underlying model as GPT-6.1 Sol, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Cost note: pro mode spends far more...

コンテキスト
1.1M
入力
file · image · text
出力
text
入力: $1出力: $5100万トークンあたり
モデル詳細を見る →
openai logoopenai

OpenAI: GPT-6.1 Sol

GPT-6.1 Sol is an upgrade to GPT-6 Sol from OpenAI, positioned below the flagship GPT-6 Astra in the GPT-6 series. It is suited for agentic coding, computer use, document-heavy professional...

コンテキスト
1.1M
入力
file · image · text
出力
text
入力: $2出力: $10100万トークンあたり
モデル詳細を見る →