Skip to content

Mercury 2

Mercury 2 is an extremely fast reasoning LLM, and the first reasoning diffusion LLM (dLLM).

Pricing

Input
$0.2625per 1M tokens
Output
$0.7875per 1M tokens
Cache read
$0.0263per 1M tokens
Max output
50,000tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.

opencode.json

{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "inception/mercury-2": { "limit": { "context": 128000, "output": 50000 } } }
    }
  }
}
OpenCode, set up for Mercury 2

Find us on