top of page

Proof-based general-purpose computing with Magnetar challenges the zkVM tradeoff

2 hours ago
13 min read

Microsoft Research introduced proof-based general-purpose computing with Magnetar on October 15, claiming speed gains of up to 39 times over comparable zero-knowledge virtual machines. The system can prove programs written in familiar languages while keeping private inputs hidden. It also avoids several cryptographic assumptions that competing designs accept to gain performance.

That combination matters because proof systems have usually forced developers to choose among speed, generality, and conservative security. Magnetar attempts to remove that choice. Microsoft says it can prove ordinary RISC-V programs at millions of processor cycles per second using security rooted in standard hash functions.

The immediate opponent is not one company. It is the established engineering tradeoff behind systems such as Jolt, SP1, and other general-purpose zkVMs. Some offer shorter proofs, mature developer tooling, or different performance profiles. Magnetar's claim is that developers no longer need those compromises to make verifiable computation practical.

Proof-based general-purpose computing with Magnetar changes the performance argument

Magnetar matters because it combines ordinary code, high proving throughput, and post-quantum security in one research system.

A zero-knowledge virtual machine, or zkVM, proves that a program executed correctly without requiring the verifier to rerun it. When zero knowledge is enabled, the proof can also conceal private inputs. This gives the recipient evidence about a result without revealing the underlying confidential data.

Microsoft's Magnetar research presents the system as progress on three related problems. Proof generation must be fast enough for realistic workloads. Developers must be able to use normal programs instead of hand-built cryptographic circuits. The underlying security must remain credible over the system's intended lifetime.

Magnetar targets programs compiled to RV64I, the base 64-bit RISC-V integer instruction set. RISC-V gives the system a conventional processor model and access to mature compiler infrastructure. Developers can write software in Rust, Go, or C, compile it, and then prove the resulting execution.

That differs from proof systems that require an application to be rewritten as an arithmetic circuit. A circuit describes the computation through algebraic constraints that a proof system can process. Building one often demands specialized knowledge, while changes to application logic can require corresponding circuit work.

A zkVM moves much of that burden into the virtual processor. The proof system validates the processor's instruction-by-instruction behavior, so programs can use a standard compilation path. Developers still face integration work, but they do not need to express every application as a custom circuit.

Microsoft reports that Magnetar proves between 7.2 million and 8.7 million cycles per second on an M4 Max MacBook Pro. The cited experiment used 12 performance cores and executions containing 2²² cycles. Proofs were approximately 600 KiB and took between 11 and 13 milliseconds to verify.

An optimized configuration reportedly reaches between 9.5 million and 12.8 million cycles per second. Microsoft says that improvement raises its measured comparative speedups by approximately 1.3 times. These are research benchmarks, not production service measurements.

The accompanying technical paper compares Magnetar with SP1 Hypercube, Jolt-Dory, and Jolt-Akita across 15 workloads. The test set includes cryptographic hashing, Merkle tree operations, signatures, and token transfers inside a small Ethereum Virtual Machine interpreter.

According to those results, Magnetar achieved a geometric-mean throughput advantage of about 39 times over SP1 Hypercube. The reported averages were approximately 18 times over Jolt-Dory and 9.6 times over Jolt-Akita. Individual comparisons varied substantially by workload.

Those figures explain why the announcement is more consequential than another incremental zero-knowledge benchmark. Magnetar does not merely claim faster execution in a narrow custom circuit. It claims that a general-purpose, hash-based system can outperform alternatives built around less conservative cryptographic components.

That performance argument still has boundaries. The benchmarks were conducted by Magnetar's creator on one laptop configuration. Production environments introduce different memory limits, concurrency patterns, network costs, and application sizes. Independent replication will determine whether the lead survives those conditions.

Still, the reported results change the burden of proof. Hash-based systems have often been treated as conservative but expensive. Magnetar says conservative foundations and competitive proving speed can coexist.

Standard languages move proofs closer to ordinary software

The practical shift is not simply faster cryptography, but a path from maintained application code to a verifiable execution.

The easiest way to understand the Magnetar zkVM is to follow a program through it. A developer writes an application using a supported language and compiles that application for RISC-V. Magnetar then creates evidence that the resulting processor execution followed the specified program.

The verifier does not repeat every instruction. It checks a compact proof that represents the execution's correctness. Microsoft says this verification takes about 12 milliseconds in its benchmark configuration, regardless of the much larger workload represented by the proof.

This changes who can build proof-backed applications. Custom circuits concentrate knowledge in teams that understand both the application and the proof system. A general-purpose zkVM lets conventional software engineers retain more of their existing language, compiler, testing, and code-review practices.

The distinction is especially important for software that changes frequently. Business policies, data pipelines, interpreters, and agent rules evolve over time. Rebuilding custom circuits for every change can turn cryptographic assurance into a development bottleneck.

