← Back to all tools
StarCoder 2 logo

StarCoder 2

✓ Verified

State-of-the-art open-access code LLM by BigCode

Updated Feb 26, 2026
Open Source ModelOpen SourceLinuxWindowsmacOS
Last reviewed: Feb 26, 2026Details verified against vendor changelogs and hands-on usage where possible.

About

StarCoder 2 is an open-access code LLM family (3B/7B/15B) from BigCode (Hugging Face & ServiceNow), trained on The Stack v2. Weights are released under OpenRAIL-M for local or hosted inference.

Key Features

  • Open-access weights (OpenRAIL-M)
  • 3 sizes: 3B, 7B, 15B parameters
  • Trained on The Stack v2
  • Supports 600+ programming languages
  • Fill-in-the-Middle (FIM) capability
  • Grouped Query Attention (GQA)
  • 16K context window

Pros & Cons

Pros

  • Open-source with no license cost
  • Free tier available
  • Open-source and self-hostable

Cons

  • No agentic/autonomous mode
  • Vendor-specific limitations may apply

Use Cases

  • Self-hosting a code assistant
  • Fine-tuning on private codebases
  • Researching code LLMs
  • Offline code completion
  • Building custom developer tools

Technical Details

Languages

600+ languages

AI Models

StarCoder2-3BStarCoder2-7BStarCoder2-15B

Integrations

Hugging FaceVS Code extensionsLocal inference

Get AI Coding Tools Updates

New tools, comparisons, and insights. Join developers staying current with AI coding.

Frequently Asked Questions

What is StarCoder 2?

StarCoder 2 is an open-access code LLM family (3B/7B/15B) from BigCode (Hugging Face & ServiceNow), trained on The Stack v2. Weights are released under OpenRAIL-M for local or hosted inference.

Is StarCoder 2 free?

Yes, StarCoder 2 is open source and free to use. 3B, 7B, 15B models, OpenRAIL-M license, Weights available on Hugging Face

What programming languages does StarCoder 2 support?

StarCoder 2 supports 1+ programming languages including 600+ languages.

What AI models does StarCoder 2 use?

StarCoder 2 is powered by StarCoder2-3B, StarCoder2-7B, StarCoder2-15B.

What platforms does StarCoder 2 support?

StarCoder 2 is available on Linux, Windows, macOS.

What can StarCoder 2 do?

StarCoder 2 provides code completion, code generation. Key features include: Open-access weights (OpenRAIL-M), 3 sizes: 3B, 7B, 15B parameters, Trained on The Stack v2.

Related Articles

Visit StarCoder 2

Pricing and features change frequently—confirm on the vendor site.

We may earn a commission if you sign up. See our disclosure.

Pricing

Open Access

Free

  • 3B, 7B, 15B models
  • OpenRAIL-M license
  • Weights available on Hugging Face

Company

Name
BigCode (Hugging Face & ServiceNow)
Founded
2022
Location
Global
Users
Thousands of downloads

Links

StarCoder 2

Open Source

Visit StarCoder 2