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. Free accounts get a 30,000-token daily pool that covers self-hosted chat; premium models are pay-as-you-go, with token top-ups from $1.
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, token top-ups start at $1, pay-as-you-go - no subscription required.
Chat with StarCoder 2 15B
What is StarCoder 2 15B?
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.
Best for: Fill-in-the-middle code completion, repository-level coding.
Why use StarCoder 2 15B for chat?
Streaming responses
Replies stream token-by-token within ~1 second of pressing Send. No idle waiting.
Saved history
Signed-in users see every chat in /account/?tab=history with one-click share links.
Compare side by side
Send the same prompt to up to 4 models at /chat/compare/ and judge the outputs side by side.
Commercial use OK
Outputs are yours. Use them in apps, ads, docs, or anything else without attribution.
Sample prompts
Pricing
Self-hosted on our GPUs. Generation draws from your daily free pool first; once that runs out, paid tokens start at $1. Roughly ~100 tokens per message.
Compare to alternatives
See all chat models → · Compare up to 4 chat models side-by-side →