Qwen 3.8 Max Prime

AlibabaMCP Tool CallReasoning
alibaba/qwen3.8-max-primeClosed API

High-throughput edition of Qwen3.8 Max for coding, professional work, multimodal understanding, and long-running agent workflows

Benchmark Pricing$4.00 / 1M in$12.00 / 1M out$0.50 cache read
Context: 1,000,000 tokens•Max Output: 131,072 tokens•Released: 2026-09-23

TECHNICAL SPECIFICATIONS

Context Window1,000,0001M tokens
Max Output131,072131.1K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVisionVideo
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Qwen 3.8 Max Prime natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 1,000,000 tokens, this model can handle extremely large MCP resource manifests, complete database schemas, and multiple active server tool definitions simultaneously without degradation.

API CALL INVOCATION EXAMPLE

// Example: Calling Qwen 3.8 Max Prime via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ALIBABA_API_KEY,
});

const response = await client.chat.completions.create({
  model: "alibaba/qwen3.8-max-prime",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

5 providers
NanoGPTqwen/qwen3.8-max-prime
$4.00 / $12.00$0.50 cache
AI/ML APIalibaba/qwen3.8-max-prime
$5.50 / $16.50$0.69 cache
Vercel AI Gatewayalibaba/qwen3.8-max-prime
$4.00 / $12.00$0.50 cache
Kilo Gatewayqwen/qwen3.8-max-prime
$4.00 / $12.00$0.50 cache
OpenRouterqwen/qwen3.8-max-prime
$4.00 / $12.00$0.50 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.50 / 1M tokens, saving up to 88% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES