Independent · Source-cited · No sponsored rankingsSources linked in every article
AIToolRanked
LLM Comparisons · 16 min read

ChatGPT vs Claude vs Gemini: Models, Pricing, Coding Tools

A comparison of GPT-5.4, Claude Opus 4.6 and Gemini 3.1 Pro using vendor-published benchmarks, context limits and pricing. Plan and API prices are dated September 2026.

RA
· · Founder, AIToolRanked
ChatGPT vs Claude vs Gemini: Models, Pricing, Coding Tools
On this page

ChatGPT, Claude, and Gemini are the three most prominent general-purpose AI assistants. This comparison covers the flagship models each vendor shipped in February and March 2026: OpenAI's GPT-5.4 (built-in computer use and a 1.05M-token API context window), Anthropic's Claude Opus 4.6 (80.8% on SWE-bench Verified), and Google's Gemini 3.1 Pro (94.3% on GPQA Diamond, per Google DeepMind's model card ↗).

Last updated: September 2026. Benchmark figures apply only to the model versions named. As of September 2026, newer models have shipped, including OpenAI's GPT-5.5 ↗ (April 2026) and Anthropic's Claude Opus 5.5 ↗ (September 22, 2026), while Gemini 3.1 Pro remains Google's current Pro model. Prices below are dated separately.


What is the best AI for each specific use case?

Claude Opus 4.6 posted 80.8% on SWE-bench Verified and ships with the Claude Code CLI. Gemini 3.1 Pro offers a 1M-token context window and scored 94.3% on GPQA Diamond. GPT-5.4 added built-in computer use for agentic workflows.

Use CaseStrong optionWhy
Coding & DevelopmentClaude (Opus 4.6 + Claude Code)80.8% SWE-bench Verified, Claude Code CLI for terminal workflows
Research & AnalysisGemini 3.1 Pro1M context, 94.3% GPQA Diamond, deep Google integration
Creative WritingClaude Opus 4.6Long 128K output limit for long documents
Agentic WorkflowsChatGPT (GPT-5.4)Built-in computer use, multi-step task automation
Best ValueGeminiFree tier with Gemini Flash and some 3.1 Pro access, $19.99/mo AI Pro plan (as of September 2026)
Enterprise/TeamsChatGPTMature ecosystem, Business and Enterprise plans, Codex for async dev work

What were the major AI model updates in early 2026?

GPT-5.4 launched March 5, 2026 with built-in computer use and a 1.05M-token API context window. Claude Opus 4.6 launched February 5, 2026. Gemini 3.1 Pro was released in preview on February 19, 2026.

ChatGPT: GPT-5.4 Adds Computer Use

GPT-5.4 introduced built-in computer use capabilities. The model interprets screenshots, operates browsers, and issues keyboard commands to complete tasks across applications.

Key specifications, per OpenAI's API documentation ↗:

  • 1.05M token context window (API)

  • 128K max output tokens

  • Long-context pricing — prompts over 272K input tokens are billed at 2x input and 1.5x output

  • Computer use built-in — native screen interaction for agentic tasks

GPT-5.4 is available on paid ChatGPT plans, not the free tier. GPT-5.4 Pro is a separate, higher-cost variant.

Claude: Opus 4.6 Leads SWE-bench Verified

Claude Opus 4.6 was released February 5, 2026. On Google DeepMind's published comparison table, it posted the highest SWE-bench Verified score of the models listed (80.8%).

