Inception: Mercury Coder
This model is no longer available.Add AI to your application with Puter.js.
Explore Other ModelsModel Card
Mercury Coder is a code-specialized diffusion language model from Inception Labs, built on the same parallel token refinement architecture as Mercury. It is available in Mini and Small sizes.
On fill-in-the-middle tasks, Mercury Coder Small scored 84.8% average accuracy, exceeding Codestral 2501 (82.5%). On MultiPL-E, it reaches 82.0% in C++, 83.9% in JavaScript, and 82.6% in TypeScript. In Copilot Arena human evaluations, Mercury Coder Mini ranked second in user preference with an average latency of just 25 milliseconds.
It is the go-to choice for real-time code completion, autocomplete, and apply-edit workflows where both speed and accuracy are critical.
Context Window 128K
tokens
Max Output 32K
tokens
Input Cost $0.25
per million tokens
Output Cost $0.75
per million tokens
Release Date Mar 31, 2025
Code Example
Add AI to your app with the Puter.js AI API — no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms").then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms").then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
More AI Models From Inception
Frequently Asked Questions
You can access Mercury Coder by Inception through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.
Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Mercury Coder to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.
| Price per 1M tokens | |
|---|---|
| Input | $0.25 |
| Output | $0.75 |
Mercury Coder was created by Inception and released on Mar 31, 2025.
Mercury Coder supports a context window of 128K tokens. For reference, that is roughly equivalent to 256 pages of text.
Mercury Coder can generate up to 32K tokens in a single response.
Yes — the Mercury Coder API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Get started with Puter.js
Add AI to your application without worrying about API keys or setup.
Explore Models View Tutorials