Best AI for coding / head-to-head

GPT-5.3-Codex vs Qwen3.7 Maxfor coding

The verdict

GPT-5.3-Codex wins, 9290

Same 18 coding tasks, marked blind by three rival labs. GPT-5.3-Codex took 7 tasks, Qwen3.7 Max took 4, 7 tied. Tested 16 Aug 2026.

Where they differed most

The task — Typed debounce

Write a debounce function in TypeScript that preserves the argument types of the wrapped function, returns a function with a .cancel() method, and does not use 'any'. Explain in one sentence why the naive generic signature loses type information.

```ts
type Debounced<F extends (...args: unknown[]) => unknown> =
  ((...args: Parameters<F>) => void) & { cancel: () => void };

function debounce<F extends (...args: unknown[]) => unknown>(
  fn: F,
  waitMs: number
): Debounced<F> {
  let timer: ReturnType<typeof setTimeout> | undefined;

  const debounced = ((...args: Parameters<F>) => {
    if (timer !== undefined) {
      clearTimeout(timer);
    }
    timer = setTimeout(() => {
      fn(...args);
    }, waitMs);
  }) as Debounced<F>;

  debounced.cancel = () => {
    if (timer !== undefi…
```typescript
interface DebouncedFunction<Args extends unknown[]> {
  (...args: Args): void;
  cancel(): void;
}

function debounce<Args extends unknown[]>(
  func: (...args: Args) => unknown,
  wait: number
): DebouncedFunction<Args> {
  let timeoutId: ReturnType<typeof setTimeout> | undefined;

  const debounced = (...args: Args): void => {
    if (timeoutId !== undefined) {
      clearTimeout(timeoutId);
    }
    
    timeoutId = setTimeout(() => {
      func(...args);
      timeoutId = undefined;
    }, wait);
  };

  debounced.cancel = ()…

Task by task

TaskGPT-5.3-CodexQwen3.7 Max
Duration parser910
Find the bug109
SQL without window functions109
Infinite useEffect910
Typed debounce108
Leftmost binary search1010
Security review99
Safe migration88
Fix the code not the test109
Race condition99
Retry with backoff810
Recursive type99
Bash one-liner99
Explain and cost109
Regex with limits98
Callback to async910
Diagnose from a trace88
Idempotency108

Full receipts: GPT-5.3-Codex, 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.3-Codex or Qwen3.7 Max?

GPT-5.3-Codex — it scored 92/100 against 90/100 on our 18-task coding suite, winning 7 tasks to 4 with 7 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.3-Codex vs GPT-5.6 Luna · GPT-5.6 Luna vs Qwen3.7 Max · GPT-5.3-Codex vs GPT-5.6 Sol · GPT-5.6 Sol vs Qwen3.7 Max · GPT-5.3-Codex vs GPT-5.6 Terra · GPT-5.6 Terra vs Qwen3.7 Max

Full ranking: Best AI for coding · model pages: GPT-5.3-Codex, Qwen3.7 Max