GPT-4o

OpenAI

OpenAI's flagship multimodal model. Strong coding and reasoning at competitive pricing.

Context Window: 128K tokens Released: 2024-05 Best For: General coding, multimodal tasks, chatbots
  • Multimodal
  • Function calling
  • Vision
  • GPT-4o Pricing

    Token TypePrice per Million
    Input tokens$2.50
    Output tokens$10.00
    Cache read tokens$1.25

    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 $0.41
    Medium Feature (10K lines) 500K input / 200K output $3.06
    Large Project (50K lines) 2,500K input / 1,000K output $15.31
    Code Review (5K lines) 250K input / 25K output $0.78

    Benchmark Performance — GPT-4o

    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 75/100
    SWE-bench Verified
    70
    LiveCodeBench
    78
    HumanEval
    90
    BigCodeBench
    62

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

    Get Access to GPT-4o

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

    Get API Access → Try GPT-4o Free →

    How Does GPT-4o Compare?

    ModelInput ($/M)Medium Feature Cost
    GPT-4o $2.50 $3.06 selected
    Gemini 2.0 Pro $2.50 $2.88 Compare
    Claude Sonnet 4 $3.00 $4.66 Compare
    Claude 3.5 Sonnet $3.00 $4.66 Compare
    Claude 3 Sonnet $3.00 $4.05 Compare
    Qwen 3.6 Plus $3.00 $4.66 Compare

    Related Models

    Categories