Skip to content
Alibabaqwen3.8-max

Qwen3.8 Max

Alibaba's flagship MoE, built for coding and long-horizon agents.

Qwen3.8 Max is the flagship 2.4-trillion-parameter model in Alibaba's Qwen3.8 series, with native visual understanding and strength at coding, professional work, and long-horizon autonomous agent tasks.

  • Agentic coding
  • Professional work
  • Vision

Model details

Context window
984K tokens
Max output
131K tokens
Input
Text, images
Output
Text
Capabilities
Reasoning, Vision, Tool calling, Streaming, JSON output
Interfaces
OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses

Pricing

Per 1M tokens. The Inferray price is what you are charged — no gateway fee is added on top of it.

Qwen3.8 Max pricing.
MetricPrice
Input$2
Cached input$0.25
Output$6

Why teams pick it

  • Flagship 2.4T-parameter mixture of experts
  • Native visual understanding
  • Built for long-horizon autonomous agents

Call Qwen3.8 Max

Qwen3.8 Max answers on any of the APIs below — pick the one your code already speaks and just swap in your Inferray key.

/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.inferray.com/v1/chat/completions \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-max",
    "messages": [{"role": "user", "content": "ship it"}]
  }'
/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.inferray.com/v1/messages \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-max",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "ship it"}]
  }'
/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.inferray.com/v1/responses \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-max",
    "input": "ship it"
  }'