Run Qwen2.5 Coder 32B Instruct as a private API
The largest Qwen2.5 Coder model, for code generation, repair and reasoning when quality matters more than cost.
- Made by
- Qwen (Alibaba)
- Parameters
- 32.8B
- Licence
- Apache 2.0
- Context
- 32,768 tokens
- Tool calling
- Yes
- Cheapest GPU
- NVIDIA L40S, $3.20/h
Deploy Qwen2.5 Coder 32B Instruct in one command
Install the bitsrun command line, sign in, then:
bitsrun deploy qwen2.5-coder:32b --keyBitsRun picks the NVIDIA L40S, starts the model on the first request and puts it back to sleep after 2 minutes without requests. Prefer clicks? Paste the same name into New endpoint in the dashboard and select Check model.
Then call it like any OpenAI-compatible API, with the URL and key the command prints:
curl https://<endpoint-id>.endpoint.bitsrun.com/v1/chat/completions \
-H "Authorization: Bearer $BITSRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen2.5-coder:32b", "messages": [{"role": "user", "content": "Hello"}]}'How much VRAM Qwen2.5 Coder 32B Instruct needs
Memory needed is what the runtime must have free to start: the weights, the working memory for the conversation and the runtime itself. We use the same rules as the model sizer in the dashboard.
| Version | Weights | Memory needed | Cheapest GPU | Context there | Speed (est.) |
|---|---|---|---|---|---|
Ollama qwen2.5-coder:32b (Q4)qwen2.5-coder:32b | 20 GB | 25 GB | NVIDIA L40S, $3.20/h | 32,768 tokens | about 26 tok/s |
Original BF16 (safetensors on vLLM)hf:Qwen/Qwen2.5-Coder-32B-Instruct | about 66 GB | 79 GB | 4x NVIDIA L4, $8.52/h | 32,768 tokens | about 7 tok/s |
File sizes read from the Ollama library and Hugging Face on 2026-11-14; "about" means estimated from the parameter count. Context is for one request at a time. Speed is a single-request estimate from GPU memory bandwidth; serving several requests at once raises total throughput. Try other sizes in the VRAM calculator.
Measured on BitsRun
We have not benchmarked Qwen2.5 Coder 32B Instruct on our GPUs yet, so the speeds above are estimates. We publish measured numbers here once we have them.
What it costs to run Qwen2.5 Coder 32B Instruct
You pay $3.20 an hour for the NVIDIA L40S, counted per second, only while the endpoint is awake: answering requests and during the idle time you choose (60 seconds to 1 hour). Starting up is free.
| Busy each day | Per month (30 days) |
|---|---|
| 1 hour | $96.01 |
| 3 hours | $288.04 |
| 8 hours | $768.10 |
| 24 hours (all day) | $2,304.29 |
Busy all day? Always-on keeps the GPU ready with no cold starts for $3,974 a month. See pricing.
Good to know
- The first request after the endpoint sleeps waits while the model wakes: seconds to about 40 seconds on a GPU that ran recently, about 2 to 4 minutes on a new one. How cold starts work.
- Try it locally first with
ollama run qwen2.5-coder:32b. When you need it as an API, deploy the same name. - Licence: Apache 2.0. Read it on the model card before you ship a product.
Frequently asked questions
- How much GPU memory does Qwen2.5 Coder 32B Instruct need?
- Ollama qwen2.5-coder:32b (Q4) has 20 GB of weights and needs about 25 GB of GPU memory to start, so it fits an NVIDIA L40S (48 GB).
- How much does it cost to run Qwen2.5 Coder 32B Instruct as an API?
- On BitsRun it runs on an NVIDIA L40S at $3.20 an hour, billed per second only while it is awake. At 3 busy hours a day that is about $288.04 a month. Waking up is never billed.
- Can Qwen2.5 Coder 32B Instruct call tools?
- Yes. The Ollama version's chat template supports tool calling, so agents and function calls work.
- Is my data private when I run Qwen2.5 Coder 32B Instruct on BitsRun?
- Yes. Each endpoint is yours alone, and prompts and outputs are never logged or stored.
Run Qwen2.5 Coder 32B Instruct on your own endpoint
Sign up with your email, add $10 of credit and deploy from an Ollama name or a Hugging Face repo. An L4 costs $0.95 an hour, billed per second only while your model is awake. Waking up is never billed, and credit you buy does not expire.
Similar models
- Qwen2.5 Coder 7B InstructCode completion and review, Editor assistants such as Continue, Low-cost coding endpointsNVIDIA L4, $0.95/h
- Qwen3 8BChatbots and support assistants, Agents that call tools, A cheap default on one L4NVIDIA L4, $0.95/h
- Qwen3 14BBetter answers on one L4, Coding and reasoning, AgentsNVIDIA L4, $0.95/h
- Qwen3 32BHard reasoning and long answers, Coding assistants, Quality-first productsNVIDIA L40S, $3.20/h