---
title: "Qwen3 8B API pricing"
canonical: https://uplinkswitch.ai/models/qwen3-8b
generated: 2026-10-22T20:51:41.479Z
source: https://api.uplinkswitch.com/v1/catalog
base_url: https://api.uplinkswitch.com/v1
---

# Qwen3 8B API pricing

Qwen3 8B API at $0.24/M input and $0.24/M output tokens. Works with the OpenAI SDK.

## Price per million tokens (USD)

| Tokens | Qwen list price | UplinkSwitch | Under list |
| --- | --- | --- | --- |
| Input | — | $0.24 | — |
| Cached input | — | billed at the input rate | — |
| Output | — | $0.24 | — |

## Model

- Model id: `qwen3-8b`
- Formats: OpenAI SDK
- Base URL: https://api.uplinkswitch.com/v1
- Daily real-model check: No answer at the last check (https://uplinkswitch.ai/proof#qwen3-8b)

## Request

### Python · OpenAI SDK

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="qwen3-8b",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
```

### TypeScript · OpenAI SDK

```typescript
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'qwen3-8b',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
```

### curl

```bash
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"qwen3-8b","messages":[{"role":"user","content":"Hello"}]}'
```

## Questions

### What is Qwen3 8B?

Qwen3 8B is a model from Qwen. Through UplinkSwitch it answers the OpenAI SDK on one key as qwen3-8b.

### How much does the Qwen3 8B API cost?

$0.24 per million input tokens and $0.24 per million output tokens.

### Is Qwen3 8B free?

It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0004.

### What is the Qwen3 8B model id?

qwen3-8b. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.

### How do I get a Qwen3 8B API key?

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls Qwen3 8B and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.

### Is there a Qwen3 8B API?

Yes: qwen3-8b on the OpenAI format at https://api.uplinkswitch.com/v1, $0.24 input and $0.24 output per million tokens. No weights to download and no GPU of your own; the key also runs every other model in the catalog.

### How many parameters does Qwen3 8B have?

8.2B, dense, per Qwen/Qwen3-8B.

### What is Qwen3 8B's context window?

32,768 tokens natively, 131,072 with YaRN, per Qwen/Qwen3-8B.

### Is Qwen3 8B open source?

Its weights are open on Hugging Face (Qwen/Qwen3-8B); the license is Apache-2.0.

### What does Qwen3 8B cost per 100 messages?

$0.06 for 100 chat turns of 2,000 input and 500 output tokens each, at $0.24 input and $0.24 output per million tokens, from prepaid credit with no subscription.

## Related

- Qwen API pricing: https://uplinkswitch.ai/pricing/qwen
- Cursor setup: https://uplinkswitch.ai/guides/cursor
- Cline setup: https://uplinkswitch.ai/guides/cline
- Roo Code setup: https://uplinkswitch.ai/guides/roo-code
- Kilo Code setup: https://uplinkswitch.ai/guides/kilo-code
- SDKs setup: https://uplinkswitch.ai/guides/sdks
- Every model and price: https://uplinkswitch.ai/llms-full.txt
- Machine catalog: https://uplinkswitch.ai/ai-catalog.json
