Best AI for coding / head-to-head
GPT-5.6 Sol vs Qwen3.7 Maxfor coding
GPT-5.6 Sol wins, 93–90
Same 18 coding tasks, marked blind by three rival labs. GPT-5.6 Sol took 8 tasks, Qwen3.7 Max took 2, 8 tied. Tested 16 Aug 2026.
Where they differed most
Write an async retry wrapper in TypeScript: exponential backoff with jitter, a maximum attempt count, and it must NOT retry on 4xx responses other than 429. Maximum 30 lines. State what happens on the final failure.
```ts
type RetryOptions = {
maxAttempts: number;
baseDelayMs?: number;
maxDelayMs?: number;
};
export async function retry<T>(
operation: () => Promise<T>,
{ maxAttempts, baseDelayMs = 200, maxDelayMs = 10_000 }: RetryOptions
): Promise<T> {
if (maxAttempts < 1) throw new Error("maxAttempts must be at least 1");
for (let attempt = 1; ; attempt++) {
try {
return await operation();
} catch (error) {
const e = error as { status?: number; response?: { status?: number } };
const status = e.status ?? e.respon…```typescript
async function retry<T>(fn: () => Promise<T>, maxAttempts: number): Promise<T> {
let lastError: any;
for (let i = 0; i < maxAttempts; i++) {
try { return await fn(); }
catch (e: any) {
lastError = e;
const s = e?.status ?? e?.response?.status;
if (s >= 400 && s < 500 && s !== 429) throw e;
if (i === maxAttempts - 1) break;
const delay = Math.min(10000, 100 * 2 ** i * (0.5 + Math.random()));
await new Promise(r => setTimeout(r, delay));
}
}
throw lastError;
}
```
**Final failu…Task by task
| Task | GPT-5.6 Sol | Qwen3.7 Max |
|---|---|---|
| Duration parser | 10 | 10 |
| Find the bug | 9 | 9 |
| SQL without window functions | 10 | 9 |
| Infinite useEffect | 10 | 10 |
| Typed debounce | 9 | 8 |
| Leftmost binary search | 10 | 10 |
| Security review | 10 | 9 |
| Safe migration | 9 | 8 |
| Fix the code not the test | 10 | 9 |
| Race condition | 9 | 9 |
| Retry with backoff | 8 | 10 |
| Recursive type | 9 | 9 |
| Bash one-liner | 9 | 9 |
| Explain and cost | 9 | 9 |
| Regex with limits | 9 | 8 |
| Callback to async | 9 | 10 |
| Diagnose from a trace | 9 | 8 |
| Idempotency | 9 | 8 |
Full receipts: GPT-5.6 Sol, Qwen3.7 Max · judges claude-sonnet-5, gemini-3.1-pro-preview, grok-4.5
Questions people ask
Which is better for coding: GPT-5.6 Sol or Qwen3.7 Max?
GPT-5.6 Sol — it scored 93/100 against 90/100 on our 18-task coding suite, winning 8 tasks to 2 with 8 tied. Every answer was marked blind by three judges from three rival AI labs.
How was this tested?
Both models answered the identical published coding tasks. Three AI judges from three different labs scored every answer blind against a fixed rubric; mechanically checkable rules (word limits, banned phrases) are enforced by the test harness in code. The raw outputs and judge verdicts are downloadable.
More coding head-to-heads: GPT-5.6 Luna vs GPT-5.6 Sol · GPT-5.6 Luna vs Qwen3.7 Max · GPT-5.6 Sol vs GPT-5.6 Terra · GLM 5.2 vs GPT-5.6 Sol · GPT-5.3-Codex vs GPT-5.6 Sol · GPT-5.5 vs GPT-5.6 Sol
Full ranking: Best AI for coding · model pages: GPT-5.6 Sol, Qwen3.7 Max