claude-opus-4-vs-gpt-5

Dev.to AI
Generative AI

Both Claude Opus 4 and GPT-5 are top-tier AI models, but they excel in different areas. Here's how they compare. At a glance Claude Opus 4 GPT-5 Provider Anthropic OpenAI Context window 200K tokens 128K tokens Input price $15 / 1M tokens $10 / 1M tokens Output price $75 / 1M tokens $30 / 1M tokens Coding (SWE-bench) ~76.8% ~71.8% Multimodal Text + images Text + images + audio Subscription $20/mo (Claude Pro) $20/mo (ChatGPT Plus) Coding Claude Opus 4 has the edge here. It scores higher on SWE-bench and tends to produce cleaner, complete code on the first try.