Claude Sonnet 5 vs GPT-5.6 Terra

A side-by-side comparison of Claude Sonnet 5 and GPT-5.6 Terra: input/output pricing, capabilities and available endpoints, served live from openbat.ai. Both are reachable with the same API key.

Pricing comparison

ItemClaude Sonnet 5GPT-5.6 Terra
Input (per 1M tokens)$1.8$1.625
Output (per 1M tokens)$9$9.75
Cache read (per 1M tokens)$0.18$0.1625
Cache write 5m (per 1M tokens)$2.25$2.03125

Specifications

ItemClaude Sonnet 5GPT-5.6 Terra
Context window1,000,000922,000
Max output128,000

Capability comparison

ItemClaude Sonnet 5GPT-5.6 Terra
function_callingYesYes
prompt_cachingYesYes
visionYesYes

Which should you pick

Which is cheaper, Claude Sonnet 5 or GPT-5.6 Terra?

On input, GPT-5.6 Terra is cheaper ($1.8 vs $1.625 per 1M tokens). On output, Claude Sonnet 5 is cheaper ($9 vs $9.75 per 1M tokens). All prices are per million tokens in USD.

Which has the larger context window, Claude Sonnet 5 or GPT-5.6 Terra?

Claude Sonnet 5 does — Claude Sonnet 5 accepts 1,000,000 input tokens and GPT-5.6 Terra accepts 922,000.

What can Claude Sonnet 5 do that GPT-5.6 Terra cannot?

both support function_calling, prompt_caching, vision.

Can I switch between Claude Sonnet 5 and GPT-5.6 Terra without changing my code?

Yes. Both are available on openbat.ai through one API key and the same OpenAI-compatible endpoint — switching means changing the model field from "claude-sonnet-5" to "gpt-5.6-terra", nothing else.

Both are available on openbat.ai under one API key — switching between them means changing the model field and nothing else, so you can use each where it fits rather than picking one.

Claude Sonnet 5 · GPT-5.6 Terra · All models