Qwen2.5 Coder 7B is Alibaba's language model with a 33K context window and up to 8K output tokens, available from 2 providers, starting at $0.06 / 1M input and $0.12 / 1M output. A 7-billion-parameter base code-specialized LLM from Alibaba's Qwen2.5-Coder series, offering efficient code generation and understanding.
Specifications
Canonical IDalibaba-qwen2-5-coder-7b
TypeLanguage
StatusActive
CreatorAlibabaAlibaba
Providers
Context Window33K tokens
Max Output8K tokens
Input ModalitiesText
Output ModalitiesText
Parameters7B

Capabilities

Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities2/13
Reasoning·
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs✓
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Fireworks AI logo
Fireworks AI
fireworks_ai/accounts/fireworks/models/qwen2p5-coder-7b
$0.2$0.2
LlamaGate
llamagate/qwen2.5-coder-7b
$0.06$0.12

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host Qwen2.5 Coder 7B, ranked by cheapest on-demand price. The model needs about 17 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)
Instance
Cloud
GPU
VRAM
Price
Cheapest region
g2-standard-4GCPnvidia-l424 GB$0.705/hr
g6.xlargeAWSL422 GB$0.805/hr
g2-standard-8GCPnvidia-l424 GB$0.851/hr
7 more instances can run Qwen2.5 Coder 7B
Unlock the full ranked list and FP8 / INT4 quantization with a CloudPrice subscription.

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Dolphin 2.9.2 Qwen2 72B—131K$0.900$0.900Available
Cogito V1 Preview Qwen 14B—131K$0.200$0.200Available
Cogito V1 Preview Qwen 32B—131K$0.900$0.900Available
QwQ 32B131K$0.150$0.200Deprecated
Qwen2.5 Coder 32B Instruct131K$0.050$0.100Deprecated
Qwen2.5 7B Instruct33K$0.040$0.070Available
Qwen2.5 72B Instruct131K$0.120$0.300Available
Qwen2.5 Coder 7B—33K$0.060$0.120Current
QwQ 32B Preview—33K$0.900$0.900Available
Qwen2.5 32B Instruct—128K$0.900$0.900Available
Qwen2 72B Instruct—33K$0.900$0.900Deprecated

Model IDs

accounts/fireworks/models/qwen2p5-coder-7b
alibaba-qwen2-5-coder-7b
fireworks_ai/accounts/fireworks/models/qwen2p5-coder-7b
llamagate/qwen2.5-coder-7b
nebius/Qwen/Qwen2.5-Coder-7B