Hormouz AIHormouz AIHormouzSign in

Qwen3.8 Max (0902) (batch): AI model

Context window:
262,144 tokens
Input:
$1.15/1M tokens
Output:
$3.45/1M tokens
Type:
text, image, video
  • Vision
  • Tools
  • Long context

Thinking levels: Always thinks · xhigh · high · medium · low · minimal

Qwen3.8 Max (0902) (batch) is a AI model from Qwen, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

Qwen3.8 Max 0902 is an updated snapshot of Qwen3.8 Max from Alibaba's Qwen team. It is a 2.4-trillion-parameter mixture-of-experts model that accepts text, image, and video input and returns text,...

Quickstart

# 1. Submit (up to 1,000 requests)
curl https://api.hormouz.net/v1/batches \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint": "/v1/chat/completions", "model": "qwen/qwen3.8-max-0902:batch", "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}]}'

# 2. Poll until "status" is "completed", then read "results"
curl https://api.hormouz.net/v1/batches/BATCH_ID \
  -H "Authorization: Bearer ng-YOUR_API_KEY"

Specs

VendorQwen
TypeText, Image, Video
Context window262,144 tokens
Pricing$1.15/M in · $3.45/M out
APIbatches
CapabilitiesVision · Tools

Code example

cURL
# 1. Submit (up to 1,000 requests)
curl https://api.hormouz.net/v1/batches \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint": "/v1/chat/completions", "model": "qwen/qwen3.8-max-0902:batch", "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}]}'

# 2. Poll until "status" is "completed", then read "results"
curl https://api.hormouz.net/v1/batches/BATCH_ID \
  -H "Authorization: Bearer ng-YOUR_API_KEY"
Python
import requests, time

BASE = "https://api.hormouz.net/v1"
H = {"Authorization": "Bearer ng-YOUR_API_KEY"}

batch = requests.post(f"{BASE}/batches", headers=H, json={
    "endpoint": "/v1/chat/completions",
    "model": "qwen/qwen3.8-max-0902:batch",
    "requests": [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}],
}).json()

while batch["status"] not in ("completed", "failed", "expired", "cancelled"):
    time.sleep(60)
    batch = requests.get(f"{BASE}/batches/{batch['id']}", headers=H).json()

for item in batch.get("results", []):  # unordered: match by custom_id
    print(item["custom_id"], item.get("body") or item.get("error"))
JavaScript
const BASE = "https://api.hormouz.net/v1";
const H = { Authorization: "Bearer ng-YOUR_API_KEY", "Content-Type": "application/json" };

let batch = await (await fetch(BASE + "/batches", {
  method: "POST",
  headers: H,
  body: JSON.stringify({
    endpoint: "/v1/chat/completions",
    model: "qwen/qwen3.8-max-0902:batch",
    requests: [{"custom_id": "q1", "body": {"messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 200}}],
  }),
})).json();

while (!["completed", "failed", "expired", "cancelled"].includes(batch.status)) {
  await new Promise((r) => setTimeout(r, 60000));
  batch = await (await fetch(BASE + "/batches/" + batch.id, { headers: H })).json();
}
for (const item of batch.results ?? []) console.log(item.custom_id, item.body ?? item.error);

Buy the Qwen3.8 Max (0902) (batch) API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches Qwen3.8 Max (0902) (batch) and nearly 700 other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and nearly 700 others with one API key, then see usage down to each request.

Request company access

Updated 2026-11-27