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.
- Input
- $0.25 / 1M tokens
- Output
- $0.75 / 1M tokens
- Cache read
- $0.025 / 1M tokens
- Context window
- 32,000 tokens
- Max output
- 8,192 tokens
- Providers
- 1
- Added to LiteLLM
- June 2026
Mercury Edit 2 pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| Inception Labs | text-completion-inception/mercury-edit-2 | $0.25 | $0.75 | $0.025 | 32K |
What Mercury Edit 2 costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Inception Labs | $0.875 |
Use Mercury Edit 2 with LiteLLM
Call Mercury Edit 2 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="text-completion-inception/mercury-edit-2",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: mercury-edit-2
litellm_params:
model: text-completion-inception/mercury-edit-2
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "mercury-edit-2",
"messages": [{"role": "user", "content": "Hello!"}]
}'Mercury Edit 2 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.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request.
LiteLLM docs: Inception Labs.
Provider pages: Inception Labs.
