Qwen 3.8 Flash API — 即時定價、參數規格與 SDK 接入指南

Technical Summary & Live Pricing

透過 API Store Hub 呼叫 Qwen 3.8 Flash API(qwen3.8-flash),低至 400 ST/1M tokens · 1M context,支援 /v1/chat/completions(OpenAI Chat Completions & Responses API)。透明 ST 預付計費,提供 cURL、Python、TypeScript 完整範例。

Model Name
Qwen 3.8 Flash
Primary Model ID
qwen3.8-flash
Model Family
Alibaba Qwen
Starting Price
400 ST/1M tokens (1 VND = 1 ST)
Context Window
1M tokens
Max Output
65K tokens
Protocol & Endpoint
/v1/chat/completions — OpenAI Chat Completions & Responses API
Compatible Apps & SDKs
Cursor, Codex CLI, Cline, Roo Code, Continue, Open WebUI, Dify, n8n, OpenAI SDK

Active Lanes & Variants

Qwen 3.8 Flash
Model IDLaneBilling UnitPrice (ST / VND)Min/RequestContext WindowMax OutputFeatures
free/qwen3.8-flashStandard Token1M tokens0 ST/1M tok-1M65KReasoning, Vision, Tool use, Streaming, OpenAI API, Theo token, Coding, 1M context
qwen3.8-flashStandard Token1M tokens400 ST/1M tok50 ST1M65KReasoning, Vision, Tool use, Streaming, OpenAI API, Theo token, Coding, 1M context
req/qwen3.8-flashFixed Request (req/)Per request100 ST/req-1M65KReasoning, Vision, Tool use, Streaming, OpenAI API, Coding, 1M context
unc/qwen3.8-flashUncensored (unc/)Per request150 ST/req-1M65KReasoning, Vision, Tool use, Streaming, OpenAI API, Coding, 1M context

Practical Cost Estimator (ST / VND)

Token VolumeEstimated Cost (ST)VND Equivalent
10,000 tokens (10K)4 ST4 VNĐ
100,000 tokens (100K)40 ST40 VNĐ
1,000,000 tokens (1M)400 ST400 VNĐ
10,000,000 tokens (10M)4,000 ST4,000 VNĐ
VolumeEstimated Cost (ST)VND Equivalent
10 requests1,000 ST1,000 VNĐ
100 requests10,000 ST10,000 VNĐ
1,000 requests100,000 ST100,000 VNĐ
10,000 requests1,000,000 ST1,000,000 VNĐ

Integration Snippets: cURL, Python, TypeScript & Anthropic / Claude Code

cURL

curl https://apistorehub.com/v1/chat/completions \
  -H "Authorization: Bearer sk-ash-your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3.8-flash","messages":[{"role":"user","content":"Hello"}]}'

Python SDK

import os
from openai import OpenAI

client = OpenAI(base_url="https://apistorehub.com/v1", api_key=os.environ["API_KEY"])
resp = client.chat.completions.create(
    model="qwen3.8-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

TypeScript SDK

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://apistorehub.com/v1", apiKey: process.env.API_KEY });
const res = await client.chat.completions.create({
  model: "qwen3.8-flash",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(res.choices[0].message.content);

Anthropic / Claude Code & CLI

export OPENAI_BASE_URL="https://apistorehub.com/v1"
export OPENAI_API_KEY="sk-ash-your_key"
export ANTHROPIC_BASE_URL="https://apistorehub.com"
export ANTHROPIC_AUTH_TOKEN="sk-ash-your_key"
export MODEL_ID="qwen3.8-flash"

Model FAQ

How much does Qwen 3.8 Flash API cost on API Store Hub?
Qwen 3.8 Flash is live across 4 lane variant(s) starting from 400 ST/1M tokens (1 VND = 1 ST), settled accurately to actual usage.
What context window and protocol does Qwen 3.8 Flash support?
Qwen 3.8 Flash (Alibaba Qwen) provides 1M context over /v1/chat/completions (OpenAI Chat Completions & Responses API) and works with Cursor, Codex CLI, Cline, Roo Code, Continue, Open WebUI, Dify, n8n, OpenAI SDK.
How do I integrate Qwen 3.8 Flash with Python, TypeScript, or Claude Code?
Set base_url to https://apistorehub.com/v1 (OpenAI SDK) or https://apistorehub.com (Anthropic SDK / Claude Code), pass model="qwen3.8-flash", and authenticate with a sk-ash- key.
Does Qwen 3.8 Flash share one ST credit balance with other AI models?
Yes. Every model on API Store Hub shares one prepaid ST credit balance and a single API key.