---
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.com/models/inception/inception-mercury-2/api.md
canonical: https://modelslab.com/models/inception/inception-mercury-2/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:02:51.884272Z
---

Inception: Mercury 2
---

 [LLMs.txt](https://modelslab.com/models/open_router/inception-mercury-2/llms.txt) [.md](https://modelslab.com/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.com/models?feature=llmaster)

[II](https://modelslab.com/models/open_router/inflection-inflection-3-pi)[Open Router](https://modelslab.com/models/open_router)

 [Inflection: Inflection 3 Pi

Closed Source Model](https://modelslab.com/models/open_router/inflection-inflection-3-pi)

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

 [Amazon: Nova 2 Lite

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

[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)

[MD](https://modelslab.com/models/open_router/mistralai-devstral-medium)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Devstral Medium

Closed Source Model](https://modelslab.com/models/open_router/mistralai-devstral-medium)

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

 [ByteDance Seed: Seed-2.0-Mini

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

[GG](https://modelslab.com/models/open_router/google-gemini-3-flash-preview)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemini 3 Flash Preview

Closed Source Model](https://modelslab.com/models/open_router/google-gemini-3-flash-preview)

[QQ](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-122b-a10b)[Alibaba](https://modelslab.com/models/alibaba_cloud)

 [Qwen: Qwen3.5-122B-A10B

Closed Source Model](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-122b-a10b)

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

 [OpenAI: GPT-4.1 Mini

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

[OG](https://modelslab.com/models/open_router/openai-gpt-oss-120b-free)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: gpt-oss-120b (free)

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-oss-120b-free)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 7B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct)

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

 [OpenAI: GPT-4o-mini

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

[AC](https://modelslab.com/models/open_router/anthropic-claude-sonnet-4.6)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude Sonnet 4.6

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-sonnet-4.6)

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

 [OpenAI: GPT-4o Audio

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

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-72B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 72B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-72B-Instruct)

[ML](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3-70B-Instruct-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3 70B Instruct Turbo

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3-70B-Instruct-Turbo)

[MM](https://modelslab.com/models/open_router/minimax-minimax-m2-her)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax M2-her

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-m2-her)

[NH](https://modelslab.com/models/open_router/nousresearch-hermes-2-pro-llama-3-8b)[Open Router](https://modelslab.com/models/open_router)

 [NousResearch: Hermes 2 Pro - Llama-3 8B

Closed Source Model](https://modelslab.com/models/open_router/nousresearch-hermes-2-pro-llama-3-8b)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-72B-Instruct-Turbo)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 72B Instruct Turbo

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-72B-Instruct-Turbo)

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.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-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.com/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.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 2](https://modelslab.com/inception-mercury-2) [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 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-04-15*