BigCode · StarCoder2

StarCoder2 15B

StarCoder2 15B is a 15B code-generation model available through supported Badgr execution routes.

Last validated or meaningfully updated: 2026-07-27

CodingFine-tunable

Availability

Badgr AI API

Available through Badgr

Not yet Dedicated endpoint

Not currently validated

Not yet Custom GPU deployment

Not currently validated

Deployment profile

Architecture
Starcoder2ForCausalLM
Licence
BigCode OpenRAIL-M
Minimum VRAM
~34GB
Context
16K tokens

Recommended: L40S 48GB. VRAM is an estimate and increases with context, cache, concurrency, and runtime overhead.

Model identity

Updated
2 years ago
HuggingFace revision
46d4474290

Popularity and trust

Downloads (last month)

4.4K

Likes

674

Spaces using this model

95

Files and formats

Weight formats

Safetensors

Repository files

24

Tokenizer

BPE

Chat template

Available

GPU deployment scenarios

Estimated from parameter count and quantisation. Will switch to “Verified by Badgr” once a real run backs a tier.

Testing

L40S 48GB

Short context, low concurrency

Small production

A100 80GB

8K context, 1-4 concurrent requests

Higher throughput

H100 80GB

32K context, continuous batching

Large production

L40S 48GB

Higher concurrency

Estimated — multimodal inputs, long context, and concurrency all increase real VRAM use beyond this estimate.

Also runs well on A100 80GB, H100 80GB. Available in United States, Europe, Asia Pacific.

Serving compatibility

RuntimeStatusNotes
vLLMEstimatedUsed for Badgr dedicated endpoints
TransformersDeclared by sourceBasic fallback
llama.cppRequires GGUF conversionNo GGUF weights found in repo
SGLangUnknownNot evaluated
TensorRT-LLMUnknownConversion may be required
TGIUnknownNot evaluated

Call this model through Badgr

curl https://api.aibadgr.com/v1/chat/completions \
  -H "Authorization: Bearer $BADGR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"bigcode/starcoder2-15b","messages":[{"role":"user","content":"Hello"}]}'

Estimated pricing

Provider estimate: cold start

3–6 min

Provider estimate: endpoint cost

$0.86 – $0.99/hr

Idle cost

$0 when stopped

Per-token throughput cost is not shown here: Badgr has not benchmarked this model yet, and this page does not display figures it cannot back with real data.

Recommended Badgr routes

L40S 48GB · United States

Available

from $0.86/hr

Best for

ComfyUI, vLLM Endpoint, Qwen 2.5 7B Instruct

Startup: 3–6 min

Reliability: Good

Last checked: just now

L40S 48GB · Europe

Available

from $0.86/hr

Best for

ComfyUI, vLLM Endpoint, Qwen 2.5 7B Instruct

Startup: 3–6 min

Reliability: Good

Last checked: just now

L40S 48GB · Asia Pacific

Available

from $0.86/hr

Best for

ComfyUI, vLLM Endpoint, Qwen 2.5 7B Instruct

Startup: 3–6 min

Reliability: Good

Last checked: just now

L40S 48GB · United States

Available

from $0.99/hr

Best for

ComfyUI, vLLM Endpoint, Qwen 2.5 7B Instruct

Startup: 3–6 min

Reliability: Good

Last checked: just now

L40S 48GB · Europe

Available

from $0.99/hr

Best for

ComfyUI, vLLM Endpoint, Qwen 2.5 7B Instruct

Startup: 3–6 min

Reliability: Good

Last checked: just now

L40S 48GB · Asia Pacific

Available

from $0.99/hr

Best for

ComfyUI, vLLM Endpoint, Qwen 2.5 7B Instruct

Startup: 3–6 min

Reliability: Good

Last checked: just now

Known limitations

  • Memory use increases with context length and concurrency.

Related troubleshooting