Qwen 4 Max API — актуальные цены, параметры и интеграция
Technical Summary & Live Pricing
Подключите Qwen 4 Max API (qwen4-max) через API Store Hub от 3.100 ST/1M токенов · 1M context по протоколу /v1/chat/completions (OpenAI Chat Completions & Responses API). Прозрачная оплата ST, примеры cURL, Python и TypeScript.
- Model Name
- Qwen 4 Max
- Primary Model ID
qwen4-max- Model Family
- Alibaba Qwen
- Starting Price
- 3.100 ST/1M токенов (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
| Model ID | Lane | Billing Unit | Price (ST / VND) | Min/Request | Context Window | Max Output | Features |
|---|---|---|---|---|---|---|---|
qwen4-max | Standard Token | 1M tokens | 3.100 ST/1M tok | 50 ST | 1M | 65K | Reasoning, Vision, Tool use, Streaming, OpenAI API, Theo token, Thinking, Coding, 1M context |
req/qwen4-max | Fixed Request (req/) | Per request | 500 ST/req | - | 1M | 65K | Reasoning, Vision, Tool use, Streaming, OpenAI API, Thinking, Coding, 1M context |
Practical Cost Estimator (ST / VND)
| Token Volume | Estimated Cost (ST) | VND Equivalent |
|---|---|---|
| 10,000 tokens (10K) | 31 ST | 31 VNĐ |
| 100,000 tokens (100K) | 310 ST | 310 VNĐ |
| 1,000,000 tokens (1M) | 3.100 ST | 3.100 VNĐ |
| 10,000,000 tokens (10M) | 31.000 ST | 31.000 VNĐ |
| Volume | Estimated Cost (ST) | VND Equivalent |
|---|---|---|
| 10 requests | 5.000 ST | 5.000 VNĐ |
| 100 requests | 50.000 ST | 50.000 VNĐ |
| 1.000 requests | 500.000 ST | 500.000 VNĐ |
| 10.000 requests | 5.000.000 ST | 5.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":"qwen4-max","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="qwen4-max",
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: "qwen4-max",
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="qwen4-max"Model FAQ
- How much does Qwen 4 Max API cost on API Store Hub?
- Qwen 4 Max is live across 2 lane variant(s) starting from 3.100 ST/1M токенов (1 VND = 1 ST), settled accurately to actual usage.
- What context window and protocol does Qwen 4 Max support?
- Qwen 4 Max (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 4 Max 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="qwen4-max", and authenticate with a sk-ash- key.
- Does Qwen 4 Max 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.