Inception: Mercury Coder SmallAPI pricing
Mercury Coder Small is a language model, tuned for writing and editing code.
- 每100万枚代币的价格
- $0.25 / $1.00input / output
- 缓存的输入
- $0.13per 1M tokens
- 上下文
- 32K tokens16K max output
- 服务提供商
- 2
服务提供商
2 providers ·
32K context · 16K max output
支持的参数7
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format- 未确认
工具
- 1 more provider through partner hosts · from $0.26 in · $1.05 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/mercury-coder-small", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/mercury-coder-small",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/mercury-coder-small",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Mercury Coder Small 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/mercury-coder-small;其余代码保持不变。
About Mercury Coder Small
- 请求示例
- $0.003510,000 in + 1,000 out
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
Mercury Coder Small costs from $0.25 per 1M input tokens and $1.00 per 1M output tokens on OpenCheap, with cached input at $0.13 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0035, and 1,000 such requests about $3.50.
2 providers serve Mercury Coder Small on OpenCheap. Its context window is 32K tokens (32,768), room for roughly 25,000 words of English in one request.
Mercury Coder Small is one of 4 Inception models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Mercury Coder Small API cost per 1M tokens?
Mercury Coder Small costs from $0.25 per 1M input tokens and $1.00 per 1M output tokens on OpenCheap, with cached input at $0.13 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Mercury Coder Small request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0035, and 1,000 such requests about $3.50. Every answer reports its own cost in usage.cost.
Which providers serve Mercury Coder Small?
2 providers serve Mercury Coder Small on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of Mercury Coder Small?
Its context window is 32K tokens (32,768), room for roughly 25,000 words of English in one request.
How do I call the Mercury Coder Small API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/mercury-coder-small. One OpenCheap key works for every model; the rest of your code stays the same.
More from Inception
类似型号
- Qwen3 Coder FlashQwen · 1M 语料库$0.14 / $0.55 per 1M45 % cheaper
- GPT-5.1-Codex MiniOpenAI · 400K context$0.25 / $2.00 per 1M
- MiniMax M3MiniMax · 1M 上下文$0.24 / $1.01 per 1M
- Kimi K2.7 代码Moonshot · 26.2万上下文$0.25 / $1.08 per 1M
- Skyfall 36B V2TheDrummer · 32K context$0.58 / $0.84 per 1M
- Qwen/Qwen2.5-Coder-32B-InstructQwen · 32K context$0.20 / $0.20 per 1Mabout 4× cheaper
Compare Mercury Coder Small with any model →Cheapest LLM API
