Skip to content

Grok Build vs. Claude Code: I tested which one has the better memory

6.9 relevance
Score Breakdown
technical depth
7
novelty
6
actionability
8
community
4
strategic
6
personal
10

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Comparison of two popular coding agents' memory capabilities, very actionable for tool selection.

AI/ML thenewstack.io
Grok Build vs. Claude Code: I tested which one has the better memory
Summary

xAI's Grok Build 1.0.40 (Grok 4.6) and Anthropic's Claude Code 2.1.226 (Opus 5) were tested on cross-session memory across four Node repos. Grok retained both workspace-level rules and global conventions across all tests, while Claude's project-scoped auto memory failed when switching repositories. Despite both passing two identical tests, Grok used 3x fewer tokens and cost roughly one-third of Claude ($0.12–0.18 vs $0.32–0.49).

Author

Jessica Wachtel

More from Jessica Wachtel →