GPT-4

OpenAI

Original GPT-4. Most expensive OpenAI model, largely superseded by newer options.

Context Window: 8K tokens Released: 2023-03 Best For: Legacy applications requiring GPT-4 specifically
  • Original GPT-4 capability
  • GPT-4 Pricing

    Token TypePrice per Million
    Input tokens$30.00
    Output tokens$60.00

    Estimated Cost by Project Size

    Realistic cost estimates for common coding scenarios. Assumes 30% cache hit rate where caching is available.

    ScenarioToken UsageEstimated Cost
    Small Script (1K lines) 50K input / 30K output $2.85
    Medium Feature (10K lines) 500K input / 200K output $22.50
    Large Project (50K lines) 2,500K input / 1,000K output $112.50
    Code Review (5K lines) 250K input / 25K output $6.75

    Benchmark Performance — GPT-4

    Third-party benchmark scores normalized to 0-100 scale. Higher is better. Aggregated scores from published third-party benchmarks. SWE-bench measures real GitHub issue resolution. LiveCodeBench measures competitive programming ability. HumanEval measures basic code generation. BigCodeBench measures practical, multi-step coding tasks. All scores normalized to 0-100 scale.

    Overall Score 68/100
    SWE-bench Verified
    60
    LiveCodeBench
    70
    HumanEval
    86
    BigCodeBench
    54

    Sources: SWE-bench Verified, LiveCodeBench, HumanEval, BigCodeBench

    Get Access to GPT-4

    Ready to start using GPT-4? Get API access directly from OpenAI.

    Get API Access → Try GPT-4 Free →

    How Does GPT-4 Compare?

    ModelInput ($/M)Medium Feature Cost
    GPT-4 $30.00 $22.50 selected
    OpenAI o1 Pro $20.00 $23.00 Compare
    OpenAI o3 Pro $20.00 $23.00 Compare
    Claude Opus 4 $15.00 $23.29 Compare
    Claude 3 Opus $15.00 $20.25 Compare
    OpenAI o1 $15.00 $17.25 Compare

    Related Models

    Categories