back

Grok 4 is good … but can it code?

Grok 4's coding capabilities put to the test

In a tech landscape increasingly dominated by powerful AI models, xAI's Grok 4 has emerged as a serious contender in the rapidly evolving generative AI space. While much attention has focused on its conversational abilities and knowledge base, the question of its practical utility for software development remains particularly relevant for businesses looking to leverage AI for coding tasks. This exploration of Grok 4's coding capabilities reveals both impressive strengths and notable limitations that potential business users should consider.

Key insights from the analysis:

  • Grok 4 demonstrates impressive performance on simple to moderately complex coding tasks, generating functional code with proper syntax and reasonable approaches to problem-solving

  • When faced with complex programming challenges, the model shows limitations in maintaining context and producing fully optimized solutions compared to specialized coding models

  • While Grok 4 can explain code competently, it occasionally produces plausible-sounding but technically incorrect explanations, requiring users to verify its outputs

The capability gap

The most revealing insight from this evaluation is Grok 4's position in what we might call the "capability gap" between general-purpose AI models and specialized coding assistants. While it outperforms many general LLMs in code generation, it doesn't quite match the capabilities of dedicated coding models like GPT-4 or Claude 3 Opus. This matters tremendously in the business context, as companies must carefully assess whether a versatile but sometimes imperfect coding assistant meets their specific development needs.

This capability gap reflects a broader industry trend where AI tools are increasingly specializing rather than trying to excel at everything. For businesses, this means carefully considering whether they need a jack-of-all-trades AI or specialized tools for different functions. The practical impact is significant: developers working with Grok 4 will likely get excellent assistance for routine tasks but may need human oversight for more complex programming challenges.

Beyond the video: Real-world applications and limitations

What the evaluation doesn't fully address is how Grok 4 performs in production environments with established codebases. My experience with similar models suggests that AI assistants often struggle more with code maintenance than greenfield development. When integrating with legacy systems or debugging complex interdependencies, even advanced models like Grok 4 face

Recent Videos

May 6, 2026

Hermes Agent Master Class

https://www.youtube.com/watch?v=R3YOGfTBcQg Welcome to the Hermes Agent Master Class — an 11-episode series taking you from zero to fully leveraging every feature of Nous Research's open-source agent. In this first episode, we install Hermes from scratch on a brand new machine with no prior skills or memory, walk through full configuration with OpenRouter, tour the most important CLI and slash commands, and run our first real task: a competitor research report on a custom children's book AI business idea. Every future episode will build on this fresh install so you can see the compounding value of the agent in real time....

Apr 29, 2026

Andrej Karpathy – Outsource your thinking, but you can’t outsource your understanding

https://www.youtube.com/watch?v=96jN2OCOfLs Here's what Andrej Karpathy just figured out that everyone else is still dancing around: we're not in an era of "better models." We're in a different era of computing altogether. And the difference between understanding that and not understanding it is the difference between being a vibe coder and being an agentic engineer. Last October, Karpathy had a realization. AI didn't stop being ChatGPT-adjacent. It fundamentally shifted. Agentic coherent workflows started to actually work. And he's spent the last three months living in side projects, VB coding, exploring what's actually possible. What he found is a framework that explains...

Mar 30, 2026

Andrej Karpathy on the Decade of Agents, the Limits of RL, and Why Education Is His Next Mission

A summary of key takeaways from Andrej Karpathy's conversation with Dwarkesh Patel In a wide-ranging conversation with Dwarkesh Patel, Andrej Karpathy — former head of AI at Tesla, founding member of OpenAI, and creator of some of the most popular AI educational content on the internet — shared his views on where AI is headed, what's still broken, and why he's now pouring his energy into education. Here are the key takeaways. "It's the Decade of Agents, Not the Year of Agents" Karpathy's now-famous quote is a direct pushback on industry hype. Early agents like Claude Code and Codex are...