AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
OpenRouter

Mercury Coder API

OpenRouter
About

Process massive datasets with Mercury Coder, featuring an expansive 128K context window for long-document analysis. This model delivers cost-effective pricing at $0.25/1M input and $0.75/1M output tokens, native tool calling support. Access Mercury Coder via the OpenRouter API with up to 32K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
No
Structured Output
Yes
Tool Use
Yes
WeightsClosed
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
128K

Tokens

Input Limit
128K

Tokens

Max Output
32K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.25
Output
$0.75

Caching (per 1M tokens)

Read
$0.03
Frequently Asked Questions

Mercury Coder by OpenRouter costs $0.25 per 1M input tokens and $0.75 per 1M output tokens. Cached reads cost $0.03 per 1M tokens.

Model Details
ID
inception/mercury-coder
Provider
OpenRouter
Family
mercury
Release Date
Apr 30, 2025
Knowledge Cutoff
N/A
API Integration
NPM Package
@openrouter/ai-sdk-provider
Environment Variables
OPENROUTER_API_KEY
API Base URL
https://openrouter.ai/api/v1
Documentation