Alibaba Cloud logo
Alibaba Cloud
Free Open Source

Qwen3-Coder

Alibaba Cloud Qwen code-specialized large language model, free and open-source AI coding assistant

Category Text Billing Free Tier Model ID qwen3-coder
Model TypeCode-Specialized LLM
Parameters480B (35B Active)
Context Length256K (Native) / 1M (Extended)

ๅฎšไปทไธŽ่ง„ๆ ผ

๐Ÿ’ฐ ๅฎšไปท

FreeUnlimited usage at $0
่พ“ๅ…ฅ$0 / M tokens
่พ“ๅ‡บ$0 / M tokens

โš™๏ธ ่ง„ๆ ผ

Model TypeCode-Specialized LLM
Parameters480B (35B Active)
Context Length256K (Native) / 1M (Extended)
Key FeaturesAgentic Coding, Tool-Use, Browser Control
Cost AdvantageCompletely Free & Open Source

API ่ฐƒ็”จ็คบไพ‹

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://api.xairouter.com/v1",
    api_key="your-api-key"
)

response = client.chat.completions.create(
    model="qwen3-coder",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://api.xairouter.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "qwen3-coder",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'