Mercury Coder API Cost Calculator
Estimate your monthly API costs for Mercury Coder from Inception.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Mercury Inception | $0.2500 | $0.7500 |
| Mercury 2 Inception | $0.2500 | $0.7500 |
| LongCat Flash Chat Meituan | $0.2000 | $0.8000 |
| DeepSeek V3.1 Terminus Deepseek | $0.2100 | $0.7800 |
| GLM 4.5 Air Z Ai | $0.1300 | $0.8500 |
Frequently Asked Questions
How much does Mercury Coder cost per token?
Mercury Coder is priced at $0.2500 per 1M input tokens and $0.7500 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for Mercury Coder?
Mercury Coder has a context window of 128K tokens (128,000 tokens). The maximum output length is 32K tokens.
Does Mercury Coder support function calling (tool use)?
Yes, Mercury Coder supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does Mercury Coder compare to similar models?
Mercury Coder costs $0.2500 input and $0.7500 output per 1M tokens. GLM 4.5 Air is less expensive at $0.1300 input and $0.8500 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the GLM 4.5 Air page at /tools/cost-calculator/z-ai/glm-4-5-air.