impulse

Qwen2.1 5B Instruct

Open weights
API id Qwen2-1.5B-Instruct
Input / 1M
$0.02
at Together AI
Output / 1M
$0.02
at Together AI
Context window
33K
tokens
Max output
33K
tokens per reply
Hosts
1
1 listings
Released
-
date not published

Pricing

List prices at Together AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.02$0.02

What it costs a month

At Together AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$7.50
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$10.32
  • Coding agent1,000 requests a day, 40K in / 2K out$25.20
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$52.80
Use your own numbers

Where to run it

1 host serve Qwen2.1 5B Instruct. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Together AIInference
Qwen2-1.5B-Instruct
$0.02 / $0.02

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Open weights
License: Apache-2.0
Runtimes: Ollama, SGLang, llama.cpp, vLLM

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Together AI.

Smaller Alibaba Qwen models

No cheaper Alibaba Qwen model keeps its key capabilities.

Other frontier labs

No cheaper match from another frontier lab.

Open-weight picks

Model line

Newer and older versions, at each lab's own price.

  1. UndatedQwen2.5.1 5B InstructLatest$0.10 / $0.10
  2. UndatedQwen2.5.0 5B Instruct$0.10 / $0.10
  3. UndatedQwen2.1 5B InstructThis page$0.02 / $0.02
  4. UndatedQwen 2.1 5B Instruct$0.10 / $0.10

Call it

Using Together AI's API.

Python
from litellm import completion

response = completion(
    model="together_ai/Qwen2-1.5B-Instruct",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Qwen2.1 5B Instruct cost?

On Together AI, Qwen2.1 5B Instruct costs $0.02 per million input tokens and $0.02 per million output tokens.

Which APIs offer Qwen2.1 5B Instruct?

Qwen2.1 5B Instruct runs on 1 API: Together AI.

What is Qwen2.1 5B Instruct's context window?

33K tokens, with up to 33K tokens in one reply.

Is Qwen2.1 5B Instruct being retired?

No retirement date is scheduled for it on any API we track.

Is there a newer version of Qwen2.1 5B Instruct?

Yes. Qwen2.5.1 5B Instruct is the newest model in this line.

What are cheaper alternatives to Qwen2.1 5B Instruct?

Models that cost less and keep most of what it can do: Qwen2.5 Coder 7B on Nebius AI Studio (25% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Qwen2.1 5B Instruct's API model id?

Use Qwen2-1.5B-Instruct with Together AI.

Sources

Raw catalog entry for Qwen2-1.5B-Instruct on Together AI
{
  "input_cost_per_token": 2e-8,
  "litellm_provider": "together_ai",
  "mode": "chat",
  "output_cost_per_token": 2e-8,
  "source": "https://api.together.ai/v1/models",
  "max_input_tokens": 32768,
  "max_output_tokens": 32768
}