OpenCodex
qwen

Qwen Turbo

qwen

Fast and cost-effective model for simple tasks.

Input Price

0.20 /Million

Output Price

0.80 /Million

Context Window

8k

Category

Domestic Models

Capabilities

FastCheapgeneral

API Configuration

Base URL

https://opencodex.hk/api/v1

Model ID

qwen-turbo

Quick Start

Copy the code below to quickly integrate into your application

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://opencodex.hk/api/v1",
  apiKey: process.env.OPENCODEX_API_KEY,
});

const response = await client.chat.completions.create({
  model: "qwen-turbo",
  messages: [{ role: "user", content: "Hello!" }],
});

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

Ready to try Qwen Turbo?

Start with 500 free credits. Pay only for what you use.