← All models

Qwen

Qwen 3.8 27B

Cheap, fast and tuned for roleplay and creative writing. A 1M context window at a fraction of frontier prices.

1.0M context32K max outputRoleplayStreaming + tools

Input

$0.25 / 1M

Output

$1.20 / 1M

Context

1.0M

Max output

32K

Use it

Change the base URL, keep your SDK.

typescript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://dreaminference.com/v1",
  apiKey: process.env.DREAM_API_KEY,
});

const response = await client.chat.completions.create({
  model: "qwen-3.8-27b",
  messages: [{ role: "user", content: "Hello" }],
  stream: true,
});