47 model prices
  1. Home
  2. Models
  3. Comparisons
  4. Claude Opus 5 vs GPT-6.2 Astra

Claude Opus 5 vs GPT-6.2 Astra: API pricing and context window

Claude Opus 5 is 38% cheaper than GPT-6.2 Astra for input ($5.00 vs $8.00 per 1M tokens) and 38% cheaper for output ($25.00 vs $40.00). Context window: 1,000,000 tokens for Claude Opus 5, 922,000 for GPT-6.2 Astra. A 10K-input, 1K-output request costs $0.075 on Claude Opus 5 and $0.12 on GPT-6.2 Astra.

Last updated: Pricing data: LiteLLM (MIT)

Claude Opus 5
$5.00 / $25.00
Input / Output, per 1M tokens · 1M context window
GPT-6.2 Astra
$8.00 / $40.00
Input / Output, per 1M tokens · 922K context window

Side by side

FieldClaude Opus 5GPT-6.2 AstraClaude Opus 5 vs GPT-6.2 Astra
Input$5.00$8.00-38%
Output$25.00$40.00-38%
Cached input$0.50$0.40+25%
Cache write$6.25$10.00-38%
Context window1,000,000922,000+8%
Max output128,000128,000
Long-context thresholdnone272,000
Batch API input$2.50$4.00-38%
Batch API output$12.50$20.00-38%
Image inputYesYes
Function callingYesYes
ReasoningYesYes
Prompt cachingYesYes
PDF inputYesYes
Web searchYesYes
Computer useYesYes
Structured outputYesYes
Extra-high reasoning effortYesYes

Cost per task

TaskClaude Opus 5GPT-6.2 AstraCheaper
Chat request (10K in + 1K out)$0.075$0.12Claude Opus 5 (38% less)
Codebase question (100K in + 2K out)$0.55$0.88Claude Opus 5 (37% less)
Same question, context cached (100K cached + 2K out)$0.10$0.12Claude Opus 5 (17% less)
Long document (300K in + 4K out)$1.60$5.04Claude Opus 5 (68% less)
1M tokens a month (750K in + 250K out)$10.00$16.00Claude Opus 5 (38% less)

Estimate your own workload in the calculator

Which one to pick

Full pages: Claude Opus 5 · GPT-6.2 Astra

More comparisons

Questions

Which is cheaper, Claude Opus 5 or GPT-6.2 Astra?

Claude Opus 5 is 38% cheaper than GPT-6.2 Astra for input ($5.00 vs $8.00 per 1M tokens) and 38% cheaper for output ($25.00 vs $40.00). A 10K-input, 1K-output request costs $0.075 on Claude Opus 5 and $0.12 on GPT-6.2 Astra.

Which has the larger context window, Claude Opus 5 or GPT-6.2 Astra?

Claude Opus 5 accepts more: 1,000,000 input tokens, against 922,000 for GPT-6.2 Astra. Both return up to 128,000 output tokens.

How much does a typical request cost on Claude Opus 5 and GPT-6.2 Astra?

A chat request with 10K input and 1K output tokens costs $0.075 on Claude Opus 5 and $0.12 on GPT-6.2 Astra. A 100K-token codebase question with a 2K answer costs $0.55 and $0.88.

What are the differences between Claude Opus 5 and GPT-6.2 Astra?

Claude Opus 5 / GPT-6.2 Astra: input: $5.00 / $8.00; output: $25.00 / $40.00; cached input: $0.50 / $0.40; cache write: $6.25 / $10.00; context window: 1,000,000 / 922,000; long-context threshold: none / 272,000; Batch API input: $2.50 / $4.00; Batch API output: $12.50 / $20.00.