Artificial intelligence is evolving at a pace that barely gives anyone time to keep up, and xAI just took another major step in this race.
Grok 4.7 arrived as the company’s most powerful model for coding and knowledge work, bringing a larger base, longer training, and a brand-new set of safety protections built from scratch.
The most interesting part?
All of this while keeping the same price and the same speed as Grok 4.6, starting at 2 dollars per million input tokens.
In the most demanding benchmarks on the market, the model sits at the frontier of performance-to-price ratio, outperforming competitors that cost up to five times more in some scenarios.
In this article, you’ll understand what actually changed in this version, what the numbers say about it, and why Grok 4.7 is turning heads among both devs and security experts. 🚀
What changed in Grok 4.7 compared to previous versions
When xAI released Grok 4.6, the developer community had already recognized the model as a solid option within the artificial intelligence ecosystem focused on coding. But Grok 4.7 represents a shift in tier, not just an incremental update. xAI moved to a larger base compared to Grok 4.6, which in practice means the model was exposed to a greater volume of data during pre-training, enabling a deeper understanding of complex contexts, code patterns, and chained technical reasoning. This directly impacts the quality of responses in tasks that require multi-step reasoning, such as system debugging, architecture analysis, and code generation in more demanding languages.
Beyond the expanded base, the model was trained with a longer reinforcement learning cycle, using a mix of harder tasks with greater weight on problems that take many hours to complete. This process generally results in models that make fewer mistakes in edge cases — those situations where most language models start hallucinating or producing responses too generic to be useful. One of the highlights is that Grok 4.7 works longer on difficult tasks and checks its own work more carefully, which is valuable for anyone dealing with legacy codebases, complex integrations, or tasks involving multiple files and dependencies.
Another relevant point in the evolution of Grok 4.7 lies in how xAI structured the model to manage longer context windows without performance degradation. This is something other models on the market still face as a real challenge, because maintaining coherence across very long conversations or large documents requires a level of internal control that is not trivial to implement. The model was also trained to natively understand the Grok Bot environment, making it better at conversational tasks and general knowledge work. The fact that all of this progressed while prices remained unchanged from the previous version puts it in a very competitive position in the coding model market.
Security and cybersecurity as a native differentiator
One of the most talked-about aspects since the launch of Grok 4.7 is the protection layer embedded directly into the model, rather than added as an external filter, as usually happens with many solutions on the market. xAI built this set of protections from scratch, and the result is the strongest model the company has ever tested in terms of refusals and resistance to attempts to bypass safeguards — the well-known jailbreaks. This creates an important difference: instead of the model simply refusing with a generic message, it can better contextualize the request and offer constructive alternatives when the scenario allows it.
In dual-use domains, such as cybersecurity and biological research, Grok 4.7 leads both in usefulness for legitimate tasks and in the safe refusal of dangerous requests. On LatchBio’s biosecurity benchmark, for example, the model hit the 62.4% mark, the best result among those evaluated. For security teams that use artificial intelligence as support in vulnerability analysis, code review, and defense work, this characteristic is highly relevant. The model can engage in technical conversations with more depth than competitors that treat any mention of these topics as something to be automatically blocked.
This balance shows up clearly in the cyber defense numbers. On HackerBench v0.3, xAI’s benchmark for risky and malicious tasks, Grok 4.7 showed the highest safety among the models tested, letting through only 3.3% of dual-use requests considered risky, while rarely blocking legitimate security work. The company also started offering invite-only access to selected cybersecurity partners, unlocking Grok 4.7’s red team capabilities for defense research. With this, the expectation is that the model will maintain more predictable and reliable behavior even in ambiguous situations, which is especially valuable for teams that rely on the model for sensitive technical decisions.
Performance and price: what the benchmarks say
The numbers are the most direct argument in favor of Grok 4.7, and they deserve attention. On CursorBench 4.0, which pushes long-duration coding tasks, the model sits at the frontier in terms of price-to-performance ratio, reaching 46.3%, compared to 40.4% for Grok 4.6 and 41.7% for GPT-5.6 Sol Max. In other evaluations, such as EEBench focused on electrical engineering, Grok 4.7 hit 64%, placing ahead of several direct competitors.
Starting at 2 dollars per million input tokens and 6 dollars per million output tokens, Grok 4.7 delivers a performance-to-price ratio that few models on the market can match. Here is how it ranks across some of the key benchmarks:
- CursorBench 4.0 (software engineering): 46.3%
- DeepSWE v1.1 (software engineering): 71.0% at high effort
- EEBench (electrical engineering): 64.0%
- AA Briefcase v1.1 (multi-hour office work): 1,657 points
- Terminal-Bench 4.0 (multi-hour terminal work): 37.6%
- Harvey Legal Agent Benchmark (legal work): 19.6%
- HealthBench Professional (clinical reasoning): 56.7%
When you compare the operational cost of using Grok 4.7 at scale against other high-performance models, the difference becomes even more evident. There are competitors that charge ten dollars or more per million input tokens, which represents a difference of five times or more in cost per use. For startups, product teams, and independent developers who use the API intensively, this has a direct impact on the operational budget. And when the output quality is comparable or superior, the decision of which model to use starts tilting pretty clearly toward Grok 4.7.
It is also worth highlighting that the model improved in document and presentation creation. In evaluations like GDPval and AA Briefcase, the AI is put to work on tasks performed by professionals such as lawyers, nurses, and financial analysts. On these fronts, Grok 4.7 outperforms Grok 4.6 and delivers performance comparable to other top-tier models. The combination of accessible cost, high technical capability, and native cybersecurity protections forms a package that is drawing attention from both engineering teams and managers who need to justify the investment in AI tools. 💡
Why devs and security experts are paying attention
The user profile that benefits most from Grok 4.7 is quite specific: developers who need a model that goes beyond basic code generation and can follow complex technical reasoning without losing the thread. This audience tends to be demanding about response consistency and the model’s ability to maintain context across long sessions, especially when the work involves debugging large systems or integrating multiple technologies. The progress Grok 4.7 made on these fronts makes it an option that goes beyond initial curiosity and starts landing on the radar as an everyday work tool.
On the cybersecurity specialists’ side, the interest in the model comes primarily from how it handles sensitive topics without becoming useless. Many artificial intelligence models available on the market block any conversation that touches on offensive security or vulnerability analysis, which ends up making the model largely unhelpful for professionals who need to understand attacks in order to build more effective defenses. Grok 4.7 seems to have found a more mature balance on this issue, responding in a technical and constructive way when the request has a legitimate and professional purpose.
Where Grok 4.7 is already available
Grok 4.7 can already be used today on Cursor and Grok Build. It is also accessible through the xAI API, third-party coding environments, model routers, and cloud platforms. For those who need more speed, there is a fast variant that delivers twice the output speed, charged at twice the price.
In the broader landscape of the race among the major coding models available today, Grok 4.7 enters as a competitor that does not need excessive hype to justify its position. The numbers speak for themselves, the price differential is concrete, and the technical improvements are noticeable in practice by anyone using the model under real working conditions. This puts xAI in an interesting position in the market, showing that it is possible to advance in capability and safety without necessarily making access more expensive — which is an important message at a time when the cost of using AI at scale is still a limiting factor for many teams and organizations around the world. 🔥
