Mercury is the most unusual release of 2026: a diffusion language model that generates text not token by token but “develops” it in blocks — hence a speed of about a thousand tokens per second at a price of about $0.15–0.40 per million. In a round table of practitioners it was called “tons of code for pennies.” We break down how it works, where it fits, and where it does not.
What makes a diffusion LLM different
Classical models write left to right, token by token: speed is limited by autoregression. The diffusion approach starts from “noise” and over several passes develops the whole block of text at once — like diffusion image generators. The result: generation barely depends on the length of the answer, and thousands of tokens per second are not a trick but the architecture.
The flip side of the architecture: quality on complex reasoning is below autoregressive flagships, and the model’s behavior takes getting used to — it is optimized for volume and speed, not for deep “deliberation.”
Where Mercury fits
- Mass code generation. Hundreds of similar functions, config conversion, generation of tests and data — where volume is needed, not depth. Practice: “tons of code for pennies.”
- Drafts in industrial volumes. Thousands of text variants for subsequent filtering: diffusion speed makes brute-forcing rational.
- Template filling and transformations. Format into format, summaries by rule, structured transformations — mechanical inference without reasoning.
Where it does not fit: architectural decisions, fine-grained review, client correspondence with personality, long agent chains — those need “thinking” models, and the speed gain is wiped out by rework.
The economics in plain terms
A comparison from the round table practice: on Mercury “tons of code are run for pennies” — a price per million of $0.15–0.40 against a few dollars for base models. The arithmetic: a thousand tasks of a thousand response tokens each — a million tokens — cents against dollars. For pipelines where routine outweighs intelligence, this is the cheapest inference on the market.
In the limits pipeline scheme, Mercury occupies a new layer — “industrial generation”: between the free quotas and the paid API. It is not free, but at large volumes it is cheaper than free in cost per token, because it does not spend your time on limits and retries.
How to try it
The model is available through partners’ API endpoints; connection is standard (an OpenAI-compatible call, with the model name per the platform’s documentation). A practical test at first acquaintance: take a batch of 50 similar tasks (for example, generating tests for 50 functions) and run it on Mercury and on your usual model — compare the time, the price, and the share of tasks that required no edits. Three numbers will tell you where its place is in your pipeline.
Frequently asked questions
Is this a “cheap GPT”? No, it is a different architecture. The profile is volume and speed; reasoning is the weak spot. The comparison is not “is it smarter” but “what is cheaper for my class of tasks.”
Blocks = loss of coherence? In practical code-generation and transformation tasks, coherence within a block is sufficient; on long creative texts artifacts are more noticeable. A test on your own material is mandatory.
Can it go into agent harnesses? As a worker for mechanical steps — yes; as the agent’s “brain” — no: agency requires reasoning.
Why is there so little talk about it? The model is niche: hype goes to the flagships, while Mercury quietly saves pipelines money. That is not a minus but a sign of its proper place in the stack.
How to calculate the savings for your project? Estimate your monthly volume of mechanical generation — tests, templates, conversions, drafts — and multiply by the price per million: $0.15–0.40 against a few dollars for base models. Already at a few million tokens of routine per month, the difference turns from “pennies” into a noticeable budget line. A rough estimate is enough: the platform’s counter will show the actual cost after the first batch of tasks.
Can Mercury replace the main model? No, and it should not: it has a different profile — volume and speed instead of deep deliberation. The working scheme is two-layer: Mercury serves the mechanical layer of the pipeline, while the “thinking” model stays for decisions, fine-grained review, and client correspondence. Separating roles matters more here than arguing about which model is “the main one.”
What about private data? The model is cloud-based: access goes through partners’ API endpoints, so the material you send leaves your infrastructure. Sensitive data should not go into this layer — for it, local models remain. Mercury is intended for bulk generation of non-confidential routine: tests, templates, “format into format” transformations.
What to do about artifacts in generations? Narrow the class of tasks: on short structured assignments block coherence is sufficient; on long creative texts artifacts are more noticeable. Run a test on your own material and leave the model what passes without edits — give the rest to autoregressive systems. Usually narrowing the sample solves it, not abandoning the model.
Case: a test of 50 tasks in one evening
Assemble a batch of 50 similar tasks — for example, generating unit tests for 50 real functions of your project — and write the prompts into a file, one per line. Fifty is not a magic number, but it is the volume at which the differences between models and prices are already visible against random noise. Then run the batch through the partner’s OpenAI-compatible endpoint: the address and the model name come from the platform’s documentation.
# tasks.txt — one prompt per line, 50 lines in total
# ENDPOINT and API_KEY — from the partner platform's documentation
cat tasks.txt | while read -r task; do
curl -s "$ENDPOINT/v1/chat/completions" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d "{\"model\": \"mercury\", \"messages\": \
[{\"role\": \"user\", \"content\": \"$task\"}]}" \
>> results.jsonl
done
wc -l results.jsonl # how many responses were writtenThe results reduce to the three numbers from the material above: the total run time, the cost per the platform’s counter, and the share of answers that required no edits. The same task file is then run through your usual model — the comparison turns out to be substantive, not impressionistic. If the share of “accepted without edits” on routine tasks is comparable, the mechanical inference layer moves to Mercury wholesale; if there are many edits, narrow the sample to the most uniform assignments and repeat the measurement. The script stays on hand for repeat runs: when the platform updates the model or the tariff, the same file will show whether quality has degraded.
Bottom line: Mercury is a new class of tool: not a “model for tasks” but “inference for volumes.” Find the mechanical generation layer in your pipeline — and it will nearly zero out its cost. Prices and availability are as of autumn 2026.
