Qwen3.8 Max

QwenChat & reasoningper-tokensave 33% vs official100.00%

Alibaba's top Qwen model for reasoning and Chinese-language work.

Price

$1.344 Input · $4.032 Output / 1M

Max

$1.2096 in

$3.6288 out

$0.1512 cached

Endpoint

/chat

Delivery pattern

Direct request-response

Availability

Available now

API documentation

Build and copy the request

Choose the options this model accepts. The code below updates as you choose.

Step-by-step in the docs
POSThttps://apiking.ai/v1/chat/completionsBearer API keyReturns directly
API_KEY="${API_KEY:-YOUR_API_KEY}"

curl --fail-with-body -sS https://apiking.ai/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "Qwen3.8 Max",
  "messages": [
    {
      "role": "user",
      "content": "Say hello."
    }
  ],
  "stream": false
}'

Parameter reference

model
stringrequired

Exact model identifier for this request.

messages
arrayrequired

OpenAI-compatible conversation messages.

Response lifecycle

Successful response example for this endpoint.

Response
{
  "id": "chatcmpl_xxx",
  "choices": [
    {
      "message": {
        "role": "assistant",
        "content": "Hello!"
      }
    }
  ]
}

Errors and production

Retry rules, idempotency, and the minimum production checklist.

400 / 422

Fix the request fields or unsupported option; do not retry unchanged.

401

Check that the API key is present, active, and sent as a Bearer token.

402

The account balance is insufficient.

409

The Idempotency-Key is processing or was reused with another body.

429

Back off according to Retry-After before retrying.

5xx

Retry with exponential backoff and keep the original Idempotency-Key.

  • Keep API keys on your server for public mobile and browser applications.
  • Set a unique Idempotency-Key for every billable async operation.
  • Persist task_id so polling can resume after a restart.
  • Use a timeout for every HTTP request and surface the request ID in support reports.
  • Read live model metadata instead of hard-coding prices and supported options.

Price and tiers

save 33% vs official

List price, for everyone.

Input

$1.344/ 1M tokens

$2.00

Output

$4.032/ 1M tokens

$6.00

Cache read $0.168 / 1M tokens

Cache write $1.68 / 1M tokens

The price shown here is exactly what you are billed — failed calls are refunded automatically.

Qwen3.8 Max at a glance

Model ID
Qwen3.8 Max
Type
Chat & reasoning
Vendor
Qwen
Endpoint
POST /v1/chat/completions
Delivery
Direct response
Billed by
Per token

What Qwen3.8 Max costs

  • One request with a 2,000-token prompt and a 500-token answer$0.004704
  • 1,000 such requests$4.704
  • 1,000 such requests with the prompt read from cache$2.352

At the list price. Failed calls are not charged.

Common questions

How much does the Qwen3.8 Max API cost?

Qwen3.8 Max costs $1.344 Input · $4.032 Output / 1M tokens on APIKing. That is 33% below the official list price. Pay as you go from your balance.

How do I call the Qwen3.8 Max API?

Send a request to https://apiking.ai/v1/chat/completions with your APIKing key as a Bearer token and set the model to Qwen3.8 Max.

What is the model ID of Qwen3.8 Max?

Set the model parameter to Qwen3.8 Max.

Can I use the OpenAI SDK with Qwen3.8 Max?

Yes. Set the base URL to https://apiking.ai/v1, use your APIKing key as the API key and Qwen3.8 Max as the model.

Does Qwen3.8 Max support streaming?

Yes. Send stream: true and the answer arrives as it is generated.

Does Qwen3.8 Max support prompt caching?

Yes. A prompt read from cache costs $0.168 per 1M tokens instead of $1.344.

Am I charged when a Qwen3.8 Max call fails?

A failed call or a failed generation is not charged. Tasks are estimated first and settled at what they actually used.

Compare Qwen3.8 Max with similar models

ModelVendorPriceSpec
Qwen3.8 MaxQwen$1.344 in · $4.032 out / 1M
GPT-6.2 AstraOpenAI$0.40 in · $2.00 out / 1M922K context
GPT-6 LunaOpenAI$0.0784 in · $0.392 out / 1M922K context
Claude Opus 5.5Anthropic$0.50 in · $2.50 out / 1M1M context
Claude Sonnet 5.5Anthropic$0.25 in · $1.30 out / 1M1M context
GPT-6.2 SolOpenAI$0.10 in · $0.50 out / 1M922K context