Updated

Claude Sonnet 5.5 vs GPT-5.6 Terra

GPT-5.6 Terra had 53% fewer counted bugs per line than Claude Sonnet 5.5 (0.52 vs 1.11).

Claude Sonnet 5.5 and GPT-5.6 Terra compared on relative bug rate, by bug type and language, and on price and usage.
Claude Sonnet 5.5GPT-5.6 Terra
Bug rate
Relative bug rate1.110.52
Rank#7 of 8#2 of 8
By bug type
Security and privacy1.570.53
Logic bugs0.940.55
Tests and documentation1.260.34
By language
TypeScript0.950.64
JavaScript2.250.19
Python1.180.55
Go0.602.12
SQL(statistically tied)0.490.83
Details
ProviderAnthropicOpenAI
ReleasedSep 28, 2026Jul 9, 2026
List price$2 input / $10 output per 1M tokens$2 input / $12 output per 1M tokens
Share of AI-written code, week of Nov 162.6%2.7%

1.00 = average · lower is better · = statistically tied

More comparisons

Questions and answers

Which has fewer bugs, Claude Sonnet 5.5 or GPT-5.6 Terra?
GPT-5.6 Terra had 53% fewer counted bugs per line than Claude Sonnet 5.5 (0.52 vs 1.11). GPT-5.6 Terra ranks #2 of 8 and Claude Sonnet 5.5 #7.
Which is cheaper, Claude Sonnet 5.5 or GPT-5.6 Terra?
Claude Sonnet 5.5 lists at $2 input / $10 output per 1M tokens; GPT-5.6 Terra lists at $2 input / $12 output per 1M tokens. Claude Sonnet 5.5 has the lower list price.
Does it depend on the programming language?
In TypeScript, GPT-5.6 Terra had the lower rate (0.64 vs 0.95); in JavaScript, GPT-5.6 Terra had the lower rate (0.19 vs 2.25); in Python, GPT-5.6 Terra had the lower rate (0.55 vs 1.18); in Go, Claude Sonnet 5.5 had the lower rate (0.60 vs 2.12); in SQL, they were statistically tied (0.49 and 0.83).
Does it depend on the kind of bug?
For security and privacy bugs, GPT-5.6 Terra had the lower rate (0.53 vs 1.57); for logic bugs, GPT-5.6 Terra had the lower rate (0.55 vs 0.94); for testing and documentation issues, GPT-5.6 Terra had the lower rate (0.34 vs 1.26).