Best AI for coding / head-to-head

Kimi K3 vs Qwen3.7 Maxfor coding

The verdict

Qwen3.7 Max wins, 9089

Same 18 coding tasks, marked blind by three rival labs. Qwen3.7 Max took 5 tasks, Kimi K3 took 7, 6 tied. Tested 16 Aug 2026.

Where they differed most

The task — Retry with backoff

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.

```typescript
export async function withRetry<T>(
  task: () => Promise<T>,
  maxAttempts = 5,
  baseDelayMs = 200,
): Promise<T> {
  for (let attempt = 1; ; attempt++) {
    try {
      return await task();
    } catch (raw) {
      const e = raw as { status?: number; response?: { status?: number } };
      const status = e.status ?? e.response?.status; // fetch-style or axios-style
      const fourxx = status !== undefined && status >= 400 && status < 500;
      if ((fourxx && status !== 429) || attempt >= maxAttempts) throw raw;
      const…
```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

TaskKimi K3Qwen3.7 Max
Duration parser1010
Find the bug109
SQL without window functions109
Infinite useEffect910
Typed debounce108
Leftmost binary search810
Security review99
Safe migration98
Fix the code not the test99
Race condition99
Retry with backoff510
Recursive type89
Bash one-liner99
Explain and cost99
Regex with limits108
Callback to async810
Diagnose from a trace98
Idempotency98

Full receipts: Kimi K3, Qwen3.7 Max · judges claude-sonnet-5, gemini-3.1-pro-preview, gpt-5.6-terra

Questions people ask

Which is better for coding: Kimi K3 or Qwen3.7 Max?

Qwen3.7 Max — it scored 90/100 against 89/100 on our 18-task coding suite, winning 5 tasks to 7 with 6 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 Qwen3.7 Max · GPT-5.6 Luna vs Kimi K3 · GPT-5.6 Sol vs Qwen3.7 Max · GPT-5.6 Sol vs Kimi K3 · GPT-5.6 Terra vs Qwen3.7 Max · GPT-5.6 Terra vs Kimi K3

Full ranking: Best AI for coding · model pages: Kimi K3, Qwen3.7 Max