Magnetar does not make proof engineering disappear. Teams must choose which statements to prove, define public and private inputs, and operate the proving infrastructure. They must also verify that compiled behavior matches the intended high-level policy.

The system instead moves the boundary of specialization. Cryptographers can work on the zkVM and its proof engine, while application developers target a familiar processor architecture. That division resembles the relationship between compiler engineers and application programmers.

Microsoft highlights an Ethereum Virtual Machine interpreter as one example. An EVM implementation written in Rust or Go can run within Magnetar. The resulting construction can prove executions of existing smart contracts without implementing every contract directly as a new proof circuit.

This approach is relevant beyond blockchains. A financial institution could prove that a transaction-processing program enforced specified rules without revealing every transaction. A data service could prove that it applied an agreed transformation to private records.

AI agents present another possible use. An agent could provide evidence that an action passed through a defined policy program. The proof would establish execution of that policy, although it would not automatically show that the policy was complete or sensible.

That caveat is essential. A proof confirms a precisely encoded statement. It does not establish that the source data was accurate, the policy captured every risk, or the surrounding system was uncompromised.

Proof-based computing therefore complements audits, access controls, and operational security. It does not replace them. Its specific contribution is reducing the trust required for a computation whose inputs and program have been properly defined.

The phrase "Magnetar zkVM explained" can sound like a product tutorial, but the important news is architectural. Microsoft is arguing that verifiable execution should become a compiler-backed property of ordinary software, rather than a separate application category.

That ambition places pressure on every general-purpose zkVM project. Developer experience is no longer enough if proving remains costly. Raw speed is also insufficient if it depends on assumptions that buyers expect to replace later.

Magnetar vs Jolt exposes the real cryptographic tradeoff

The central contest is not simply Magnetar vs Jolt on speed, but standard hashes versus shorter proofs and alternative assumptions.

Jolt is a useful comparison because the projects share intellectual and architectural roots. Both use RISC-V to support general-purpose programs, and both build on research that makes processor instructions and memory operations less expensive to prove.

Jolt uses lookup arguments, which let a proof system establish that values belong to predefined tables. This can represent processor instructions more efficiently than expressing each instruction through a large collection of low-level constraints.

The open-source Jolt repository describes the project as an extensible RISC-V zkVM. It also labels the current software alpha and unsuitable for production use. That warning illustrates the broader gap between promising proof research and dependable infrastructure.

Microsoft evaluated two Jolt configurations. Jolt-Dory uses elliptic-curve assumptions, while Jolt-Akita uses lattice-based cryptography. Magnetar's paper reports that both produce proofs smaller than 100 KiB, compared with Magnetar's approximately 600 KiB proofs.

Smaller proofs can reduce storage and transmission costs. That advantage matters when proofs cross constrained networks or accumulate in large numbers. Proof size can also affect how a system composes verification across layers.

Magnetar accepts the larger proof in exchange for a narrower security foundation. Microsoft says its security rests on standard hash functions such as SHA-256 or SHA-3. It does not rely on elliptic curves, lattice assumptions, specialized algebraic hashes, or a trusted setup.

A trusted setup is a one-time process that creates secret parameters for some proof systems. If the secret material is retained or compromised, an attacker might forge proofs. Transparent systems avoid that ceremony and the associated governance burden.

Elliptic-curve systems can provide compact proofs and efficient verification, but sufficiently capable quantum computers would threaten their security. Lattice-based systems are designed to resist known quantum attacks, although they depend on different mathematical assumptions.

Magnetar's position is more conservative. Standard hash functions have received decades of analysis and deployment. They also appear throughout existing software and hardware, which gives implementers established optimization paths.

That does not make hash functions infallible. Magnetar still depends on their security properties and on the correctness of its implementation. "Post-quantum" means resistance to currently known quantum attacks, not a permanent guarantee against every future discovery.

There is nonetheless institutional support for hash-based designs. NIST standardized SLH-DSA, a stateless hash-based signature scheme derived from SPHINCS+, in FIPS 205 during 2024. That standard addresses digital signatures, not zkVMs, but it shows why organizations view hashes as a conservative post-quantum foundation.

SP1 Hypercube offers another contrast. Microsoft's paper describes it as "hash-and-more-based" because its core machinery includes assumptions beyond ordinary hash security. Magnetar's measured proofs were approximately 4.6 times smaller than SP1 Hypercube's, according to the researchers.

The performance comparison is striking, but it should not be mistaken for a complete product ranking. Developer tools, supported instructions, hardware acceleration, recursion costs, operational reliability, and ecosystem integration all influence deployment choices.

