Inception · Efficient
Mercury Coder Small
Model by Inception AI. A diffusion large language model that runs incredibly quickly (500+ tokens/second) while matching Claude 3.5 Haiku and GPT-4o-mini. 1st in speed on Copilot arena, and matching 2nd in quality.
- Input
- Text
- Output
- Text
- Discovery tier
- Efficient
Pricing
USD per 1M tokens- Input
- $0.25
- Output
- $1.00
Reference prices as published by the model provider. API example
Specifications
- Context window
- 32.8K
- Max output
- 16.4K
Side by side
Compare models
Put Mercury Coder Small next to up to three other models. The comparison stays in the link, so you can share it.
Public evaluations
Benchmarks
There are no public benchmark results for Mercury Coder Small yet.
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mercury-coder-small",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="mercury-coder-small",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)Inception
Related models
Other Inception models, starting with the same family.