Opus 4.6 specifications, per Anthropic's announcement ↗:

  • 80.8% on SWE-bench Verified (as reported in Google DeepMind's Gemini 3.1 Pro comparison table)

  • 200K context window (1M in beta on the Claude Developer Platform) with 128K max output tokens

  • Adaptive thinking — Claude decides how much extended thinking a task needs

  • Compaction — the API can summarize older context for longer-running tasks

  • Agent teams in Claude Code — multiple agents can work on a task together

Claude Sonnet 4.6 scored 79.6% on SWE-bench Verified in the same table and costs $3/$15 per million tokens versus Opus 4.6's $5/$25. Anthropic reports that users preferred Sonnet 4.6 over Opus 4.5 59% of the time ↗ in Claude Code.

Gemini: 3.1 Pro Tops Reasoning Benchmarks

Gemini 3.1 Pro was released in preview on February 19, 2026. Google DeepMind's model card reports:

  • 94.3% on GPQA Diamond — the highest score in Google's comparison table

  • 80.6% on SWE-bench Verified — 0.2 points behind Claude Opus 4.6

  • 77.1% on ARC-AGI-2 — more than double Gemini 3 Pro's 31.1%

  • 1M token context window with up to 64K output tokens

  • Multimodal input — text, images, audio, video, and PDFs in a single prompt

The 1M-token window lets users load long technical specifications or large codebases in one prompt without chunking.


How do GPT-5.4, Claude Opus 4.6, and Gemini 3.1 Pro compare directly?

Claude Opus 4.6 leads SWE-bench Verified by a narrow margin. Gemini 3.1 Pro posts the highest GPQA Diamond and ARC-AGI-2 scores in Google's table. GPT-5.4 has the largest API context window and built-in computer use.

FeatureChatGPT (GPT-5.4)Claude (Opus 4.6)Gemini (3.1 Pro)
ModelGPT-5.4 (Mar 2026)Claude Opus 4.6 (Feb 2026)Gemini 3.1 Pro (Feb 2026)
Context Window1.05M (API)200K (1M beta)1M
Max Output128K tokens128K tokens64K tokens
SWE-bench Verified—80.8%80.6%
GPQA Diamond—91.3%94.3%
ARC-AGI-2—68.8%77.1%
Image GenerationBuilt-inNo native generationNano Banana (built-in)
Computer UseBuilt-inVia API toolVia separate Computer Use model
Code ExecutionYes (sandbox)YesYes (sandbox)
Web SearchBuilt-inBuilt-inBuilt-in (Google Search)
Voice ModeAdvanced VoiceVoice supportGemini Live
Coding AgentCodexClaude Code CLIGemini CLI

Benchmark cells marked "—" are not included in Google DeepMind's comparison table, which compared Gemini 3.1 Pro against Opus 4.6 and GPT-5.2 rather than GPT-5.4.


Which AI coding tool fits best: Claude Code vs Codex vs Gemini CLI?

Claude Code runs in the terminal and IDEs and passed $2.5B in run-rate revenue by February 2026. Codex handles async task delegation in cloud sandboxes. Gemini CLI offers a free tier of 1,000 requests per day.

Claude Code: Terminal-First Coding Agent

Anthropic reported in February 2026 that Claude Code's run-rate revenue had grown to over $2.5 billion ↗. The tool operates in terminals, reads project structures, writes code, runs tests, and handles git workflows without leaving the command line.

Claude Code capabilities:

  • Agentic search — scans the codebase for context without manual file selection

  • Subagents and agent teams — split exploration and implementation across parallel agents

  • MCP integration — connects to external tools such as Google Drive, Jira, and Slack through MCP servers

  • Full terminal access — runs builds, executes tests, manages git, handles CLI operations

  • VS Code and JetBrains extensions — same agent functionality inside IDEs

Opus 4.6 scored 80.8% on SWE-bench Verified, a benchmark of real GitHub issues. Sonnet 4.6 at 79.6% offers similar coding capability at a lower price.

Codex: OpenAI's Async Coding Agent

Codex is built for task delegation. Users describe requirements and Codex works in cloud sandbox environments preloaded with their repositories.

Codex features:

  • Autonomous operation on multi-step tasks with progress updates

  • Cloud sandbox execution — isolated environments with test harnesses, linters, type checkers

  • Verifiable evidence — citations of terminal logs and test outputs for step tracing

  • Agent skills support — reusable instruction bundles for repeatable tasks

  • Parallel operation — worktrees let multiple agents work across a project

Interactive mode allows mid-task questions, approach discussions, and solution steering during code generation.

Using Claude Code AND Codex Together

Some developers use Claude Code and Codex as complementary tools:

  1. Claude Code generates — interactive implementation with local codebase context

  2. Codex reviews — code review in a cloud sandbox with test execution

  3. Claude Code iterates — fixes based on Codex feedback

A common split is Codex for async batch work and Claude Code for interactive development.

Gemini CLI: The Free Option

Gemini CLI runs on Gemini 3 models and, per its GitHub README ↗, offers a free tier of 60 requests per minute and 1,000 requests per day with a personal Google account (as of September 2026). It includes Google Search grounding, file operations, and shell commands.

Gemini CLI is a solid free option for individual developers and smaller tasks. Teams comparing it with Claude Code or Codex should trial all three on their own codebase.


What are the published benchmark results for each AI model?

In Google DeepMind's comparison table, Gemini 3.1 Pro leads GPQA Diamond (94.3%) and ARC-AGI-2 (77.1%), and Claude Opus 4.6 leads SWE-bench Verified (80.8%).

Reasoning & Knowledge

BenchmarkGPT-5.2Claude Opus 4.6Gemini 3.1 ProWhat It Tests
GPQA Diamond92.4%91.3%94.3%PhD-level science (physics, chemistry, biology)
ARC-AGI-252.9%68.8%77.1%Abstract reasoning and pattern recognition

Source: Google DeepMind's Gemini 3.1 Pro model card (February 2026). OpenAI's newer GPT-5.4 is not included in that table.

Coding & Software Engineering

BenchmarkGPT-5.2Claude Opus 4.6Gemini 3.1 ProWhat It Tests
SWE-bench Verified80.0%80.8%80.6%Resolving real GitHub issues
SWE-bench Verified (Sonnet 4.6)—79.6%—Mid-tier model comparison

The top three scores sit within one percentage point of each other, so differences in tooling and workflow matter as much as the benchmark gap.

Human Preference

Human-preference rankings such as the LMArena leaderboard ↗ change frequently as new models are added. Check the live leaderboard for current positions rather than relying on a snapshot.


How much does each AI platform cost?

As of September 2026, all three offer a standard tier around $20/month. ChatGPT Pro costs $100 or $200/month, Claude Max starts at $100/month, and Google AI Ultra starts at $99.99/month. All three have free tiers.

Consumer Plans (US pricing as of September 2026)

PlanChatGPTClaudeGemini
FreeLimited access to OpenAI's default modelChat, web search, file creationGemini 3.6 Flash, varying access to 3.1 Pro
StandardPlus: $20/moPro: $20/mo ($17/mo billed annually)AI Pro: $19.99/mo
Power UserPro: $100 or $200/moMax: from $100/mo (5x or 20x Pro usage)AI Ultra: $99.99 or $199.99/mo
What Standard Gets YouThinking models, image generation, voice, higher limitsClaude Code, more usage, more modelsHigher Gemini usage, Deep Research, video generation

API Pricing (per million tokens, as of September 2026)

ModelInputOutputNotes
GPT-5.4$2.50$15.001.05M context, 2x input / 1.5x output above 272K
Claude Opus 4.6$5.00$25.00$10/$37.50 above 200K (1M beta)
Claude Sonnet 4.6$3.00$15.00Lower-cost Claude option for coding
Gemini 3.1 Pro$2.00$12.00$4/$18 above 200K tokens

Coding Agent Access

ToolAccessCost model
Claude CodeClaude Pro ($20/mo) or Max (from $100/mo)Included in plan, or API usage
CodexChatGPT Plus ($20/mo) or Pro ($100–200/mo)Included in plan, or API usage
Gemini CLIFree (1,000 requests/day)Free tier, or paid API key

Gemini CLI's free tier covers many individual projects. Claude Pro at $20/mo includes Claude Code. ChatGPT Pro adds higher Codex limits for heavy users.


Which AI should you choose for your specific needs?

Choose ChatGPT for agentic automation and team environments. Choose Claude for daily coding and long-form writing. Choose Gemini for large-document processing and Google ecosystem integration.

Choose ChatGPT (GPT-5.4) If You:

  • Need agentic automation — GPT-5.4's built-in computer use operates browsers, apps, and multi-step workflows

  • Want async coding delegation — Codex handles fire-and-forget tasks in cloud sandboxes

  • Work in a team environment — ChatGPT's Business and Enterprise plans offer admin controls, SSO, and compliance features

  • Need image generation alongside conversation — built into ChatGPT without context switching

  • Value ecosystem breadth — custom GPTs and wide third-party integration support

Choose Claude (Opus 4.6) If You:

  • Are a developer who codes daily — Claude Code CLI is built for terminal-based development

  • Need long-form writing — 128K output tokens support long documents in one pass

  • Work with complex, nuanced tasks — adaptive thinking scales reasoning to task difficulty

  • Want strong coding benchmark results — 80.8% on SWE-bench Verified

  • Care about AI safety policy — Anthropic publishes system cards and a constitution for its models

Choose Gemini (3.1 Pro) If You:

  • Need to process large documents — the 1M context window handles long codebases, videos, and PDFs without chunking

  • Are deep in the Google ecosystem — Gmail, Docs, Drive, and Workspace integration

  • Want a generous free tier — free users get Gemini Flash plus varying access to 3.1 Pro

  • Need strong reasoning scores — 94.3% GPQA Diamond and 77.1% ARC-AGI-2 are the highest in Google's comparison table

  • Work with multimodal input — text, images, audio, video, and PDFs in one prompt

A Common Multi-Tool Setup

A multi-tool configuration some professionals use:

  1. Claude Code (Claude Pro, $20/mo) — primary coding tool for development work

  2. ChatGPT Pro ($200/mo) — Codex for async task delegation and code review, plus agentic workflows

  3. Google AI Pro ($19.99/mo) — long-document analysis, research with large context, Google Workspace integration

Total: about $240/month at September 2026 prices. Most individual users will not need all three.

Single choice for developers: Claude Pro at $20/mo, which bundles Claude Code with the chat app. For specialized voice and audio workflows, ElevenLabs covers that vertical.


Frequently Asked Questions

Is ChatGPT still the best AI in 2026?

"Best" depends on use case. GPT-5.4 brought built-in computer use and a 1.05M-token API context window. Claude Opus 4.6 led SWE-bench Verified at 80.8% in Google DeepMind's comparison table. Gemini 3.1 Pro led GPQA Diamond (94.3%). All three vendors have since released newer models, so check each vendor's current lineup.

Is Claude better than ChatGPT for coding?

On SWE-bench Verified, Claude Opus 4.6 scored 80.8% in Google DeepMind's comparison table, ahead of GPT-5.2 at 80.0%; OpenAI's newer GPT-5.4 was not in that table. Claude Code passed $2.5B in run-rate revenue by February 2026, per Anthropic, and offers terminal integration, subagents, and MCP support. Codex is built for async task delegation. Many developers use both: Claude Code for implementation, Codex for review.

Is Gemini 3.1 Pro better than ChatGPT and Claude?

Gemini 3.1 Pro leads specific benchmarks in Google's table: 94.3% GPQA Diamond (PhD-level science), 77.1% ARC-AGI-2 (abstract reasoning), and 80.6% SWE-bench Verified. It offers a 1M context window and a generous free tier. For research and document analysis, it is a strong choice.

How much does ChatGPT vs Claude vs Gemini cost?

As of September 2026, all three offer a standard tier at about $20/month: ChatGPT Plus ($20/mo), Claude Pro ($20/mo), Google AI Pro ($19.99/mo). Power-user tiers: ChatGPT Pro at $100 or $200/mo, Claude Max from $100/mo, and Google AI Ultra at $99.99 or $199.99/mo. ChatGPT also offers a lower-cost Go plan. For API usage, Gemini 3.1 Pro costs $2/$12 per MTok, GPT-5.4 costs $2.50/$15, and Claude Opus 4.6 costs $5/$25.

Can I use Claude Code and Codex together?

Yes. A common workflow uses Claude Code for interactive implementation with local codebase context and Codex for code review and async task delegation in cloud sandboxes with built-in test execution.

Which AI has the largest context window?

Among these three models, GPT-5.4 has the largest API context window at 1.05M tokens. Gemini 3.1 Pro supports 1M tokens. Claude Opus 4.6 supports 200K tokens as standard, with a 1M beta on the Claude Developer Platform.


The three-way AI race in early 2026 had no single "best" answer. Each platform carved out genuine strengths.

GPT-5.4 is a strong general-purpose agent. Built-in computer use, a broad ecosystem, and mature team plans make it a safe all-around choice, especially for teams and enterprises.

Claude Opus 4.6 led SWE-bench Verified in Google DeepMind's table, and Claude Code became one of the most widely adopted AI coding tools of 2026.

Gemini 3.1 Pro posted the highest GPQA Diamond and ARC-AGI-2 scores in Google's comparison table, and its 1M context and free tier make it useful for researchers and students processing large amounts of information.

Recommendation: start with Claude Pro at $20/mo if you code, add Gemini's free tier as a research companion, and add ChatGPT for async automation or enterprise features. For other AI alternatives, check our guide to best character AI alternatives or see how Grok stacks up against ChatGPT.

Sources

RA
About the author
Founder of AIToolRanked · Writing about AI tools since 2025

Checked against the sources linked in this article. First-hand testing is claimed only where it happened. Corrections: rai@aitoolranked.com.

Continue reading

All articles →
The Briefing

One email a week. Every tool worth your time.

Join builders getting source-cited AI tool analysis. Never sponsored, always attributed.

No spam · Unsubscribe anytime

Source-cited reviews and comparisons of AI tools, published by Rai Ansar.

Most read
Topics