Magnetar vs Jolt is therefore a contest between security and engineering packages, not isolated benchmark columns. Jolt configurations offer notably smaller proofs. Magnetar claims higher measured throughput and fewer underlying assumptions.

The result pressures competitors to explain their choices more clearly. A team selecting a zkVM now has reason to ask which assumptions secure the prover, how easily those assumptions can change, and which costs appear outside headline throughput.

BinarySpartan turns conservative security into speed

Magnetar's core mechanism aligns binary computation, standard hashes, and recursive verification instead of treating them as separate problems.

Magnetar builds on BinarySpartan, a proof system that brings the earlier Spartan design into binary fields. A binary field represents values through bit-oriented arithmetic, making it a natural setting for processor logic and standard hash functions.

Spartan, introduced in 2019, provided general-purpose proofs without requiring a trusted setup. It used a sum-check protocol, which lets a verifier check a large structured computation through a much smaller exchange of algebraic information.

Later projects addressed different performance bottlenecks. Phalanx exploited the repeated structure of processor execution. Brakedown developed a fast hash-based commitment approach. Lasso, Twist, Shout, and related work reduced the cost of proving lookups and memory operations.

Magnetar combines these lines of research rather than depending on a single isolated invention. Its processor description benefits from repeated instruction-cycle structure. Its memory checking uses techniques designed for efficient reads and writes inside a proof.

BinarySpartan also works with Ligerito, a commitment scheme descended from Brakedown. A commitment lets a prover bind itself to data without immediately revealing that data. The verifier can later check openings against the committed value.

Ring switching provides another component. It lets the system commit efficiently to vectors of bits while moving between algebraic representations suited to different stages. The technique helps connect processor traces with the proof system's binary arithmetic.

These components matter because a zkVM must prove more than arithmetic instructions. It must account for instruction decoding, registers, memory consistency, branches, and the relationship between consecutive machine states.

Memory has historically been particularly expensive. A proof must show that every read returned the correct previously written value, without replaying an ordinary memory system inside the verifier. Efficient memory arguments compress that consistency check.

Magnetar also supports recursion, meaning one proof can attest to the verification of another proof. This lets a long computation be divided into manageable pieces and then combined.

Recursive proof systems sometimes encounter an awkward mismatch. Verification uses operations that the prover's virtual machine handles inefficiently. Proving the verifier can then become a major cost.

Magnetar tries to avoid that mismatch. Its verification work consists mainly of standard hash evaluation and binary-field arithmetic. Those are the same operations BinarySpartan is designed to prove efficiently.

The result is a kind of architectural alignment. The system proves ordinary binary processor behavior, secures commitments with standard hashes, and can efficiently prove its own verifier. Each layer reinforces the same computational model.

Microsoft says this design can support computations of arbitrary length by proving pieces and folding them together. It also points to long-running ledgers and blockchains as potential targets.

Arbitrary length does not mean constant cost. Someone must still perform the computation and generate each proof segment. Recursion changes how verification and aggregation scale, but it does not eliminate proving work.

The mechanism does explain the reported speed. Magnetar does not bolt post-quantum security onto an existing curve-oriented design. It organizes the processor, commitments, memory arguments, and recursion around bit-friendly operations from the beginning.

That is the strongest part of the Magnetar zkVM explained as an engineering story. Its speed and security claims come from the same design decision, rather than two unrelated optimizations.

The benchmarks leave important questions unanswered

Magnetar has changed the research comparison, but it has not yet established production readiness or universal superiority.

The first uncertainty concerns independent validation. The available performance figures come from Microsoft Research and its technical paper. Outside teams need to reproduce those results on comparable hardware, software versions, and workload inputs.

Benchmark selection also matters. Fifteen applications provide more evidence than a single synthetic test, but they do not represent every production workload. Database-heavy programs, large interpreters, unusual memory patterns, and sustained multi-user services can expose different bottlenecks.

Cycle throughput is only one metric. Teams also care about peak memory consumption, proof-generation latency, startup costs, parallel scaling, cloud efficiency, and failure recovery. Those factors can dominate the economics of a deployed prover.

The 600 KiB proof size deserves particular attention. It is smaller than the paper's SP1 Hypercube comparison, but larger than the reported Jolt proofs. Applications that publish or transmit large proof volumes must evaluate that difference directly.

Language support also needs careful interpretation. Rust, Go, and C can compile to RISC-V, but not every language feature, library, operating-system call, or runtime behavior automatically works inside a zkVM. A familiar source language does not equal unrestricted compatibility.

Developers need documented toolchains, debuggers, profiling support, reproducible builds, and clear error reporting. Mature compiler support helps, but the zkVM still defines a constrained execution environment.

Security review remains another requirement. Magnetar's foundation may depend only on standard hashes at the cryptographic assumption layer. The implementation still includes a processor model, proof code, compilers, host interfaces, and application logic.

