Qwen3.8 Max

qwen/qwen3.8-max

A Qwen flagship with thinking and non-thinking modes.

This model is available through the API. It is not currently offered as an agent's reasoning model.

Use through the API
In / out per 1M
FromPrice: $2.00fromPrice: $6.00See rates by context and mode
Modalities
Text, Image, Video
Context
1M

Overview

A Qwen flagship with thinking and non-thinking modes. It is billed from the same balance as every other model and API here, and the price of each call comes back in the response.

Pricing

Prices in USD per million tokens, using your plan when signed in.

Each request uses the tier matching its full input context, including cached input. Output tokens do not choose the tier. Choose the row for your cache and thinking modes.

Input context (tokens)Cache modeThinkingInputOutputCache readCache write
Up to 1,000,000ImplicitStandardPrice: $2.00Price: $6.00Price: $0.25Price: $2.00
Up to 1,000,000ExplicitStandardPrice: $2.00Price: $6.00Price: $0.17Price: $2.50

Your balance and per-call records come from /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.agentsky.dev/v1",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const completion = await client.chat.completions.create({
  model: "qwen/qwen3.8-max",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response

Questions