Qwen3 1.7B

Alibaba Qwen chatreasoningcode Free

API ID: qwen/qwen3-1.7b-04-28

Input Price
Free
/1M tokens
Output Price
Free
/1M tokens

About Qwen3 1.7B

Qwen3-1.7B is a compact, 1.7 billion parameter dense language model from the Qwen3 series, featuring dual-mode operation for both efficient dialogue (non-thinking) and advanced reasoning (thinking). Despite its small size, it supports 32,768-token contexts and delivers strong multilingual, instruction-following, and agentic capabilities, including tool use and structured output.

๐Ÿ†
Price Ranking
#6 lowest price among 1240 Chat models โ€” Top 20% cheapest!

Model Specifications

Context Length
32k
Max Output
โ€”
Release Date
2025-04-30
Capabilities
chat reasoning code
Input Modalities
text
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Code generation, debugging, code review, refactoring
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)
  • Simple Q&A (cheaper models available)
๐ŸŽ‰

This model is completely free!

No token costs - use it without worrying about API bills.

Estimate Token Usage

Alibaba Qwen Model Lineup

Compare all models from Alibaba Qwen to find the best fit

Model Input Output Context Capabilities
Qwen3 1.7B Current Free Free 32k chat reasoning code
Qwen2.5-VL 7B Instruct Free Free 33k chat vision tool_use
Qwen3 Embedding 0.6B Free Free 8k chat code
Qwen3 Embedding 0.6B Free Free 8k chat code
Qwen2.5 VL 3B Instruct Free Free 64k chat vision code
Qwen2.5 VL 3B Instruct Free Free 64k chat vision code

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Google Gemma 3n 4B
Input: Free
Output: Free
Context: 33k
ByteDance Seedream 4.5
Input: Free
Output: Free
Context: 4k
Black Forest Labs FLUX.2 Max
Input: Free
Output: Free
Context: 47k
Other Riverflow V2 Max Preview
Input: Free
Output: Free
Context: 8k

๐Ÿš€ Quick Start

Get started with Qwen3 1.7B API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="qwen/qwen3-1.7b-04-28",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)