Qwen2.5-Coder 32B Instruct
Alibaba's largest open Qwen2.5-Coder model. Trained on a code-heavy corpus, it matches or beats much larger general models on code generation and repair benchmarks like HumanEval and MBPP, and supports over 40 programming languages with fill-in-the-middle completion.
Qwen2.5-Coder 32B Instruct is code AI model from huggingface, priced at €6.00 per 1M input tokens with a 131.1K tokens context window.
About this model
Pricing
API Integration
Use our OpenAI-compatible API to integrate Qwen2.5-Coder 32B Instruct into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
// Simple — just pass a string
const reply = await rw.run("qwen2-5-coder-32b-instruct", "Hello! What can you do?");
console.log(reply);
// With message history
const reply2 = await rw.run("qwen2-5-coder-32b-instruct", [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);
// Full response with usage info
const res = await rw.chat("qwen2-5-coder-32b-instruct", [
{ role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);Frequently asked questions
Related Models
View all CodeCodestral
Mistral's code-specialized model. Optimized for code generation, completion, and understanding across 80+ languages.
Code Llama 13B Instruct
Meta's 13B Code Llama tuned for instruction following. A faster mid-size option for code generation and completion, supporting infilling for inserting code at a cursor position. Served on Replicate per call.
Code Llama 34B Instruct
Meta's 34B Code Llama tuned for instruction following. A balance of size and quality for code generation, completion, and explanation, with strong coverage of Python, JavaScript, and other common languages. Runs on Replicate per call.
Code Llama 70B Instruct
Meta's largest Code Llama, a 70B Llama-2 derivative specialized for programming and tuned to follow instructions in chat form. Handles code generation, completion, and explanation across common languages. Served on Replicate as a per-call endpoint.
Start using Qwen2.5-Coder 32B Instruct today
Get started with free credits. No credit card required. Access Qwen2.5-Coder 32B Instruct and 100+ other models through a single API.