StarCoder2 7B on NVIDIA NIM

StarCoder 2 · ServiceNow Research

ProvisionedOpen Source

Last refreshed 2026-05-19. Next refresh: weekly.

Why use StarCoder2 7B on NVIDIA NIM?

NVIDIA NIM offers StarCoder2 7B with competitive pricing. NVIDIA NIM is NVIDIA's deployment platform for GPU-accelerated inference microservices.

Compare StarCoder2 7B across 2 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: starcoder2-7b
Model ID
starcoder2-7b

Request example

Curated snippets for this provider are not sourced yet. Use NVIDIA NIM documentation with model ID starcoder2-7b.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare StarCoder2 7B Across Providers

ProviderInput (per 1M)Output (per 1M)
Fireworks AI$0.20$0.20
NVIDIA NIM——

Capabilities

No model capability flags are currently sourced.

About StarCoder2 7B

The StarCoder2 7B model is a large language model engineered for code generation tasks, containing 7 billion parameters. It is trained on a vast dataset of 3.5 trillion tokens known as The Stack v2, which includes diverse code samples from 17 programming languages such as Python, Java, and JavaScript. This model features Grouped Query Attention with a significant context window of 16,384 tokens and a sliding window attention of 4,096 tokens, enabling it to adeptly manage complex coding tasks. StarCoder2 7B excels in code completion, summarization, and generating code snippets from given prompts.

Get Started

Model Specs

Released2024-07-04
Parameters7B
Context8k
ArchitectureDecoder Only

Related Models on NVIDIA NIM