Models / Alibaba

Qwen3 Coder

$0.9/Mtok in

Open-weight coding model that holds its own against frontier at a fraction of the price.

Playground

Try it in the browser

Playground$0.9 in / $2.7 out per 1M tokens
≈ $0.0028

Facts

At a glance

Availability

Live

Pricing

$0.9 / M input · $2.7 / M output

Endpoint

Chat Completions

/v1/chat/completions

Context window

256k tokens

API

Call it from code

import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://api.companyfabric.com/v1",
  apiKey: process.env.COMPANYFABRIC_API_KEY,
})

const res = await client.chat.completions.create({
  model: "qwen/qwen3-coder",
  max_tokens: 1024,
  temperature: 0.7,
  messages: [{ role: "user", content: "Say hello from the fabric." }],
})

console.log(res.choices[0].message.content)

Prompt library

Example runs

Write a TypeScript function that debounces an async function and cancels stale calls. Include types and 3 unit tests.

This exact run cost $0.007

Write the SQL migration: add wallet_address + payment_method to usage_txn, backfill, index.

This exact run cost $0.004

Convert this Express route to a Next.js App Router handler with zod validation.

This exact run cost $0.006

FAQ

Frequently asked questions

How much does Qwen3 Coder cost?

$0.9 / M input · $2.7 / M output. The exact cost of each call is shown before you run it and metered to your prepaid balance — no subscription required.

Why use Qwen3 Coder on CompanyFabric instead of going direct?

One key and one balance across every model in the library, at pricing at parity with or below the direct API. Switching models is a one-line change.

Is Qwen3 Coder available through the OpenAI SDK?

Yes — point any OpenAI SDK at api.companyfabric.com/v1 and set model to "qwen/qwen3-coder".

Variants

Same family

Explore

Related model APIs

One key. Every model. Exact prices.

Run Qwen3 Coder with free starter credits. Free starter credits included — no subscription required.