Skip to content
OpenKey

Qwen-Plus

QwenReleased Feb 1, 2025

Qwen-Plus, based on the Qwen2.5 foundation model, is a 131K context model with a balanced performance, speed, and cost combination.

Try in playground
Context window
1M tokens
Max output
33K tokens
Input
text
Output
text
Tokenizer
Qwen
Knowledge cutoff
Mar 31, 2025
Released
Feb 1, 2025

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$0.260$0.0078$0.268
Output$0.780$0.023$0.803
Cache read$0.052$0.0016$0.054
Cache write$0.325$0.0097$0.335

Supported parameters

  • logprobs
  • max_tokens
  • presence_penalty
  • response_format
  • seed
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_logprobs
  • top_p

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model qwen/qwen-plus.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen-plus",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openkey.ai/v1",
    api_key=os.environ["OPENKEY_API_KEY"],
)

completion = client.chat.completions.create(
    model="qwen/qwen-plus",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";

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

const completion = await client.chat.completions.create({
  model: "qwen/qwen-plus",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does Qwen-Plus cost via API?
Through OpenKey, Qwen-Plus costs $0.268 per 1M input tokens and $0.803 per 1M output tokens. That is the provider price ($0.260 / $0.780) plus a flat 3% fee — nothing else.
What is Qwen-Plus's context window?
Qwen-Plus accepts up to 1M tokens of context and returns up to 33K tokens per request.
Is Qwen-Plus OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "qwen/qwen-plus" using any OpenAI SDK — only the base URL and API key change.
What inputs does Qwen-Plus support?
Qwen-Plus accepts text input and produces text output. Its knowledge cutoff is Mar 31, 2025.

More from Qwen

All Qwen models →