Mellum 2 12B A2.5B Instruct
Description
JetBrains open-source Mixture-of-Experts (MoE) model with 12B total parameters (2.5B active per token). Specialized in software engineering tasks like code generation, editing, debugging, tool use, and instruction following, it offers a 131K context window and efficient low-latency inference.
At a Glance
Key pricing and model details available for this model.
Input price
$0.05
per 1M tokens
Output price
$0.10
per 1M tokens
Context window
131K
tokens
Hallucination rate
0%
Token Pricing
Token pricing normalized to per-million-token rates.
Input / 1M tokens
$0.05
Output / 1M tokens
$0.10
Cache Read / 1M tokens
$0.03
Token Pricing Details
Rates are shown per 1M tokens for easier comparison.
| Input / 1M tokens | $0.05 |
| Input unit | 1M tokens |
| Output / 1M tokens | $0.10 |
| Output unit | 1M tokens |
| Cache Read / 1M tokens | $0.03 |
| Cache Read unit | 1M tokens |
Feature Availability
Capabilities explicitly listed in the current payload.
LLM
Available
Vision
Not listed
Function calling
Available
Reasoning
Available
Supported Parameters
Code Samples
Quick start with the Routeway API
import OpenAI from 'openai';
const openai = new OpenAI({
baseURL: "https://api.routeway.ai/v1",
apiKey: "<YOUR_API_KEY>",
});
async function main() {
const completion = await openai.chat.completions.create({
model: "mellum2-12b-a2-5b-instruct",
messages: [
{
role: "user",
content: "Explain quantum computing in simple terms"
}
]
});
console.log(completion.choices[0].message);
}
main();