A flaw in any of those components could produce an incorrect statement or an exploitable integration. Conservative primitives reduce one category of risk. They do not remove software assurance from the deployment plan.

The claim of quantum resistance also needs precise wording. Microsoft says Magnetar avoids elliptic curves and relies on hash functions considered resistant to known quantum attacks. Quantum algorithms can still affect the effective security level of hashes, so parameter choices must account for that reduction.

Microsoft places Magnetar within a wider migration effort. Its quantum-safe timeline targets transitioning products and services to post-quantum cryptography by 2029. Magnetar aligns with that direction, but the research announcement does not make it a deployed Microsoft service.

Commercial availability is therefore a major open question. The announcement describes research results and invites organizations to discuss use cases. It does not provide a production release date, service-level commitment, or broad deployment roadmap.

The absence of those details does not weaken the technical result. It changes what buyers should infer from it. Magnetar currently establishes a new research baseline, not a turnkey replacement for existing proof infrastructure.

There is also a semantic limitation shared by all proof systems. Magnetar can prove that specified code ran on committed inputs. It cannot determine whether the code represented the right policy or whether an input source told the truth.

Consider an AI agent that proves compliance with an approval rule. The proof can show that the rule executed. It cannot show that an omitted rule should have blocked the action, or that an external data feed was accurate.

The same issue applies to finance. A proof can establish that a transaction-processing program followed encoded constraints without revealing transaction details. Regulators and counterparties must still assess the rules, input provenance, governance, and exceptional conditions.

These limitations should shape adoption. Proof-based computing is strongest where the statement, program, and input commitments can be defined precisely. It is weaker when organizations expect cryptography to resolve ambiguous policy or unreliable data.

Three signals will show whether Magnetar moves beyond research

The next test is whether independent developers can reproduce Magnetar's gains and turn them into durable applications.

The first signal is public implementation evidence. Researchers and developers need enough code, parameters, benchmark inputs, and build instructions to reproduce the 7.2 million to 8.7 million cycles-per-second range.

Reproduction on other processors would strengthen Microsoft's performance case. Results that vary sharply across hardware or memory configurations would narrow it. Comparisons should also use equivalent security levels and workload definitions.

This detail matters because proof-system benchmarks are unusually sensitive to implementation choices. A configuration can trade proof size, memory, security, or preprocessing for higher throughput. Comparable labels do not always mean comparable guarantees.

The second signal is a real application maintained by a team outside the research group. A credible deployment should use ordinary Rust, Go, or C code and generate proofs under realistic operating constraints.

An EVM interpreter is one possible test. A regulated data-processing workflow or agent-policy engine would be equally informative. The strongest example would publish latency, memory use, proof size, and operational failure data.

Such a deployment would test the claim that proof-based general-purpose computing with Magnetar reduces specialized development work. Compiler compatibility, debugging, and update procedures matter as much as benchmark throughput.

The third signal is the response from competing zkVM projects. Jolt, SP1, RISC Zero, and other teams can contest Microsoft's results through new benchmarks, smaller proofs, hardware acceleration, or alternative security analyses.

A response focused only on maximum cycles per second would reinforce Magnetar's framing. A response showing lower total cost or better production reliability could weaken it. The market needs comparisons covering the entire proving pipeline.

Competitors may also adopt more conservative components. If standard-hash security becomes a purchasing requirement, projects will need to offer compatible modes or explain why their assumptions provide an acceptable alternative.

Microsoft's work could therefore influence zkVM design even without becoming the dominant implementation. It raises the expected baseline for explaining security assumptions, programming compatibility, and recursion costs together.

Developers should watch for a usable release, independent benchmark suites, and applications that prove more than cryptocurrency transactions. Those events would show whether the architecture generalizes beyond carefully controlled research workloads.

Enterprise buyers should ask a different set of questions. What exact statement does the proof establish? Which inputs remain private? Which assumptions protect the proof, and how will the system respond if those assumptions change?

Teams evaluating the technology also need a durable record of benchmark conditions and security decisions. A searchable engineering knowledge base can connect papers, test results, implementation notes, and review findings without reducing the decision to one headline number.

Proof-based general-purpose computing with Magnetar has already challenged a familiar assumption: conservative post-quantum security does not necessarily require slow, specialized programs. The next step is verification of Magnetar itself. Can independent teams reproduce the numbers, maintain ordinary applications, and preserve the claimed security under production pressure?

Give every agent the context to do better work

Connect your agents to the knowledge, decisions, and history already organized in remio.

remio currently supports Windows 10+ (x64) and Macs with Apple silicon.

Your AI Partner at Work
Get more done with remio

Plan. Create. Deliver.
All in one place.

bottom of page