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 | GPT-5.6 Terra | |
|---|---|---|
| Bug rate | ||
| Relative bug rate | 1.11 | 0.52 |
| Rank | #7 of 8 | #2 of 8 |
| By bug type | ||
| Security and privacy | 1.57 | 0.53 |
| Logic bugs | 0.94 | 0.55 |
| Tests and documentation | 1.26 | 0.34 |
| By language | ||
| TypeScript | 0.95 | 0.64 |
| JavaScript | 2.25 | 0.19 |
| Python | 1.18 | 0.55 |
| Go | 0.60 | 2.12 |
| SQL(statistically tied) | 0.49 | 0.83 |
| Details | ||
| Provider | Anthropic | OpenAI |
| Released | Sep 28, 2026 | Jul 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 16 | 2.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).