---
title: Inception: Mercury 2 API | Text Generation | ModelsLab
description: Build with Inception: Mercury 2 API by Inception. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/inception/inception-mercury-2/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/inception/inception-mercury-2/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T10:30:35.010611Z
---

Inception: Mercury 2
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/inception-mercury-2/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/inception/inception-mercury-2.md)

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

Inception: Mercury 2
---

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 2

inception inception-mercury-2

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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[II](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/inflection-inflection-3-productivity)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Inflection: Inflection 3 Productivity

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/inflection-inflection-3-productivity)

[N3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.3-70b-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/meta/llama-3.3-70b-instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.3-70b-instruct)

[XM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/xiaomi-mimo-v2-flash)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Xiaomi: MiMo-V2-Flash

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/xiaomi-mimo-v2-flash)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [DeepSeek R1 Distill Qwen 1.5B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)

[G3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-3-1b-it)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Gemma 3 1b it

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-3-1b-it)

[MD](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-devstral-medium)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Devstral Medium

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-devstral-medium)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-ministral-8b-2512)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Ministral 3 8B 2512

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-ministral-8b-2512)

[QC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Coder-480B-A35B-Instruct-FP8)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3 Coder 480B A35B Instruct Fp8

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Coder-480B-A35B-Instruct-FP8)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Llama-70B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [DeepSeek R1 Distill Llama 70B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-R1-Distill-Llama-70B)

[SL](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/sao10k-l3-euryale-70b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Sao10k: Llama 3 Euryale 70B v2.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/sao10k-l3-euryale-70b)

[Q8](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-8B-Base)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3 8B Base

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-8B-Base)

[NN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nvidia-NVIDIA-Nemotron-Nano-9B-v2)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Nvidia Nemotron Nano 9B V2

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nvidia-NVIDIA-Nemotron-Nano-9B-v2)

[DO](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-OCR-2)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Deepseek OCR 2

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/deepseek-ai-DeepSeek-OCR-2)

[SM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/sarvamai-sarvam-m)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Sarvam M

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/sarvamai-sarvam-m)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Meta-Llama-3-70B-Instruct-Turbo)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta)

 [Meta Llama 3 70B Instruct Turbo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Meta-Llama-3-70B-Instruct-Turbo)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-vl-30b-a3b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 VL 30B A3B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-vl-30b-a3b-instruct)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Llama-3.3-70B-Instruct-Turbo-test)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Meta Llama 3.3 70B Instruct Turbo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Llama-3.3-70B-Instruct-Turbo-test)

[![Gemini 2.5 Flash Image Preview ](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/97c6f065-57f9-45b0-a190-08e5f97f70a8.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-2.5-flash-image-preview)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Gemini 2.5 Flash Image Preview

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-2.5-flash-image-preview)

About Inception: Mercury 2
---

Mercury 2 is an extremely fast reasoning LLM, and the first reasoning diffusion LLM (dLLM). Instead of generating tokens sequentially, Mercury 2 produces and refines multiple tokens in parallel, achieving...

### Technical Specifications

Model IDinception-mercury-2CategoryLLM ModelsTaskText GenerationPrice$0.500000 per million tokensAddedMarch 5, 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 2 into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-2",
        "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-frontend-v2-927501783998.us-east4.run.app/models/inception/inception-mercury-2/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Inception: Mercury 2 API costs $0.500000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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 2](https://modelslab-frontend-v2-927501783998.us-east4.run.app/inception-mercury-2) [Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Inception](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Inception: Mercury 2 FAQ
---

### What is Inception: Mercury 2?

Mercury 2 is an extremely fast reasoning LLM, and the first reasoning diffusion LLM (dLLM). Instead of generating tokens sequentially, Mercury 2 produces and refines multiple tokens in parallel, achieving...

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

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

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

Inception: Mercury 2 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 2 model ID?

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

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

Yes, ModelsLab offers a free tier that lets you try Inception: Mercury 2 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-05-13*