AIモデルインテリジェンス

GPT-4

openai/gpt-4

提供: OpenAI · ファミリー: gpt · リリース 2023-03-14 · 知識カットオフ: 2023-11

$30.00
入力 / 100万トークン
$60.00
出力 / 100万トークン
8K
コンテキスト長
8K
最大出力

Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.

機能一覧

ツール呼び出し推論構造化出力添付オープンウェイト温度制御
モダリティ: 入力 text · 出力 text

Model fit scores

0–100 · higher is better

These scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.

Coding46
  • Tool calling40/40
  • Structured output0/20
  • Reasoning0/10
  • Context window (100K → 1M)0/20
  • Provider availability6/10
Agents46
  • Tool calling35/35
  • Structured output0/25
  • Reasoning0/15
  • Output token limit5/15
  • Provider availability6/10
JSON / structured output30
  • Structured output / JSON mode0/50
  • Tool calling20/20
  • Temperature control10/10
  • Price-friendly for high-volume0/20
Cost efficiency14
  • Headline price (log-scaled)14/95
  • Has prompt-cache pricing0/5
Long context0
  • Context ≥ 100K0/100
Production-readiness79
  • Number of independent providers30/40
  • Has published per-token price20/20
  • Context window ≥ 8K8/15
  • No data inconsistencies across providers6/10
  • Official model (not derivative)15/15

Cost Efficiency Index

Open full calculator →

Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.

ScenarioCostAssumption
RAG answer
per 1,000 RAG answers
$180
$0.18 per request
5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot.
Support ticket triage
per 10,000 tickets
$360
$0.04 per request
1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support.
Data extraction
per 1,000 documents
$90.00
$0.09 per request
2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines.
Code review
per 1,000 PRs
$300
$0.30 per request
8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads.
Agent step
per 1,000 steps
$396
$0.40 per request
12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step.

料金詳細

推奨料金 (提供元): openai · gpt-4

$30.00
入力
$60.00
出力

6 か所で利用可能

プロバイダープロバイダーモデルID入力 / 1M出力 / 1Mコンテキストリリース日
OpenAI
openai
gpt-4$30.00$60.008K2023-11-06
Azure Cognitive Services
azure-cognitive-services
gpt-4$60.00$120.008K2023-03-14
Azure
azure
gpt-4$60.00$120.008K2023-03-14
Kilo Gateway
kilo
openai/gpt-4$30.00$60.008K2023-03-14
Cloudflare AI Gateway
cloudflare-ai-gateway
openai/gpt-4$30.00$60.008K2023-11-06
LLM Gateway
llmgateway
gpt-4$30.00$60.008K2023-11-06

プロバイダー間でデータに差異

  • context_window varies: 8191, 8192
  • release_date varies (span 237d): 2023-03-14, 2023-11-06

プロバイダーごとに本モデルの値が異なります。上部の「主要数値」は代表的プロバイダーを使用しています。詳細は表をご確認ください。

Frequently asked questions

How much does GPT-4 cost?

GPT-4 costs $30.00 per 1M input tokens and $60.00 per 1M output tokens, sourced from openai. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.

What is the context window of GPT-4?

GPT-4 has a context window of 8K tokens, with a max output of 8K tokens per reply. This is the total combined size of prompt + completion.

Does GPT-4 support tool calling?

Yes. GPT-4 supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.

Does GPT-4 support structured output / JSON mode?

No. GPT-4 does not support structured output / JSON-schema-constrained decoding. If your workflow requires it, look at the /capabilities/structured-output list for alternatives.

Can GPT-4 accept image input?

No. GPT-4 only accepts text as input. If you need image input, see our /capabilities/vision list for current vision-capable models.

Is GPT-4 open-weight?

No. GPT-4 is a proprietary model — only OpenAI (and any approved hosting partners) can serve it. The pricing above reflects the cheapest API access.

What are the best alternatives to GPT-4?

If GPT-4 doesn't fit, consider GPT OSS 120B, GPT OSS 20B, GPT-5.2. Each one targets the same use case — see the Related links below for direct head-to-head pages.

Where does this data come from?

All numbers come from the public models.dev API and are normalised into a single canonical model record. We re-pull daily and write any changes (price, context, capability) to the /changelog page.

More OpenAI models

Capability lists this model is in

最終更新:

Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.