qwen3.6-flash

Text

Qwen 3.6 lightweight tier with text, image, and video input. Low latency and low cost, well-suited for high-volume classification, extraction, summarization, and simple agent workflows.

Giá đầu vào

$0.1238Giảm 30%

Thị trường: $0.1769

/ M

Giá đầu ra

$0.7433Giảm 30%

Thị trường: $1.0619

/ M

Đọc cache

$0.0123Giảm 30%

Thị trường: $0.0176

/ M

Ghi cache

$0.1548Giảm 30%

Thị trường: $0.2211

/ M

Đầu vào

Văn bản

Đầu ra

Văn bản

Giá động

Giá thay đổi theo bậc sử dụng và điều kiện yêu cầu

Bảng giá theo bậc

  • baseLength ≤ 256K
    Đầu vào$0.1238
    Đầu ra$0.7433
    Đọc cache$0.0123
    Ghi cache$0.1548
  • tier_2
    Đầu vào$0.4129
    Đầu ra$2.9734
    Đọc cache$0.0495
    Ghi cache$0.6194
BậcĐầu vàoĐầu raĐọc cacheGhi cache
baseLength ≤ 256K
$0.1238$0.7433$0.0123$0.1548
tier_2
$0.4129$2.9734$0.0495$0.6194

API

Bắt đầu nhanh

Mã sẵn sàng để gọi mô hình này qua API tương thích OpenAI của EasyAPI.

1

Lấy API key

Tạo API token trong console và đặt làm biến môi trường:

Thay sk-xxxxxxxx bằng mã API từ console (Bearer Token).

Tạo API token
shell
export EASYAPI_API_KEY=sk-xxxxxxxx
2

Gửi yêu cầu đầu tiên

Dùng qwen/qwen3.6-flash với API EasyAPI:

cURL
curl https://token.easyapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $EASYAPI_API_KEY" \
  -d '{"model":"qwen/qwen3.6-flash","messages":[{"role":"user","content":"Hello!"}]}'
3

Bật streaming

Thêm "stream": true vào body để nhận phản hồi qua SSE:

curl
curl -N https://token.easyapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $EASYAPI_API_KEY" \
  -d '{"model":"qwen/qwen3.6-flash","messages":[{"role":"user","content":"Hello!"}],"stream":true}'

Endpoint

Gửi yêu cầu chat completion. Hỗ trợ streaming và non-streaming.

POSThttps://token.easyapi.com/v1/chat/completions
Authorization
Bearer $EASYAPI_API_KEY
Content-Type
application/json
Model
qwen/qwen3.6-flash

发送对话补全请求,支持流式与非流式。 Tài liệu

GEThttps://token.easyapi.com/v1/models
Authorization
Bearer $EASYAPI_API_KEY

获取当前账户可用模型列表。 Tài liệu

Tham số

TênKiểuMặc địnhMô tả
modelstring模型 ID,如 openai/gpt-4o、anthropic/claude-3-5-sonnet
messagesarray对话消息列表,每项含 role 与 content
streambooleanfalse设为 true 时以 SSE 流式返回
temperaturefloat1采样温度,越高越随机
max_tokensinteger单次回复最大生成 Token 数
top_pfloat1核采样,限制候选词累积概率
frequency_penaltyfloat0频率惩罚,降低重复用词
presence_penaltyfloat0存在惩罚,鼓励新话题

Dùng SDK bên thứ ba

SDK chính thức OpenAI và khác hoạt động khi đổi base URL. Xem hướng dẫn tích hợp