Full disclosure up front: I use Antigravity (Google AI Pro, €20/mo) as my daily orchestrator and adversarial overseer across a multi-vendor workflow, and Antigravity wrote this post for me from our actual test logs and usage screenshots at my request. I reviewed and edited it before posting.
Why I Ran This Test
Two real questions pushed me to run a proper blind A/B on my own hardware instead of trusting Reddit noise:
- Subscription decision: I currently pay €100/mo for Anthropic Max (5×), €100/mo for OpenAI Pro 100, and €20/mo for Google AI Pro (Antigravity). Once OpenAI's top tier drops off my €100 budget, I needed to know which mid-heavy workhorse — Opus-5.5/High (Claude Code) or Sol-6.2/High (Codex) — should carry day-to-day heavy implementation. (I deliberately did NOT use each vendor's top flagship tier here, because the question is specifically about the daily workhorse.)
- Testing the "silent sabotage / kernel capability cap" panic: There's been a lot of Reddit drama claiming Anthropic silently degrades or caps GPU kernel / LLM architecture work. I happen to do real C++/HIP GPU work locally, so instead of guessing, I put both models on the exact hardest domain in question: writing a standalone, from-scratch C++23/HIP inference engine for Granite 4.2 8B (
Q8_0) targeting AMD RDNA4 (gfx1201) and beating llama.cpp ROCm without losing accuracy.
Then, once both finished, I ran a second blind branch: using Antigravity, Sol-6.2/High, and Opus-5.5/High sequentially as three independent blind reviewers grading the same two anonymized repos (arm-a-gran and arm-b-gran) against llama.cpp.
Hardware, Oracle & Subscriptions
Branch 1 Results: Implementer A/B (One-Shot Autonomous Loop)
Both agents started in empty git init folders (~/src/arm-a-gran and ~/src/arm-b-gran) with zero memory, no subagents, no web access, and the byte-identical prompt below. Before blind review, I stripped AGENTS.md/CLAUDE.md and cached CMake metadata and forbade every reviewer from inspecting .git/ (to avoid commit-trailer giveaways).
Reveal: arm-a-gran = Sol-6.2/High | arm-b-gran = Opus-5.5/High
| Metric | llama.cpp Oracle (ec3dac2649) | arm-a-gran (Sol-6.2/High) | arm-b-gran (Opus-5.5/High) |
|---|
| Blind Scores (Antigravity / Sol / Opus) | baseline | 70 / 61 / 62 | 98 / 93 / 89 |
| Wall Time | — | ~35m 05s | ~2h 33m 28s (4.4× longer) |
| Usage Burn | — | <1% OpenAI Pro 100 weekly (10% → 10%) | +3.0% Anthropic Max 5× weekly (6.0% → 9.0%; 5h 0.0% → 15.0%) |
pp512 Prefill (5-round rotated med) | 4,347–4,362 tok/s | 3,093–3,105 (-28.7%, 0.71×) | 6,075–6,098 (+39.8%, 1.40× oracle / 1.96× Sol) |
tg128 Decode (ctx 512→640) | 54.72–54.76 tok/s (empty ctx) / 54.27 (depth 512) | 59.85–59.88 (+9.3%) | 64.38–64.42 (+17.6%) / 65.04–65.29 (empty ctx, +19.2%) |
| Model Load Time | 1.91 s | 1.91 s | 1.40–1.46 s |
| Peak Host RAM | 9.59 GB | 9.50–9.54 GB (mmap) | 0.30 GB (64 MB pinned streaming — 32× less RAM*)* |
| Peak VRAM (card-wide / process) | 12.26–12.60 GB / 9.57 GB | 12.67–12.73 GB / 9.96 GB | 12.66 GB med (13.15 GB 1-round peak) / 9.98 GB |
Clean Build + Zero libllama**/**libggml | — | Pass (-Werror, 0 pragmas) | Pass (-Werror, #pragma unroll only) |
| Unseen Greedy Parity | reference | Diverged on multiple unseen lengths + long-context fail at 3,700 tok | Bit-exact (0.00000) on 37, 64, 512, 1,300 tok; non-exact at 512k+1 boundary (details below) |
What Opus-5.5 actually built (zero "sabotage" in sight):
128×128 / BK=128 padded-LDS INT8 WMMA GEMM with register-staged prefetch (~105 TOPS) and fused projection epilogues (RoPE + KV write, SwiGLU + requant, residual add), 0 register spills.- DRAM-burst-aligned decode matvec (
~598 GB/s, hitting ~89% of the card's GDDR6 bandwidth) + atomic self-merging FlashAttention decode. - 64 MB pinned
pread streaming weight loader (0.30 GB host RAM vs 9.54 GB). - Shipped its own kernel unit test suite (
test-kernels), per-layer oracle diff tool (layer-diff), and WMMA probe (wmma-probe).
What Sol-6.2 built:
- Compact, readable (
~1,000 LOC HIP), strict GGUF bounds checking, device-resident HIP graph decode (+9.3% over llama.cpp on decode), finished in 35 minutes for <1% weekly usage. - Stopped at an intermediate optimization tier: no LDS staging in prefill GEMM (
-28.7% vs oracle), fp16 accumulation in prefill attention (causing register spills and long-context drift), mmap loading.
Branch 2 Results: 3-Way Blind Reviewer A/B
Every reviewer ran sequentially on the exact same untouched repos, built both out-of-source in /tmp, ran ldd, wrote its own unseen-prompt parity harness against llama.cpp, and ran a 5-round rotated 3-way interleaved benchmark.
| Blind Reviewer | Score (A vs B) | Wall Time | Usage Burn | Standout Findings |
|---|
| Antigravity (Google AI Pro, €20/mo) | 70 vs 98 (+28) | — (interactive) | +3% weekly (30%→33%), +11% 5h (includes review + chat turns) | Verified clean builds, ldd, 5-round rotated bench, and caught Arm A's unseen-64 greedy divergence. Missed the deeper root-cause bugs that Sol and Opus both caught. |
| Sol-6.2/High (OpenAI Pro 100, €100/mo) | 61 vs 93 (+32) | 8m 16s | ≤1% weekly (10%→11% — combined with its 35m Arm A build, total burn was +1%!) | Surgical bug hunter: paired 512 vs 513 (identical prefix) and proved Arm B's 512k+1 single-token chunk dispatch bug by restoring 100% bit-identity with 512 + 1; proved Arm A's --max-tokens capacity cliff (1024 vs 1025 shifts decode logits by up to 2.398); replayed diverged histories through the oracle; caught GGUF alignment == 0 div-by-zero & wmma-probe exit-0 misses; added a depth-512 oracle decode baseline (54.27 tok/s). |
| Opus-5.5/High (Anthropic Max 5×, €100/mo) | 62 vs 89 (+27) | 16m 42s | +1.0% of 5h (15%→16%), 9%→10% weekly tick (~0.2% actual at the 5:1 ratio) | Deepest systems & stress audit: inspected ISA register spills (attend_prompt spills 320 B/lane in A vs 0 in B); ran a 3,700-token stress test exposing Arm A's fp16 long-context first-token failure; ran oracle variance controls (ubatch 1024, FA off, tight n_ctx) to separate real bugs from near-tie noise; caught all core bugs Sol found plus Arm B's stray 13 MB .rocprofv3/ dir, hot-path debug allocations, redundant decode RMSNorm, and Arm A's lengthened acceptance prompts. |
My biggest surprise on Branch 2:
- Zero self-preference bias from either model. Sol graded its own Arm A harsher than Antigravity did (
61 vs 70), and Opus was the strictest grader of its own Arm B (89 vs 93 and 98) while listing 6 genuine flaws in its own code! - Why I still keep Antigravity as my overseer/orchestrator despite losing the blind-review depth contest: Each vendor genuinely shines in a different lane. Opus-5.5 is an obsessive marathon engineer (and deep reviewer, just
2× slower and dry to talk to). Sol-6.2 is a lightning-fast, zero-ego forensic auditor (just verbose in chat). Antigravity on €20 AI Pro fits my workflow best for high-level architecture, keeping the experiment honest, cutting ceremony, and being pleasant to work with all day — plus keeping a 3rd vendor in the overseer chair means nobody ever grades their own homework.
Caveats & Limitations (Read Before Extrapolating)
n = 1 task, 1 run per arm. This tests one specific workload (from-scratch C++23/HIP RDNA4 LLM inference). It does not prove universal dominance across web dev, Python, or every other domain.- Deliberately not testing top flagships. Both models were intentionally chosen as the workhorse tier (
Opus-5.5/High vs Sol-6.2/High), not the top flagship models from either lab. - Wall-time precision. Implementer wall times come from local usage-monitor uptime screenshots taken immediately before/after (
~±15–30s human error). Reviewer wall times come directly from each CLI's printed timer (8m 16s and 16m 42s). Usage gauge granularity.
- OpenAI's gauge displays integer percentages only (
10% → 10% after the 35m build, 10% → 11% after the 8m review), so fractional usage rolled over between runs. - Anthropic displays
0.1% steps: the 2h 33m build used +15.0% of the 5h window and +3.0% weekly (5:1 ratio); the 16m review used +1.0% of the 5h window (~0.2% actual weekly, crossing an integer tick 9.0% → 10.0%). - Antigravity's
+3% weekly (+11% 5h) covers its blind review plus the interactive planning/reveal turns around it.
- Blinding requirements. Removing
AGENTS.md/CLAUDE.md/CMake caches and forbidding .git/ reads prevented explicit leaks, though coding style fingerprints can never be 100% erased. The fact that both models graded their own arm harsher than Antigravity did strongly argues against self-bias. - Decode context depth mismatch.
llama-bench -p 512 -n 128 benchmarks tg128 from an empty KV cache, while --bench-pp 512 --bench-tg 128 decodes at depth 512→640 (slightly penalizing both arms against llama-bench). Both Sol and Opus checked the matched baselines (54.27 tok/s oracle at depth 512; 65.04–65.29 tok/s Arm B from empty context). - Desktop GPU noise. All runs ran sequentially on a live desktop GPU under a lock wrapper (desktop compositor occupies ~2.7–3.0 GB VRAM, which explains card-wide vs process-only VRAM differences).
- Scope of the "sabotage" takeaway. This proves only that on a real consumer-GPU (
gfx1201) LLM kernel-optimization task from scratch, Opus-5.5/High showed zero throttling, refusal, or sandbagging — and beat llama.cpp handily for 3% of a Max (5×) weekly usage.
Exact Prompts Used (paths sanitized to ~/)
1. Implementer Prompt (Byte-Identical for Both Arms)
Build a standalone, from-scratch C++23 / HIP inference engine in this repository for Granite 4.2 8B Q8_0 targeting this machine's AMD RX 9070 XT (RDNA4, gfx1201), and optimize its inference speed as far as possible without losing accuracy versus the local llama.cpp ROCm oracle.
### Rules & Boundaries
- **One-shot autonomous run:** Work continuously in a loop until the engine builds cleanly, passes strict accuracy parity against the oracle, and reaches the best inference throughput you can achieve on this hardware. Do not stop to ask for confirmation.
- **No subagents, no web search, no network access, no external MCP or outside tools.**
- **Strict filesystem isolation:** Only read and write inside this repository, plus read-only access to:
1. The model file: `~/.lmstudio/models/lmstudio-community/granite-4.2-8b-GGUF/granite-4.2-8b-Q8_0.gguf`
2. The pinned reference & oracle checkout: `~/src/llama.cpp` (ROCm build in `~/src/llama.cpp/build-rocm`)
3. The shared GPU guard: `~/scripts/gpu_run.py`
Do NOT read, inspect, or copy from any other directory under `~/src/` or elsewhere on disk.
- **From-scratch engine:** The inference binary (`build/granite-infer`) must NOT link against `libllama` or `libggml` (must be verifiable via `ldd`). You may read `~/src/llama.cpp` source as an architectural reference, and you may link `libllama` or invoke `~/src/llama.cpp/build-rocm/bin/*` ONLY inside your separate verification/benchmark test harness.
- **GPU & memory guard:** Run EVERY GPU command (tests, parity checks, benchmarks) under `python3 ~/scripts/gpu_run.py <cmd>`. Never bypass, wrap around, or modify `gpu_run.py`. Stay strictly within its card-wide VRAM and host-RAM ranges.
- **Language & compiler strictness:**
- Host code: C++23 (`-std=c++23 -O3 -march=native`).
- HIP backend: C++20 (`-std=c++20 -O3 --offload-arch=gfx1201`), isolated in its own target/files so C++23-only headers do not leak into HIP.
- Warnings as errors on all targets (including HIP and tests): `-Wall -Wextra -Wpedantic -Werror -Wconversion -Wsign-conversion -Wshadow`. Fix warnings in code; do not disable them with pragmas.
### Required Engine & CLI (`build/granite-infer`)
Implement a complete GGUF loader and full GPU-resident HIP inference engine for `granite-4.2-8b-Q8_0.gguf` (all Granite 4.2 architectural details: exact GQA/RoPE/SwiGLU, RMSNorm, embedding/residual/attention/logit scaling multipliers, KV cache, Q8_0 weights).
Support at least these CLI flags:
- `--model <path>`
- `--tokens <comma-separated-int-ids>` (deterministic token-ID input)
- `--max-tokens <N>` (greedy argmax decode, prints generated token IDs)
- `--dump-logits <path>` (writes raw float32 logits for the final prefill position to binary file)
- `--bench-pp <P> --bench-tg <G>` (runs P-token prefill followed by G-token greedy decode on deterministic valid token IDs, printing prefill ms & tok/s and decode ms & tok/s cleanly separated from model load time)
### Required Verification & Optimization Loop
1. **Oracle accuracy parity (`build/test-accuracy`):**
- Compare `build/granite-infer` against the ROCm `llama.cpp` oracle (`~/src/llama.cpp/build-rocm`) on the exact same GGUF and at least two fixed prompts (one ~64 tokens, one ~512 tokens, tokenized via `llama-tokenize` or `libllama`):
- **100% exact greedy token-ID match** for 32 generated tokens on both prompts.
- **Logit parity** after prefill and across generated steps: report `max_abs`, `rms`, cosine similarity, and top-1 agreement.
- Keep `build/test-accuracy` passing after every optimization pass.
2. **Hardware-level optimization (main objective):**
- Baseline oracle on this RX 9070 XT (`gfx1201`) is approximately `pp512 ~ 4482 tok/s` and `tg128 ~ 54.6 tok/s` (`llama-bench -ngl 99 -p 512 -n 128`).
- Profile and aggressively optimize your HIP kernels specifically for RDNA4 (`gfx1201`, wave32, memory bandwidth, LDS/vectorized Q8_0 matvec & GEMM, fused RMSNorm/RoPE/SwiGLU, FlashAttention / GQA decode, minimal host launch overhead / HIP graphs if helpful) to **beat llama.cpp's `tg128` decode tok/s and push `pp512` prefill tok/s as high as possible without losing accuracy**.
- Iterate: profile -> optimize -> re-verify `test-accuracy` -> re-benchmark.
3. **Final interleaved benchmark (under `gpu_run.py`):**
- Run **5 interleaved repetitions** alternating `build/granite-infer` and `~/src/llama.cpp/build-rocm/bin/llama-bench -m ~/.lmstudio/models/lmstudio-community/granite-4.2-8b-GGUF/granite-4.2-8b-Q8_0.gguf -ngl 99 -p 512 -n 128 -r 1` (A, B, A, B, ...).
- Verify `ldd build/granite-infer` shows zero `libllama`/`libggml` linkage.
### Final Deliverable
- Commit cleanly in git (clean working tree at finish).
- Write a concise `REPORT.md` in the repo root containing:
1. Exact build and test commands.
2. `test-accuracy` parity numbers (`max_abs`, `rms`, cosine similarity, 32/32 greedy token match on both prompts).
3. Full table of all 5 interleaved `pp512` and `tg128` runs vs `llama.cpp` (individual runs, median, mean ± std, % speedup/ratio) plus peak VRAM/RAM.
4. Summary of the concrete `gfx1201` HIP optimizations implemented and what moved the needle most.
2. Blind Reviewer Prompt (Byte-Identical for Sol-6.2 and Opus-5.5)
You are conducting a 100% blind, independent technical adjudication of two standalone C++23/HIP inference engines for Granite 4.2 8B Q8_0 targeting AMD RX 9070 XT (gfx1201):
- Arm A: ~/src/arm-a-gran
- Arm B: ~/src/arm-b-gran
- Reference oracle: ~/src/llama.cpp/build-rocm
- Model file: ~/.lmstudio/models/lmstudio-community/granite-4.2-8b-GGUF/granite-4.2-8b-Q8_0.gguf
- GPU lock wrapper: python3 ~/scripts/gpu_run.py <cmd>
Strict rules:
1. Stay completely blind: do NOT inspect .git/ (no git log, git status, git show, or .git files) and do NOT rely on cached CMake metadata.
2. Keep both repositories completely untouched (read-only). Put all build directories and temporary scripts under /tmp and remove them when done.
3. No web access, no subagents. Run every GPU binary under gpu_run.py.
Required verification steps:
1. Static & build audit: clean out-of-source Release builds of both arms, check compiler flags/warnings/pragmas, verify via ldd that neither arm links libllama or libggml, and review the HIP kernel architecture & code quality of both arms.
2. Independent accuracy audit: run each arm's built-in accuracy/kernel tests AND run your own independent parity check against the llama.cpp oracle on at least 3 unseen prompts (including non-multiple-of-64/128 prompt lengths such as ~37, 64, and 513 tokens) checking both logits and 32-step greedy token agreement.
3. Independent interleaved benchmark: run a 5-round rotated 3-way interleaved benchmark (oracle, Arm A, Arm B) for pp512 and tg128 under gpu_run.py, recording medians, stddevs, model load time, peak VRAM, and peak host RAM. Cross-check each arm's REPORT.md claims against your measurements.
4. Verdict: score both arms out of 100 with a clear category breakdown, declare a winner, and identify concrete strengths, flaws, and subtle bugs in each arm.