LiteLLMModels

Qwen2.5 Coder 7B API Pricing

As of October 10, 2026, Qwen2.5 Coder 7B costs $0.01 per 1M input tokens and $0.03 per 1M output tokens from Nebius AI Studio, the lowest of 3 providers. It has a 32,768-token context window and returns up to 32,768 tokens per response.

By AlibabaModel ID nebius/Qwen/Qwen2.5-Coder-7BPrices updated Checked
Input
$0.01 / 1M tokens
Output
$0.03 / 1M tokens
Context window
32,768 tokens
Max output
32,768 tokens
Providers
3
Added to LiteLLM
August 2025

Qwen2.5 Coder 7B pricing by provider

3 listings across 3 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
Nebius AI Studionebius/Qwen/Qwen2.5-Coder-7B$0.01$0.0332K
Fireworks AIfireworks_ai/accounts/fireworks/models/qwen2p5-coder-7b$0.20$0.2032K
LlamaGatellamagate/qwen2.5-coder-7b$0.06$0.1232K

What Qwen2.5 Coder 7B costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Nebius AI Studio$0.035
LlamaGate$0.18
Fireworks AI$0.50

Qwen2.5 Coder 7B features

Use Qwen2.5 Coder 7B with LiteLLM

Call Qwen2.5 Coder 7B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="nebius/Qwen/Qwen2.5-Coder-7B",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: qwen2.5-coder-7b
    litellm_params:
      model: nebius/Qwen/Qwen2.5-Coder-7B
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "qwen2.5-coder-7b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Qwen2.5 Coder 7B FAQ

How much does Qwen2.5 Coder 7B cost?

Qwen2.5 Coder 7B costs $0.01 per 1M input tokens and $0.03 per 1M output tokens from Nebius AI Studio, the lowest of 3 providers.

What is the context window of Qwen2.5 Coder 7B?

Qwen2.5 Coder 7B has a 32,768-token context window and returns up to 32,768 tokens per response.

Which providers offer Qwen2.5 Coder 7B?

Qwen2.5 Coder 7B is available from 3 providers through LiteLLM: Nebius AI Studio, Fireworks AI and LlamaGate. The lowest price is on Nebius AI Studio.

How do I call Qwen2.5 Coder 7B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="nebius/Qwen/Qwen2.5-Coder-7B", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Qwen2.5 Coder 7B support?

Qwen2.5 Coder 7B supports function calling and structured output.

When did LiteLLM add Qwen2.5 Coder 7B?

Qwen2.5 Coder 7B was added to LiteLLM's model price file in August 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: Nebius AI Studio, Fireworks AI, LlamaGate.

Provider pages: Nebius AI Studio, Fireworks AI, LlamaGate.