LiteLLMLiteLLM/ MODELS

Qwen2.5 7B Instruct API Pricing

By Alibaba · 3 providersdeepinfra/Qwen/Qwen2.5-7B-InstructCompare
Input / output
$0.04 / $0.10 per 1M tokens
Context
32K tokens
Max output
32K tokens

As of November 24, 2026, Qwen2.5 7B Instruct costs $0.04 per 1M input tokens and $0.10 per 1M output tokens from DeepInfra, the lowest of 3 providers. It has a 32,768-token context window and returns up to 32,768 tokens per response.

Prices updated Checked

Qwen2.5 7B Instruct 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.

Qwen2.5 7B Instruct prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputContext
DeepInfradeepinfra/Qwen/Qwen2.5-7B-Instruct$0.04$0.1032K
Fireworks AIfireworks_ai/accounts/fireworks/models/qwen2p5-7b-instruct$0.20$0.2032K
Novita AInovita/qwen/qwen2.5-7b-instruct$0.07$0.0732K

What Qwen2.5 7B Instruct costs in practice

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

DeepInfra$0.13
Novita AI$0.175
Fireworks AI$0.50

Qwen2.5 7B Instruct cost calculator

At DeepInfra's price ($0.04 input, $0.10 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $0.90 a day, about $27.00 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.00009
Per day
$0.90
Per month (30 days)
$27.00

Qwen2.5 7B Instruct features

Input: text. Output: text.

Use Qwen2.5 7B Instruct with LiteLLM

Call Qwen2.5 7B Instruct 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="deepinfra/Qwen/Qwen2.5-7B-Instruct",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: qwen2.5-7b-instruct
    litellm_params:
      model: deepinfra/Qwen/Qwen2.5-7B-Instruct
      api_key: os.environ/DEEPINFRA_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "qwen2.5-7b-instruct",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Qwen2.5 7B Instruct FAQ

How much does Qwen2.5 7B Instruct cost?

Qwen2.5 7B Instruct costs $0.04 per 1M input tokens and $0.10 per 1M output tokens from DeepInfra, the lowest of 3 providers.

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

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

Which providers offer Qwen2.5 7B Instruct?

Qwen2.5 7B Instruct is available from 3 providers through LiteLLM: DeepInfra, Fireworks AI and Novita AI. The lowest price is on DeepInfra.

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

Use the LiteLLM Python SDK with model="deepinfra/Qwen/Qwen2.5-7B-Instruct", 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 7B Instruct support?

Qwen2.5 7B Instruct supports function calling, parallel tool calls and structured output.

When did LiteLLM add Qwen2.5 7B Instruct?

Qwen2.5 7B Instruct was added to LiteLLM's model price file in July 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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.

LiteLLM docs: DeepInfra, Fireworks AI.

Provider pages: DeepInfra, Fireworks AI, Novita AI.