Model API

Qwen 3.8 27B API

Qwen 3.8 27B API on Aiduct. Input tokens: $0.50 / 1M input tokens. 262,144 token context. View model parameters, pricing and integration examples.

Model ID

qwen3.8-27b

Provider

cloudflare

Capability

chat, tools, thinking, structured-output

Status

Available

Pricing and limits

Input tokens

$0.50 / 1M input tokens

Output tokens

$3.00 / 1M output tokens

Cached input

$0.05 / 1M cached input tokens

Rates are in USD for the stated unit. Model options and additional usage can affect the final charge. Check the live catalog before integrating.

Context length
262,144
Max output
65,536
Release date
2026-09

Use this model

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.AIDUCT_API_KEY,
  baseURL: "https://api.aiduct.ai/v1",
});

const response = await client.chat.completions.create({
  model: "qwen3.8-27b",
  messages: [{ role: "user", content: "Say hello in one sentence." }],
});

Supported parameters

messagestemperaturetop_pmax_tokensstreamtoolstool_choiceresponse_formatthinkinguser