SShortSingh.
Back to feed

Grok 4.5 Matches Claude Opus 4.8 on Coding at Roughly One-Quarter the Token Cost

0
·1 views

xAI released Grok 4.5 on July 8, 2026, claiming it performs comparably to Anthropic's Claude Opus 4.8 on coding tasks while using about 4.2 times fewer output tokens. Grok 4.5 is also significantly cheaper, priced at $2 per million input tokens and $6 per million output, versus Opus 4.8's $5 and $25 respectively. A real-world test by The New Stack pitted both models against three coding tasks in a Rust project, finding the code quality nearly identical but Grok consuming roughly 1 million tokens across all tasks compared to Opus's 4.3 million, costing $1 versus $5.14. Benchmark results were mixed: Grok led on Terminal-Bench 2.1 while Opus held an edge on the harder SWE-Bench Pro bug-fixing test, and Opus was slightly more thorough on documentation. The test involved a small sample and some methodological caveats, but the findings suggest Grok 4.5 offers a compelling cost advantage for high-volume, everyday coding work where output quality is roughly equivalent.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer's Guide to Quantum Computing: Qubits, Bloch Sphere, and Python Code

A developer-focused tutorial series on quantum computing continues with Part 2, building on foundational concepts introduced in Part 1. The article explains qubits using the Bloch Sphere model, describing how a qubit can exist in any state on a conceptual globe, unlike classical bits restricted to two fixed poles. It introduces the Hadamard Gate as the key quantum operation that places a qubit into pure superposition, giving equal probability of measuring 0 or 1. The guide connects these concepts to real-world applications, specifically Quantum Key Distribution, where quantum states are used to generate theoretically unhackable encryption keys. Practical Python implementation is demonstrated using an open-source library called qkdpy, which simulates the BB84 quantum security protocol.

0
ProgrammingDEV Community ·

Edge AI on Microcontrollers Is Quietly Reshaping How Devices Think

While cloud-based AI models like ChatGPT dominate public attention, a parallel shift is underway in embedded systems, where machine learning runs directly on low-power microcontrollers with kilobytes of RAM. Edge AI processes data locally on the device rather than sending it to remote servers, addressing real-world constraints such as latency, privacy, limited connectivity, and power consumption. Hardware ranging from ARM Cortex-M chips to NVIDIA Jetson modules now supports on-device inference, enabling applications in smart cameras, industrial defect detection, predictive maintenance, and medical diagnostics. Deploying these models reliably within tight memory and power budgets is largely a firmware engineering challenge, not just a machine learning one. As microcontrollers gain enough compute to act as decision-makers rather than mere data couriers, embedded engineers are becoming central figures in the next phase of AI deployment.

0
ProgrammingDEV Community ·

DeepSeek's Wenfeng and AI Leaders Agree: Continuous Learning Is the Key Gap to AGI

DeepSeek founder Liang Wenfeng, in a rare investor briefing, identified continuous learning — not larger models or new modalities — as the critical missing capability on the path to AGI. He argued that solving this problem would lead to a gradual singularity and eventually embodied intelligence, a view echoed by figures at OpenAI, Microsoft, and Andrej Karpathy. Experts contend that storing learned knowledge inside model weights is fundamentally unworkable due to economics, opacity, and vendor lock-in, meaning each new session effectively resets to zero. The emerging alternative is storing agent memory in durable, portable, model-agnostic external files — typically plain markdown managed via git — which remain intact even when the underlying model or runtime changes. Open-source projects like Tolaria exemplify this files-first approach, though developers note that effective continuous learning also requires a sophisticated retrieval runtime, not just a folder of notes.

0
ProgrammingDEV Community ·

Dev Tutorial: Building an OS Kernel Entry Point in Rust and Assembly

A developer tutorial series on building an operating system from scratch using Rust has released its second installment, focusing on the kernel entry point. The guide explains that while Part 1 established the OS foundation by breaking free from Rust's standard library, Part 2 dives into low-level CPU concepts such as registers, the stack, the program counter, and instruction sets. The author notes that kernel-space programming offers no abstractions, requiring developers to manually control everything the OS would normally handle invisibly. Source code for this part is available on GitHub for readers to follow along. The tutorial acknowledges that some Assembly code is necessary at this stage, as Rust alone cannot fully handle the early boot process where a stack has not yet been set up.

Grok 4.5 Matches Claude Opus 4.8 on Coding at Roughly One-Quarter the Token Cost · ShortSingh