# Inception: Mercury 2

Mercury 2 is a language model. It takes text in and writes text back.

- **Model id:** `opencheap/mercury-2`
- **Price per 1M tokens:** $0.25 input / $0.75 output
- **Cached input:** $0.025 per 1M tokens
- **Context:** 128K tokens, 50K max output

## Providers

2 providers. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| NanoGPT · quantization unknown | $0.25 | $0.025 | $0.75 | 128K | 50K |

1 more provider through partner hosts · from $0.26 in · $0.79 out

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/mercury-2#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/mercury-2`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/mercury-2", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/mercury-2",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/mercury-2",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Mercury 2

Mercury 2 costs from $0.25 per 1M input tokens and $0.75 per 1M output tokens on OpenCheap, with cached input at $0.025 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0032, and 1,000 such requests about $3.25. Prices as of 2026-12-04 12:01 UTC.

2 providers serve Mercury 2 on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.

Mercury 2 is one of [4 Inception models](https://opencheap.si/models/lab/inception) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the Mercury 2 API cost per 1M tokens?

Mercury 2 costs from $0.25 per 1M input tokens and $0.75 per 1M output tokens on OpenCheap, with cached input at $0.025 per 1M tokens. Prices as of 2026-12-04 12:01 UTC.

### What does one Mercury 2 request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0032, and 1,000 such requests about $3.25. Every answer reports its own cost in usage.cost.

### Which providers serve Mercury 2?

2 providers serve Mercury 2 on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of Mercury 2?

Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.

### How do I call the Mercury 2 API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/mercury-2. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Inception

- [Mercury 2.5 Preview](https://opencheap.si/models/mercury-2.5-preview) (`mercury-2.5-preview`): $0.04 / $0.15 per 1M · 260K context
- [Mercury 3](https://opencheap.si/models/mercury-3) (`mercury-3`): $0.10 / $0.35 per 1M · 1M context
- [Mercury Coder Small](https://opencheap.si/models/mercury-coder-small) (`mercury-coder-small`): $0.25 / $1.00 per 1M · 32K context

[All 4 Inception models](https://opencheap.si/models/lab/inception)

## Similar models

- [DeepSeek V4 Pro](https://opencheap.si/models/deepseek-v4-pro): DeepSeek · 1M context · $0.40 / $0.79 per 1M · [Compare with Mercury 2](https://opencheap.si/compare/mercury-2-vs-deepseek-v4-pro)
- [GLM 5.1](https://opencheap.si/models/glm-5.1): Zhipu · 204K context · $0.14 / $0.45 per 1M, 40 % cheaper · [Compare with Mercury 2](https://opencheap.si/compare/mercury-2-vs-glm-5.1)
- [GLM 4.5 Air](https://opencheap.si/models/glm-4.5-air): Zhipu · 131K context · $0.098 / $0.60 per 1M, 24 % cheaper · [Compare with Mercury 2](https://opencheap.si/compare/mercury-2-vs-glm-4.5-air)
- [Kimi K3.1 Pro](https://opencheap.si/models/kimi-k3.1-pro): Moonshot · 1M context · $0.21 / $1.07 per 1M · [Compare with Mercury 2](https://opencheap.si/compare/mercury-2-vs-kimi-k3.1-pro)
- [DeepSeek V3-0324](https://opencheap.si/models/deepseek-chat): DeepSeek · 163K context · $0.32 / $0.89 per 1M · [Compare with Mercury 2](https://opencheap.si/compare/mercury-2-vs-deepseek-chat)
- [Qwen SEA-LION v4 32B](https://opencheap.si/models/qwen-sea-lion-v4-32b): Qwen · 131K context · $0.30 / $0.60 per 1M, 16 % cheaper · [Compare with Mercury 2](https://opencheap.si/compare/mercury-2-vs-qwen-sea-lion-v4-32b)

[Compare Mercury 2 with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/mercury-2 · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
