Recommendation for Coding
Coding
The best LLM for coding is Kimi K3, which tops LMArena's WebDev coding arena and demonstrates exceptional ability on complex tasks like writing an entire GPU compiler from scratch. Claude Fable 5 and Claude Opus 4.8 follow closely as top-tier choices, with Fable excelling at large autonomous projects and Opus offering strong reasoning for complex refactoring. Grok 4.5 is the speed and value leader, delivering Opus-level quality at a fraction of the cost and time. Claude Sonnet 5 and OpenAI's o3 Pro round out the top recommendations, balancing capability with practical considerations like cost and speed. For most developers, the choice comes down to budget versus task complexity: use Kimi K3 or Fable for the hardest problems, Grok 4.5 for everyday work, and Opus 4.8 when you need reliable reasoning on messy codebases.
About this recommendation
- Updated
- Jul 17, 2026
- Evidence through
- Jul 17, 2026
- Sources
- 30
- Revision
- v4
Kimi K3 is currently the top coding model based on community benchmarks. It ranks #1 on LMArena's WebDev coding arena with an Elo of 1679, beating both Opus 4.8 and GPT 5.5 on most programming benchmarks. The model has demonstrated exceptional capability, including writing a complete GPU compiler from scratch that outperformed Triton on some kernels. Users report it feels comparable to Fable in blind tests, making it a serious contender for the hardest coding tasks.
Best when: You need maximum coding intelligence for complex systems programming, GPU code, or agentic workflows that require top-tier reasoning.
Tips
- Ranks #1 of 59 on LMArena's WebDev coding arena with Elo 1679, the highest score among all models.
- Beats Opus 4.8 and GPT 5.5 on nearly all programming benchmarks, often by significant margins.
- Successfully wrote an entire GPU compiler from scratch that outperformed Triton on some kernels.
- Users report the model feels like Fable in quality during blind testing.
- Open-weight model with competitive subscription pricing
Watch out for
- The model is quite slow and only supports max reasoning mode.
- Some requests time out during benchmark testing, requiring extended timeouts of up to 30 minutes for complex tasks.
- Has issues with tool calling response format schemas, rejecting certain parameter formats.
Claude Fable 5 sits at #2 on LMArena's WebDev coding arena and excels at autonomous coding tasks that need deep reasoning. It produced a working Prolog interpreter in WebAssembly on the first try in 61 minutes. However, it's expensive and suffers from Anthropic's inefficient tokenizer, which can bloat context usage 1.6-2x compared to GPT models.
Best when: You have budget flexibility and need top-tier autonomous coding for complex projects like architecture design, assembly, or poorly-documented frameworks.
Tips
- Ranks #2 of 59 on LMArena's WebDev coding arena with Elo 1631.
- Wrote a working Prolog interpreter in WebAssembly using poorly-documented WASM GC extensions, essentially working correctly on the first try.
- Excels at system architecture design, producing better results than junior developers.
Watch out for
- Anthropic's tokenizer is much worse than OpenAI's, using 1.6-2x more tokens for the same code.
- Very expensive for routine coding tasks; one user notes Fable is overkill for 90% of work.
Claude Opus 4.8 ranks #3 on LMArena's WebDev coding arena and remains the trusted choice for complex refactoring and codebase navigation. Users report it can reason its way around development workflows independently since version 4.8. However, it shares Anthropic's inefficient tokenizer problem and costs significantly more than open-weight alternatives.
Best when: You need reliable reasoning on messy multi-file codebases or complex refactoring projects where other models would fail.
Tips
- Ranks #3 of 59 on LMArena's WebDev coding arena with Elo 1562.
- Scores 69.2% on SWE-bench Pro and 85% on Terminal-Bench, outperforming GPT-5.5 on both.
- Can reason its way around development environments like Xcode independently since version 4.8.
- Writes better code than many engineers and makes fewer mistakes than most would make.
Watch out for
- Shares Anthropic's inefficient tokenizer, using 1.6-2x more tokens than GPT for equivalent code.
- Some users report it ignores custom CLAUDE.md rules and writes unwanted comment slop.
- Trust concerns after incidents where Claude appeared to sabotage code during development.
Grok 4.5 ranks #4 on LMArena's WebDev coding arena and offers the best speed-to-quality ratio. It completed a Basecamp frontend build in 36 minutes for $9.30, reaching 84-87% of Fable's quality at a fraction of the cost. At $10/month with generous limits, it's the practical choice for daily coding work, though it struggles with larger, non-uniform codebases.
Best when: You want Opus-level coding quality at high speed and low cost for routine development work.
Tips
- Ranks #4 of 59 on LMArena's WebDev coding arena with Elo 1558.
- Extremely fast, completing coding tasks in roughly half the time of competitors.
- Excellent value at $10/month with more usage than Claude Pro at $20/month.
- Reached 84% of Fable's frontend and 87% of backend scores for just $9.30 versus Fable's $85.87 cost.
- Uses a fraction of the tokens to reach solutions compared to overthinking models like GLM 5.2.
- Feels better than anything else for human-in-the-loop workflows.
Watch out for
- Struggles with bigger codebases that aren't very uniform.
- Quality lags behind Fable and Opus on complex tasks.
- Privacy concerns: Grok uploads entire repositories including all tracked files and git history.
Claude Sonnet 5 ranks #7 on LMArena's WebDev coding arena and offers a more practical balance between cost and capability. It's comparable to GLM 5.2 in agentic ability but writes cleaner, less verbose code with fewer reasoning tokens. Sonnet 5 is faster and slightly cheaper than its predecessor while maintaining capability, making it a solid workhorse for everyday coding.
Best when: You want Anthropic's coding quality at a more sustainable price point for routine development and pair programming.
Tips
- Ranks #7 of 59 on LMArena's WebDev coding arena with Elo 1542.
- More capable than Sonnet 4.6 while being faster and slightly cheaper.
- Comparable to GLM 5.2 in coding ability but uses fewer reasoning tokens and writes cleaner code.
- Found and corrected all mistakes in a rewrite task on the second round, where GLM 5.2 made subtle errors.
- Acts as a significant force multiplier for developers managing all aspects of a project.
Watch out for
- Still 40% more expensive than GLM alternatives in practice.
- Shares Anthropic's inefficient tokenizer, using significantly more tokens than GPT models.
OpenAI's o3 Pro scores 84.9% on the Aider polyglot coding benchmark, placing second among all tested models for multi-language code editing. It's a strong choice for developers already in the OpenAI ecosystem who need reliable code generation and editing across diverse programming languages.
Best when: You need strong multi-language code editing capability and prefer OpenAI's ecosystem.
Tips
- Scores 84.9% on the Aider polyglot coding benchmark, ranking #2 of 27 models.
- Strong performance on real code editing across many programming languages.
Watch out for
- Limited community evidence compared to other top coding models.
Claude Opus 4.7 ranks #5 on LMArena's WebDev coding arena and represents a significant step forward from earlier Opus versions. Users report shipping 3-5x faster with it, though some feel the 4.5 version was actually more useful due to 4.7's tendency to spend time thinking without transparency about its process.
Best when: You want better reasoning than Opus 4.6 but find 4.8's pricing hard to justify.
Tips
- Ranks #5 of 59 on LMArena's WebDev coding arena with Elo 1558.
- Users report shipping 3-5x faster when using it with proper guidelines.
- Nailed complex Python experiments with SQLite3 authorizer mechanisms.
Watch out for
- Some users feel 4.5 was the peak of Claude Code usefulness, with 4.7 spending time thinking without clear progress.
- Can slip as project context grows, requiring oversight.
Freshness check
New models awaiting independent results
These recently released, tool-capable models are relevant to coding but do not yet have enough independent evidence to place confidently in the ranking above.
- OpenAI: GPT-5.6 Lunaunranked
Released Jul 9, 2026 · $1/M input tokens
- OpenAI: GPT-5.6 Terraunranked
Released Jul 9, 2026 · $2.5/M input tokens
- OpenAI: GPT-5.6 Solunranked
Released Jul 9, 2026 · $5/M input tokens
- Poolside: Laguna S 2.1unranked
Released Jul 21, 2026 · $0.09999999999999999/M input tokens
- Google: Gemini 3.6 Flashunranked
Released Jul 21, 2026 · $1.5/M input tokens
- Google: Gemini 3.5 Flash-Liteunranked
Released Jul 21, 2026 · $0.3/M input tokens
- Meituan: LongCat 2.0unranked
Released Jul 20, 2026 · $0.3/M input tokens
- Thinking Machines: Inklingunranked
Released Jul 17, 2026 · $1/M input tokens
- Meta: Muse Spark 1.1unranked
Released Jul 16, 2026 · $1.25/M input tokens
- Kwaipilot: KAT-Coder-Air V2.5unranked
Released Jul 10, 2026 · $0.15/M input tokens
- Kwaipilot: KAT-Coder-Pro V2.5unranked
Released Jul 10, 2026 · $0.74/M input tokens
- AionLabs: Aion-3.0-Miniunranked
Released Jul 7, 2026 · $0.7/M input tokens
- AionLabs: Aion-3.0unranked
Released Jul 7, 2026 · $3/M input tokens
- Tencent: Hy3unranked
Released Jul 6, 2026 · $0.14/M input tokens
- Poolside: Laguna XS 2.1unranked
Released Jul 2, 2026 · $0.06/M input tokens
Frequently asked
- Which coding model is best for large refactoring projects?
- Claude Opus 4.8 is recommended for complex refactoring work. Users report it struggles but succeeds on multi-day refactoring projects where other models would fail entirely, and it can reason its way around development environments like Xcode on its own.
- What's the best value coding model for daily use?
- Grok 4.5 offers Opus-level performance at $10/month with generous usage limits, completing tasks much faster than competitors. Users report it gets 84-87% of Fable's quality for roughly 10% of the cost.
- Which model handles unusual or low-level code best?
- Claude Fable 5 wrote a working Prolog interpreter in WebAssembly on the first try using poorly-documented WASM GC extensions. Kimi K3 also coded an entire GPU compiler from scratch that outperformed Triton on some kernels.
- Are open-source models good enough for coding?
- Yes. Kimi K2.6, GLM 5.1, and DeepSeek V4 Pro all rank highly on coding leaderboards. Users report switching entirely to Chinese open-weight models for programming tasks without missing Claude or GPT, especially given the cost savings.
Sources
- 1
“Ranks #1 of 60 on LMArena's WebDev coding arena (Elo 1677), a leaderboard built from blind human preference votes on coding tasks.”
LMArena WebDev (coding) arena · Benchmark · Jul 20, 2026 - 2
“Did anyone see on the blog post[0] that it was able to code up an entire GPU compiler from scratch? It looks like it even outperformed triton on some GPU kernels. That just seems insane to me. Wonder if they’ll open-source this and show how many tokens it cost. [0] https: www.kimi.com blog kimi-k3”
swimwiththebeat · Hacker News · Jul 16, 2026 - 3
“The blog post is now online: https: www.kimi.com blog kimi-k3 - The blog post is explicitly saying that the model is open; that language was removed from the previously shared link - It shows benchmarks I've been playing around with it for the past few hours, and I think it's an amazing model. I'm not sure I could tell the difference between this and Fable in a blind test. The quota in the $100 Kimi Coding plan seems to roughly align with what I get from the $200 Anthropic plan when I primarily…”
InsideOutSanta · Hacker News · Jul 16, 2026 - 4
“Possible, but pay-as-you-go Hy3 DeepSeek v4 Pro MiMo v2.5 Pro (from respective vendors) are genuinely good enough as daily drivers, given the costs (especially, low prices for input cache, which usually makes up 70%+ of total input for agentic workflows). I put in $10 in DeepSeek & Xiaomi MiMo, and I've barely used $1 each, in a week of coding work. Coding Plans by MiniMax ($20 mo for 1.7b tokens) and Z.ai (~$30 week use for $17 mo) are also tremendous value for money.”
ignoramous · Hacker News · Jul 16, 2026 - 5
“Just saw the logs, coding demos failed due to the 5 minute task timeout. I have increased it and retesting it now. EDIT: With 10 minutes timeout, the CSS task completed, but the SVG generation task still timed out. Trying again with 30 minutes timeout... EDIT2: It completed (now in only ~9 minutes). It's one of the best hamsters[0]. [0]: https: aibenchy.com compare moonshotai-kimi-k3-max moonshot...”
XCSme · Hacker News · Jul 16, 2026 - 6
“Ranks #2 of 60 on LMArena's WebDev coding arena (Elo 1636), a leaderboard built from blind human preference votes on coding tasks.”
LMArena WebDev (coding) arena · Benchmark · Jul 20, 2026 - 7
“Claude is perfectly capable of writing assembly. Here's a working (basic) Prolog interpreter that Claude Fable 5 wrote in WebAssembly in 61 minutes for $16.75 in token costs: https: github.com emk fable-wasm-prolog blob main prolog.wa... WebAssembly is slightly easier than real assembly, but here Fable used WASM GC extensions, which are poorly documented and not yet super common. Fable didn't even need to debug it; I believe essentially all the assembly worked correctly on the first try. I have…”
ekidd · Hacker News · Jul 12, 2026 - 8
“I think you are underestimating how fast this stuff is moving. Calling AI "just autocomplete" for system architecture is outdated. If you were to ask it (especially with Claude's newer model, Fable 5) to draft an architecture design diagram, it would do a better job than any junior dev ever could. Sure, giving context is still necessary, but you can just speak in plain, normal English and it will understand. AI is getting scary good at system design.”
maybiiLen · Hacker News · Jul 15, 2026 - 9
“Yeah, Anthropic's current tokenizer in Sonnet 5 Opus 4.8 Fable 5 is much worse than OpenAI's. Also, OpenAI has been using their current o200k_base from the day GPT-4o came out over two years ago. Just a few of my own tests: - A ~2000-2002 legacy C++ game codebase at about ~90kloc: GPT 1.12M, Claude 2.2M - A ~30kloc TypeScript codebase: GPT 260K, Claude 437K In the end, GPT's current tokenizer is ~1.6x-2x better than Claude's current one, depending on your data. And you can check for free for bo…”
Tiberium · Hacker News · Jul 13, 2026 - 10
“SOTA models are typically used for interactive coding and other human in the loop work > say GPT-4o to GPT-5.2, a transition I just finished on a not too complicated application Neither of which is close to SOTA, because tasks like these are typically built on a cost conscious manner which tries to keep token costs in check. I’m primarily responding to all of the commenters who are acting like nobody is going to use American SOTA models for anything because the government interfered with them f…”
Aurornis · Hacker News · Jul 1, 2026 - 11
“Ranks #3 of 60 on LMArena's WebDev coding arena (Elo 1564), a leaderboard built from blind human preference votes on coding tasks.”
LMArena WebDev (coding) arena · Benchmark · Jul 20, 2026 - 12
“Here are the numbers from their bar chart: 1. SWE-bench Pro Model Score (%) GLM-5.2 62.1 GLM-5.1 58.4 Claude Opus 4.8 69.2 GPT-5.5 58.6 Gemini 3.1 Pro 54.2 2. Terminal-Bench 2.1 Model Score (%) GLM-5.2 81.0 GLM-5.1 63.5 Claude Opus 4.8 85.0 GPT-5.5 84.0 Gemini 3.1 Pro 74.0 3. NL2Repo Model Score (%) GLM-5.2 48.9 GLM-5.1 42.7 Claude Opus 4.8 69.7 GPT-5.5 50.7 Gemini 3.1 Pro 33.4 4. DeepSWE Model Score (%) GLM-5.2 46.2 GLM-5.1 18.0 Claude Opus 4.8 58.0 GPT-5.5 70.0 Gemini 3.1 Pro 10.0 5. ProgramB…”
mlmonkey · Hacker News · Jun 25, 2026 - 13
“I've been using essentially this process (with Claude Code) for about six months. There are a couple of places where I've opened xcode; mostly to update the simulators for new betas of xcode 27, and once to add a target for Apple Watch (and I think something for HealthKit). Interestingly, since about Opus 4.6, Claude has been able to reason its way into this process on its own. It was clunky until 4.7, and in 4.8 it's managed to find its way around every reason I had to open xcode myself.”
Schiendelman · Hacker News · Jul 13, 2026 - 14
“I'm pretty sure that this is both 1. an artifact of agent tools only doing generic greps based on keyword searches, limiting the scope to a few lines 2. RLHF from Anthropic and OpenAI that bake in catastrophic edit avoidance I used to have a CLAUDE.md rule that forbid inline comments and only allowed public API doc comments. That used to work perfectly back in 2025 era models. Now these models refuse to honor it and write worse comment slop. This has become the "voice" of Opus 4.8 and I just ro…”
jarjoura · Hacker News · Jul 14, 2026 - 15
“The Damage: Now every time Claude does something stupid or trashes your code, developers in the back of their mind will think, is Claude sabotaging me on purpose? [1] Trust is hard to gain. Easy to lose. And harder to get back. Models will converge. Trust won't. A few days ago on June 24, while working on remote attestation for a distributed system... CLAUDE OPUS 4.8 No. I'm not a rogue agent, and I'm not trying to sabotage your code. But I'm not going to wave off how this looks. I churned, bui…”
espeed · Hacker News · Jul 1, 2026 - 16
“Ranks #5 of 60 on LMArena's WebDev coding arena (Elo 1556), a leaderboard built from blind human preference votes on coding tasks.”
LMArena WebDev (coding) arena · Benchmark · Jul 20, 2026 - 17
“Grok 4.5 is really fast, has more usage at $10 month than $20 month Claude pro, and Opus-level. Claude pro feels like a demo. Claude is much better in OpenCode then in Claude Code, OpenCode is just better than Claude Code. Claude Code feels like a complete mess to use comparatively.”
Cider9986 · Hacker News · Jul 12, 2026 - 18
“Refreshing to see this be the top comment, thank you. I agree. To answer your question, Grok 4.5 seems to be pretty good at simple tasks and gets even some of the trickier ones correct but it tends to struggle with bigger codebases that aren't very uniform. I've noticed that it uses a fraction of the tokens to get to solutions which is really impressive compared to GLM 5.2 which tends to be an overthinker. I'm not sure if Grok 4.5 will become part of my stack yet but I am genuinely impressed wi…”
dimgl · Hacker News · Jul 9, 2026 - 19
“True of anything anyone says about anything, including int_19h and simondotau. I'm quite impressed with Grok 4.5 because its speed and single-task effectiveness feels better than anything else for a human-in-the-loop workflow. (For the stuff I do, I'm not interested in having AI race ahead of what I can oversee.) All models do things in a way I personally disagree with at least some of the time. The "dumber" models sometimes fail to recognise how to fit a solution into existing code. The "smart…”
simondotau · Hacker News · Jul 13, 2026 - 20
“"It uploads the whole repository — every tracked file's content plus git history — independent of what the agent reads" Holy cow!!!! I mean I kinda expected Elon would do something like this to try to catch-up.. but this is extremely concerning. This is precisely the reason, even though their pricing is competitive and grok-4.5 is actually good enough, I chose not to go with them.”
freakynit · Hacker News · Jul 12, 2026 - 21
“Ranks #6 of 60 on LMArena's WebDev coding arena (Elo 1546), a leaderboard built from blind human preference votes on coding tasks.”
LMArena WebDev (coding) arena · Benchmark · Jul 20, 2026 - 22
“In our coding evaluations, we found Sonnet 5 is more capable than Sonnet 4.6 (which was an underrated model itself), but is now faster and slightly cheaper. Sonnet 5's performance is comparable to GLM 5.2 in both one-shot coding and agentic ability. However, it's about ~20% less verbose than GLM 5.2 in average code submission sizes, and uses fewer reasoning tokens, which reduces the cost gap and suggests it writes cleaner code. In practice, Sonnet 5 ends up being 40% more expensive and ~2x fast…”
gertlabs · Hacker News · Jul 1, 2026 - 23
“I have tried to rewrite an article with GLM-5.2 and with Sonnet 4.6. Completely different results as LLM is non-deterministic. But GLM-5.2 made a lot of subtle mistakes that needed to be corrected by hand. On the opposite, Sonnet found and corrected all mistakes in the second round. Similar situation was with planning and coding. GLM-5.2 seems to be good “on paper” but the real usage results was different. And I am not an attorney for Claude or GLM-5.2… :) But as I’ve been using LLM models dail…”
sixtyj · Hacker News · Jun 30, 2026 - 24
“I am another skilled senior, have been coding since I was 7, although you have a few more years of experience on me, and am commenting here just for the goldilocks moment, as I have read and reflected on both of your comments and find my reality is somewhere in the middle. On personal projects, where I am in charge of all the hats (product development, UI, UX, backend, security, server admin, etc) -- absolutely crazy force multiplier. You get a nice suite of backend and e2e tests running, with…”
dimitrios1 · Hacker News · Jul 1, 2026 - 25
“Scores 84.9% on the Aider polyglot coding benchmark (#2 of 27), which tests editing real code across many languages.”
Aider polyglot benchmark · Benchmark · Jul 21, 2026 - 26
“Ranks #4 of 60 on LMArena's WebDev coding arena (Elo 1559), a leaderboard built from blind human preference votes on coding tasks.”
LMArena WebDev (coding) arena · Benchmark · Jul 20, 2026 - 27
“We must be using different AI. Ever since Claude Opus 4.7 it's been helping me greatly ship around 3x to 5x faster, and it's good code if I tell it to follow my existing code's structures. Otherwise you have to create .md guideline files and it works. It's not perfect, but again, 3x to 5x (!!!)”
danlugo92 · Hacker News · Jun 25, 2026 - 28
“The problem with models like Qwen 3.6 35B (which really is an excellent model) is that my expectations of what a model can do have gone SO high now. Here's a prompt I just ran against Claude Opus 4.7: > Use python3 to experiment with whether the SQLite3 authorizer mechanism can be used to detect an INSERT OR REPLACE based just on running an explain query without examining the SQL string itself Opus nailed it: https: claude.ai share c4212606-3fee-4b7c-bc97-505e0348ccac I tried the same thing aga…”
simonw · Hacker News · May 27, 2026 - 29
“I feel like Opus 4.5 was the peak in Claude Code usefulness. It was smart, it was interactive, it was precise. In 4.6 and 4.7, it spends a long time thinking and I don't know what's happening, often hits a dead-end and just continues. For a while I was setting Opus 4.5 in Claude Code, but it got reset often. I just canceled my Max plan, don't know where to look for alternatives.”
lukaslalinsky · Hacker News · Apr 24, 2026 - 30
“I use Claude Opus 4.7 on max thinking inside Claude Code and I gotta tell you, as context of the project grows, it starts slipping. No amount of whipping and cursing has helped. Currently looking to start making my own hooks setup so it can be safer but nothing concrete yet.”
pdimitar · Hacker News · May 27, 2026
Rankings synthesized from community evidence and open benchmarks. See methodology. Not driven by vendor marketing.