Skip to content

Claude Sonnet 5 vs GPT-6 Astra

Compare Claude Sonnet 5 from Anthropic and GPT-6 Astra from OpenAI on price, context length and features. Use both through one Yunshu Router API key.

Anthropic
OpenAI
Good for
Coding agents · Long context · Images and screenshots
Hard reasoning · Coding agents · Long context · Images and screenshots
Overview
Model ID
claude-sonnet-5
gpt-6-astra
Availability
Available
Available
Context length
195K tokens
266K tokens
Reasoning
Can be switched off
Always on
Reads
text, image
text, image
Writes
text
text
Tool calling
Yes
Yes
Price per 1M tokens
Input
$2.4801
$11.5148
Output
$12.4006
$57.5742
Cached input
$0.2480
$1.1515
Model
Anthropic
OpenAI
Good forCoding agents · Long context · Images and screenshotsHard reasoning · Coding agents · Long context · Images and screenshots
Overview
Model IDclaude-sonnet-5gpt-6-astra
AvailabilityAvailableAvailable
Context length195K tokens266K tokens
ReasoningCan be switched offAlways on
Readstext, imagetext, image
Writestexttext
Tool callingYesYes
Price per 1M tokens
Input$2.4801$11.5148
Output$12.4006$57.5742
Cached input$0.2480$1.1515

Analysis

Claude Sonnet 5 vs GPT-6 Astra: side-by-side summary

Claude Sonnet 5 and GPT-6 Astra are both available through the Yunshu Router API, so switching between them is a change of model ID, not a new integration.

Claude Sonnet 5, from Anthropic, has a 195K-token context window and is priced at $2.4801 per 1M input tokens and $12.4006 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

GPT-6 Astra, from OpenAI, has a 266K-token context window and is priced at $11.5148 per 1M input tokens and $57.5742 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

AttributeClaude Sonnet 5GPT-6 Astra
Context window195K tokens266K tokens
Price$2.4801 / M input, $12.4006 / M output$11.5148 / M input, $57.5742 / M output
Provided byAnthropicOpenAI
Model pageClaude Sonnet 5 details, setup and pricingGPT-6 Astra details, setup and pricing

USD per 1M tokens, prices as of 2026-11-21. Input types are what each model's maker lists. "Highlight best" marks the lowest price and the largest context among the models shown, in green.

More comparisons

Compare any models →