# Mercury Edit 2 API Pricing

As of October 10, 2026, Mercury Edit 2 costs $0.25 per 1M input tokens and $0.75 per 1M output tokens on Inception Labs, with cache reads at $0.025 per 1M tokens. It has a 32,000-token context window and returns up to 8,192 tokens per response.

- Page: https://models.litellm.ai/models/mercury-edit-2
- Lab: Inception Labs
- LiteLLM model name: `text-completion-inception/mercury-edit-2`
- Context window: 32,000 tokens
- Max output: 8,192 tokens
- Added to LiteLLM: June 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Inception Labs | `text-completion-inception/mercury-edit-2` | $0.25 | $0.75 | $0.025 | – | – | 32K |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Inception Labs: $0.875

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="text-completion-inception/mercury-edit-2",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Mercury Edit 2 cost?

Mercury Edit 2 costs $0.25 per 1M input tokens and $0.75 per 1M output tokens on Inception Labs, with cache reads at $0.025 per 1M tokens.

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

Mercury Edit 2 has a 32,000-token context window and returns up to 8,192 tokens per response.

### Which providers offer Mercury Edit 2?

Mercury Edit 2 is available from Inception Labs through LiteLLM, using the model name text-completion-inception/mercury-edit-2.

### How do I call Mercury Edit 2 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="text-completion-inception/mercury-edit-2", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### When did LiteLLM add Mercury Edit 2?

Mercury Edit 2 was added to LiteLLM's model price file in June 2026.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
