# 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.

- Page: https://models.litellm.ai/models/qwen2.5-coder-7b
- Lab: Alibaba
- LiteLLM model name: `nebius/Qwen/Qwen2.5-Coder-7B`
- Context window: 32,768 tokens
- Max output: 32,768 tokens
- Added to LiteLLM: August 2025
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Nebius AI Studio | `nebius/Qwen/Qwen2.5-Coder-7B` | $0.01 | $0.03 | – | – | – | 32K |
| Fireworks AI | `fireworks_ai/accounts/fireworks/models/qwen2p5-coder-7b` | $0.20 | $0.20 | – | – | – | 32K |
| LlamaGate | `llamagate/qwen2.5-coder-7b` | $0.06 | $0.12 | – | – | – | 32K |

## Cost examples

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

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

## Features

Supported: Function calling, Structured output.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="nebius/Qwen/Qwen2.5-Coder-7B",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## 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.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
