Model Details
About
StarCoder 2 15B (15B) is a coding model built by BigCode. It accepts up to 32K tokens of context per request. Strongest at Fill-in-the-middle code completion, repository-level coding.. Self-hosted on Free.ai GPUs — runs free against your daily token pool (100 tokens per message). Released under BigCode OpenRAIL-M — commercial use permitted on Free.ai.
Use via API
curl https://api.free.ai/v1/chat/ \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"model":"starcoder2-15b"}'
Compare
FAQ
StarCoder 2 15B (15B) is a coding model built by BigCode. It accepts up to 32K tokens of context per request. Strongest at Fill-in-the-middle code completion, repository-level coding.. Self-hosted on Free.ai GPUs — runs free against your daily token pool (100 tokens per message).
StarCoder 2 15B works well for Fill-in-the-middle code completion, repository-level coding.. Try the sample prompts above to see its style.
About 100 tokens per average message. $1 buys 750,000 tokens, so even paid models cost cents per chat. Free accounts get a 30,000-token daily pool.
It depends on the task. /chat/compare/ lets you send the same prompt to StarCoder 2 15B and any other model side-by-side — comparison is the fastest way to decide.
Yes. Outputs are yours — Free.ai does not claim rights to anything you generate. The underlying model is BigCode OpenRAIL-M-licensed.
32,768 tokens.
Replies stream token-by-token within ~1 second. Total response time depends on length and model size — small models stream faster, frontier models trade speed for depth.
Yes. Signed-in users see every chat in /account/?tab=history. You can also share a one-link copy of any conversation via the Share button.
Free.ai does not train models on your conversations. Self-hosted models stay on our GPUs. Premium models route to the upstream provider for inference.
Yes. POST to /v1/chat/ with model="starcoder2-15b" and a messages array. Streaming SSE is supported. Full reference: /api/.
StarCoder 2 15B is BigCode OpenRAIL-M-licensed with 15B parameters. See /models/starcoder2-15b/ for setup notes and our open-source repos at github.com/freeaigit.
Free accounts get a 30,000-token daily pool. When that runs out, top up starting at $1 (750K tokens) — no subscription required.