qwen-plus-character — 価格・コンテキスト・性能
qwen-plus-character は 阿里巴巴 のモデルで、コンテキスト 32.8K、Tools に対応します。入力 $0.12、出力 $0.29(100 万トークンあたり)。
概要
| 提供元 | 阿里巴巴 |
|---|---|
| コンテキスト | 32.8K |
| 対応機能 | Tools |
| API形式 | openai, openai-response, openai-response-compact, anthropic, gemini, openai-alpha-search |
| 課金計算式 | p * 0.115 + c * 0.287 |
Qwen instruction model for multilingual chat, reasoning, and tool use価格
| プラン | 倍率 | 入力 | 出力 | 説明 |
|---|---|---|---|---|
| 基準価格 | 1× | $0.12 | $0.29 | |
| Pro | 2× | $0.23 | $0.57 | Enterprise — full reasoning, high stability. |
| Max | 4× | $0.46 | $1.15 | Premium — max reasoning & stability. |
このモデルで有効なグループのみ掲載しています。
パフォーマンス
| API エンドポイント | https://api.airai.cc/v1 |
|---|---|
| OpenAI 互換 | OpenAI-compatible |
よくある質問
qwen-plus-character の料金はいくらですか?
入力 $0.12、出力 $0.29(100万トークンあたり)。
qwen-plus-character のコンテキスト長は?
qwen-plus-character のコンテキストは 32.8K です。1 リクエストあたりの入力と出力の合計トークン上限です。
コードから qwen-plus-character を呼び出す方法は?
base_url を https://api.airai.cc/v1 に、model を qwen-plus-character に設定してください。API は OpenAI と完全互換です。
qwen-plus-character が 429 を返すのはなぜ?
429 はレート制限の応答です。並行数を下げ、バックオフ付きで再試行するか、クォータの大きいプランに切り替えてください。
モデル比較
| Model | 提供元 | 入力 | 出力 | コンテキスト |
|---|---|---|---|---|
| qwen-plus-character | 阿里巴巴 | $0.12 | $0.29 | 32.8K |
| qwen3-vl-32b-instruct | 阿里巴巴 | $0.16 | $0.64 | 未記載 |
| qwen3-vl-30b-a3b-thinking | 阿里巴巴 | $0.20 | $2.40 | 未記載 |
| qwen-plus-2025-12-01 | 阿里巴巴 | $0.40 | $1.20 | 未記載 |
| qwen3.8-omni-flash | 阿里巴巴 | $0.15 | $0.47 | 未記載 |
| qwen3.8-max-0902 | 阿里巴巴 | $2.00 | $6.00 | 未記載 |
| qwen3-vl-32b-thinking | 阿里巴巴 | $0.16 | $0.64 | 未記載 |
| qwen3-30b-a3b | 阿里巴巴 | $0.08 | $0.29 | 未記載 |
| qwen3.5-plus-2026-02-15 | 阿里巴巴 | $0.40 | $2.40 | 未記載 |
| qwen-image-edit-2509 | 阿里巴巴 | 1リクエスト $0.001471 | — | 未記載 |
| qwen3-30b-a3b-instruct-2507 | 阿里巴巴 | $0.10 | $0.30 | 未記載 |
| qwen3-tts-flash-2025-11-27 | 阿里巴巴 | 価格未公開 | — | 未記載 |
| qwen-image-max-2025-12-30 | 阿里巴巴 | 1リクエスト $0.08 | — | 未記載 |
エラー対処
429 はレート制限の応答です。並行数を下げ、バックオフ付きで再試行するか、クォータの大きいプランに切り替えてください。
主な原因
- 同時リクエストが多すぎる
- 現在のプランのクォータを消費
- 待機なしで即座に再試行
対処方法
- 並行数を制限し指数的バックオフで再試行
- クォータの大きいプランへ変更
- 繰り返しリクエストをキャッシュ
接続方法
curl https://api.airai.cc/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-plus-character",
"messages": [{"role": "user", "content": "Hello"}]
}'from openai import OpenAI
client = OpenAI(
api_key="<YOUR_API_KEY>",
base_url="https://api.airai.cc/v1"
)
response = client.chat.completions.create(
model="qwen-plus-character",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
apiKey: "<YOUR_API_KEY>",
baseURL: "https://api.airai.cc/v1"
});
const response = await client.chat.completions.create({
model: "qwen-plus-character",
messages: [{ role: "user", content: "Hello" }]
});
console.log(response.choices[0].message.content);const OpenAI = require("openai");
const client = new OpenAI({
apiKey: "<YOUR_API_KEY>",
baseURL: "https://api.airai.cc/v1"
});
client.chat.completions.create({
model: "qwen-plus-character",
messages: [{ role: "user", content: "Hello" }]
}).then((r) => console.log(r.choices[0].message.content));<YOUR_API_KEY> をトークン設定の API Key に置き換えてください。
対応エンドポイント
openaiopenai-responseopenai-response-compactanthropicgeminiopenai-alpha-search
Gemini SDK · TypeScript
import { GoogleGenerativeAI } from "@google/generative-ai";
const genAI = new GoogleGenerativeAI("<YOUR_API_KEY>");
const model = genAI.getGenerativeModel({ model: "qwen-plus-character" });
const result = await model.generateContent(
"Explain quantum entanglement in one paragraph."
);
console.log(result.response.text());認証
すべてのリクエストには Authorization: Bearer <TOKEN> ヘッダーが必要です。Anthropic 形式のエンドポイントは x-api-key ヘッダーも受け付けます。「トークン」ページで API Key を発行でき、モデル・グループ・IP・レート単位で権限を細かく設定できます。
対応パラメータ
| パラメータ | 型 | 既定値 | 範囲 | 説明 |
|---|---|---|---|---|
temperature | float | 1 | 0–2 | サンプリング温度。低いほど安定 |
top_p | float | 1 | 0–1 | 核サンプリングの累積確率 |
max_tokens | integer | — | — | 応答の最大トークン数 |
frequency_penalty | float | 0 | −2–2 | 高頻度トークンの繰り返しにペナルティ |
presence_penalty | float | 0 | −2–2 | 新しい話題の導入を促す |
stop | string[] | null | ≤ 4 | 生成を停止する文字列(最大 4 個) |
seed | integer | null | — | 再現性を高めるサンプリングのシード |
n | integer | 1 | — | 生成する候補の数 |
stream | boolean | false | — | SSE でトークンをストリーミング |
response_format | object | — | — | JSON 出力またはスキーマ準拠結果を強制 |
tools | array | — | — | モデルが呼び出せるツール / 関数宣言 |
tool_choice | string | object | auto | — | ツール選択戦略または特定のツール名 |
logprobs | boolean | false | — | 各トークンの対数確率を返す |
top_logprobs | integer | null | 0–20 | 各トークンで返す上位確率の数 |
logit_bias | map | — | — | トークンごとの logit バイアスマッピング |
user | string | — | — | リスク監査用のエンドユーザー識別子 |
レート制限
| ティア | RPM | TPM | RPD |
|---|---|---|---|
| Eco | 990 | 398K | 20K |
| Test | 980 | 393K | 20K |
データ更新: 2026-10-10 15:40