qwq-32b — harga, konteks dan performa

qwq-32b adalah model 阿里巴巴 dengan konteks 131.1K dan dukungan Reasoning, Tools, Open Weights. Input $0.29, output $0.86 per 1 juta token.

Ringkasan

Vendor阿里巴巴
Konteks131.1K
KemampuanReasoning, Tools, Open Weights
Format APIopenai, openai-response, openai-response-compact, anthropic, gemini, openai-alpha-search
Rumus penagihanp * 0.287 + c * 0.861
Qwen reasoning model for deliberate problem solving, math, and coding

Harga

PaketPengaliInputOutputCatatan
Harga dasar1×$0.29$0.86
Pro2×$0.57$1.72Enterprise — full reasoning, high stability.
Max4×$1.15$3.44Premium — max reasoning & stability.

Hanya grup yang diaktifkan untuk model ini yang dicantumkan.

Performa

Endpoint APIhttps://api.airai.cc/v1
Kompatibel OpenAIOpenAI-compatible

FAQ

Berapa harga qwq-32b?
Input $0.29, output $0.86 per 1 juta token.
Berapa jendela konteks qwq-32b?
qwq-32b memiliki jendela konteks 131.1K: batas gabungan token input dan output dalam satu permintaan.
Bagaimana memanggil qwq-32b dari kode?
Arahkan base_url ke https://api.airai.cc/v1 dan set model ke qwq-32b. API sepenuhnya kompatibel dengan OpenAI.
Mengapa qwq-32b mengembalikan error 429?
429 adalah respons pembatasan laju. Kurangi konkurensi, coba lagi dengan jeda, atau beralih ke paket dengan kuota lebih besar.

Perbandingan model

ModelVendorInputOutputKonteks
qwq-32b阿里巴巴$0.29$0.86131.1K
Qwen/Qwen3-Reranker-0.6B阿里巴巴$0.01$0.01tidak dicantumkan
qwen3-30b-a3b-thinking-2507阿里巴巴$0.20$2.40tidak dicantumkan
qwen-image-2.0-2026-03-03阿里巴巴Per permintaan $0.03—tidak dicantumkan
qwen3.8-max-0902阿里巴巴$2.00$6.00tidak dicantumkan
qwen-plus-latest阿里巴巴$0.40$1.20tidak dicantumkan
qwen3-vl-30b-a3b-thinking阿里巴巴$0.20$2.40tidak dicantumkan
qwen3-tts-flash-2025-11-27阿里巴巴Harga belum dipublikasikan—tidak dicantumkan
qwen3-vl-8b-instruct阿里巴巴$0.18$0.70tidak dicantumkan
qwen3-vl-32b-thinking阿里巴巴$0.16$0.64tidak dicantumkan
qwen3.8-omni-flash阿里巴巴$0.15$0.47tidak dicantumkan
qwen3-vl-32b-instruct阿里巴巴$0.16$0.64tidak dicantumkan
qwen3-30b-a3b-instruct-2507阿里巴巴$0.10$0.30tidak dicantumkan

Pemecahan masalah

429 adalah respons pembatasan laju. Kurangi konkurensi, coba lagi dengan jeda, atau beralih ke paket dengan kuota lebih besar.

Penyebab umum

  • Terlalu banyak permintaan bersamaan
  • Kuota paket saat ini habis
  • Mencoba ulang tanpa jeda

Cara mengatasi

  • Batasi konkurensi dan coba ulang dengan jeda eksponensial
  • Beralih ke paket dengan kuota lebih besar
  • Simpan cache permintaan yang berulang

Cara menghubungkan

curl https://api.airai.cc/v1/chat/completions \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwq-32b",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="<YOUR_API_KEY>",
    base_url="https://api.airai.cc/v1"
)

response = client.chat.completions.create(
    model="qwq-32b",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "<YOUR_API_KEY>",
  baseURL: "https://api.airai.cc/v1"
});

const response = await client.chat.completions.create({
  model: "qwq-32b",
  messages: [{ role: "user", content: "Hello" }]
});
console.log(response.choices[0].message.content);
const OpenAI = require("openai");

const client = new OpenAI({
  apiKey: "<YOUR_API_KEY>",
  baseURL: "https://api.airai.cc/v1"
});

client.chat.completions.create({
  model: "qwq-32b",
  messages: [{ role: "user", content: "Hello" }]
}).then((r) => console.log(r.choices[0].message.content));

Ganti <YOUR_API_KEY> dengan API Key dari pengaturan token Anda.

Endpoint kompatibel

openaiopenai-responseopenai-response-compactanthropicgeminiopenai-alpha-search

Gemini SDK · TypeScript

import { GoogleGenerativeAI } from "@google/generative-ai";

const genAI = new GoogleGenerativeAI("<YOUR_API_KEY>");
const model = genAI.getGenerativeModel({ model: "qwq-32b" });

const result = await model.generateContent(
  "Explain quantum entanglement in one paragraph."
);
console.log(result.response.text());

Autentikasi

Semua permintaan harus menyertakan header Authorization: Bearer <TOKEN>. Endpoint format Anthropic juga menerima header x-api-key. Buat API Key Anda di halaman Token, tempat Anda dapat membatasinya berdasarkan model, grup, IP, dan laju.

Parameter yang didukung

ParameterTipeBawaanRentangDeskripsi
temperaturefloat10–2Suhu sampling; lebih rendah lebih stabil
top_pfloat10–1Probabilitas kumulatif nucleus sampling
max_tokensinteger——Token maksimum dalam respons
frequency_penaltyfloat0−2–2Hukuman pengulangan token frekuensi tinggi
presence_penaltyfloat0−2–2Mendorong topik baru
stopstring[]null≤ 4Hingga 4 string penghentian
seedintegernull—Seed untuk sampling lebih dapat direproduksi
ninteger1—Jumlah kandidat yang dihasilkan
streambooleanfalse—Streaming token via SSE
response_formatobject——Memaksa output JSON atau hasil sesuai skema
toolsarray——Deklarasi alat / fungsi yang dapat dipanggil model
tool_choicestring | objectauto—Strategi pemilihan alat atau nama alat tertentu
logprobsbooleanfalse—Mengembalikan log-probabilitas tiap token
top_logprobsintegernull0–20Jumlah probabilitas teratas per token
logit_biasmap——Pemetaan logit bias per token
userstring——Identitas pengguna akhir untuk audit risiko

Batas laju

TingkatRPMTPMRPD
Eco990398K20K
Test980393K20K

Data diperbarui: 2026-10-10 18:35

Dukungan teknisDukungan langsung
Kembali ke atas