---
title: Inception: Mercury Coder API | Text Generation | ModelsLab
description: Ultra-fast diffusion-based code generation LLM: 1,100+ tokens/sec on H100 GPUs, 128K context window, $0.25/$1 per million tokens, matches GPT-4o Mini quality at 5-10x speed.
url: https://modelslab.com/models/inception/inception-mercury-coder.md
canonical: https://modelslab.com/models/inception/inception-mercury-coder.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T00:15:55.104601Z
---

Inception: Mercury Coder
---

 [LLMs.txt](https://modelslab.com/models/open_router/inception-mercury-coder/llms.txt) [.md](https://modelslab.com/models/inception/inception-mercury-coder.md)

inception-mercury-coder inception Closed Source Model $0.500000 / call

Inception: Mercury Coder
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Inception: Mercury Coder

inception inception-mercury-coder

Copy model ID

PricingInput $0.25 / 1M tokens

Output $0.75 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[NN](https://modelslab.com/models/together_ai/nvidia-NVIDIA-Nemotron-Nano-9B-v2)[Together AI](https://modelslab.com/models/together_ai)

 [Nvidia Nemotron Nano 9B V2

Closed Source Model](https://modelslab.com/models/together_ai/nvidia-NVIDIA-Nemotron-Nano-9B-v2)

[GG](https://modelslab.com/models/open_router/google-gemma-3-12b-it-free)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 3 12B (free)

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-3-12b-it-free)

[XG](https://modelslab.com/models/open_router/x-ai-grok-3-mini-beta)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 3 Mini Beta

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-3-mini-beta)

[MM](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2.5)[Together AI](https://modelslab.com/models/together_ai)

 [MiniMax M2.5 FP4

Closed Source Model](https://modelslab.com/models/together_ai/MiniMaxAI-MiniMax-M2.5)

[MK](https://modelslab.com/models/open_router/moonshotai-kimi-k2-thinking)[Open Router](https://modelslab.com/models/open_router)

 [MoonshotAI: Kimi K2 Thinking

Closed Source Model](https://modelslab.com/models/open_router/moonshotai-kimi-k2-thinking)

[L4](https://modelslab.com/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct)[ModelsLab](https://modelslab.com/models/meta)

 [Llama 4 Scout Instruct (17Bx16E)

Closed Source Model](https://modelslab.com/models/meta/meta-llama-Llama-4-Scout-17B-16E-Instruct)

[OG](https://modelslab.com/models/open_router/openai-gpt-audio-mini)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT Audio Mini

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-audio-mini)

[AN](https://modelslab.com/models/open_router/amazon-nova-pro-v1)[Open Router](https://modelslab.com/models/open_router)

 [Amazon: Nova Pro 1.0

Closed Source Model](https://modelslab.com/models/open_router/amazon-nova-pro-v1)

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-70B-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Llama 70B Turbo

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-70B-Turbo)

[GG](https://modelslab.com/models/open_router/google-gemma-3-4b-it-free)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 3 4B (free)

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-3-4b-it-free)

[BS](https://modelslab.com/models/open_router/bytedance-seed-seed-1.6)[Open Router](https://modelslab.com/models/open_router)

 [ByteDance Seed: Seed 1.6

Closed Source Model](https://modelslab.com/models/open_router/bytedance-seed-seed-1.6)

[OG](https://modelslab.com/models/open_router/openai-gpt-4-turbo-preview)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4 Turbo Preview

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4-turbo-preview)

[US](https://modelslab.com/models/open_router/upstage-solar-pro-3)[Open Router](https://modelslab.com/models/open_router)

 [Upstage: Solar Pro 3

Closed Source Model](https://modelslab.com/models/open_router/upstage-solar-pro-3)

[CV](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-8B)[Together AI](https://modelslab.com/models/together_ai)

 [Cogito V1 Preview Llama 8B

Closed Source Model](https://modelslab.com/models/together_ai/deepcogito-cogito-v1-preview-llama-8B)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.7)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.7

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.7)

[![Gemini 2.0 Flash](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/f05a6bc4-dd20-49cc-bc2f-8a1c9b25e930.png)](https://modelslab.com/models/google/gemini-2.0-flash-001)[Google](https://modelslab.com/models/google)

 [Gemini 2.0 Flash

Closed Source Model](https://modelslab.com/models/google/gemini-2.0-flash-001)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.5v)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.5V

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.5v)

[![Gemini 2.5 Pro](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/ede9a278-de62-47fb-a53d-99ee4c7b7abc.png)](https://modelslab.com/models/google/gemini-2.5-pro)[Google](https://modelslab.com/models/google)

 [Gemini 2.5 Pro

Closed Source Model](https://modelslab.com/models/google/gemini-2.5-pro)

About Inception: Mercury Coder
---

Mercury Coder is the first diffusion large language model (dLLM). Applying a breakthrough discrete diffusion approach, the model runs 5-10x faster than even speed optimized models like Claude 3.5 Haiku...

### Technical Specifications

Model IDinception-mercury-coderCategoryLLM ModelsTaskText GenerationPrice$0.500000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Inception: Mercury Coder into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "inception-mercury-coder",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/inception/inception-mercury-coder/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Inception: Mercury Coder API costs $0.500000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Inception: Mercury Coder](https://modelslab.com/inception-mercury-coder) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Inception](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Inception: Mercury Coder FAQ
---

### What is Inception: Mercury Coder?

Mercury Coder is the first diffusion large language model (dLLM). Applying a breakthrough discrete diffusion approach, the model runs 5-10x faster than even speed optimized models like Claude 3.5 Haiku...

### How do I use the Inception: Mercury Coder API?

You can integrate Inception: Mercury Coder into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "inception-mercury-coder" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Inception: Mercury Coder cost?

Inception: Mercury Coder costs $0.500000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Inception: Mercury Coder model ID?

The model ID for Inception: Mercury Coder is "inception-mercury-coder". Use this ID in your API requests to specify this model.

### Does Inception: Mercury Coder have a free tier?

Yes, ModelsLab offers a free tier that lets you try Inception: Mercury Coder and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*