Qwen 3.8 Flash API

Qwen 3.8 Flash is the latest multimodal model in the Qwen family, pairing strong reasoning and generation with remarkable speed. It natively supports a 1M-token context window, so it can process long documents, entire codebases, and complex conversations in a single pass. It excels at coding assistance, agentic workflows, and visual understanding, accepting text, image, and video input, and its thinking mode can be turned on or off per request.

入力: USD 0.14 / 100万トークン; 出力: USD 0.49 / 100万トークン

パブリックID: qwen-3-8-flash

モデルタイプ: チャット

推理 ツール呼び出し ビジョン コード最適化 構造化出力

料金

入力 · USD 0.14 / 100万トークン

出力 · USD 0.49 / 100万トークン

キャッシュ読み取り · USD 0.014 / 100万トークン

キャッシュ書き込み · USD 0.14 / 100万トークン

モデル仕様

モデルタイプ
チャット / 画像
コンテキスト ウィンドウ (トークン)
1000000
最大出力(トークン)
131072
推理
対応
ツール呼び出し
対応
ビジョン
対応
コード最適化
対応
構造化出力
対応

プライバシー

不明

不明とは、検証済みの service-wide 保証が公開されていないことを意味します。無修正は、すべてのリクエストが成功することを保証するものではありません。

クイックスタート

API キーに対してこのモデルが返されていることを確認し、その機能について文書化された入力オプションを確認してください。

GLOOP_API_BASE に API の URL、GLOOP_API_KEY にサーバー側のキーを設定してください。

curl

curl --fail-with-body "${GLOOP_API_BASE%/}/v1/chat/completions" \
  -H "Authorization: Bearer $GLOOP_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "messages": [
    {
      "content": "Hello",
      "role": "user"
    }
  ],
  "model": "qwen-3-8-flash"
}'

Python

import os, json, urllib.request

url = os.environ['GLOOP_API_BASE'].rstrip('/') + "/v1/chat/completions"
headers = {'Authorization': 'Bearer ' + os.environ['GLOOP_API_KEY']}
headers['Content-Type'] = 'application/json'
data = "{\n  \"messages\": [\n    {\n      \"content\": \"Hello\",\n      \"role\": \"user\"\n    }\n  ],\n  \"model\": \"qwen-3-8-flash\"\n}".encode('utf-8')
request = urllib.request.Request(url, data=data, headers=headers)
with urllib.request.urlopen(request) as response:
    print(json.load(response))

Node.js

const url = process.env.GLOOP_API_BASE.replace(/\/$/, '') + "/v1/chat/completions";
const headers = { Authorization: `Bearer ${process.env.GLOOP_API_KEY}` };
headers['Content-Type'] = 'application/json';
const response = await fetch(url, { method: 'POST', headers, body: JSON.stringify({
  "messages": [
    {
      "content": "Hello",
      "role": "user"
    }
  ],
  "model": "qwen-3-8-flash"
}) });
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());

実行前にモデルのアクセス権限と料金を確認してください。コピーだけでは API は呼び出されません。

API ガイドを見る · モデルの検出 · SDKの統合 · 請求

よくある質問

Qwen 3.8 Flash — どのモデル ID を使用しますか?

qwen-3-8-flash

Qwen 3.8 Flash — このモデルの料金は?

入力: USD 0.14 / 100万トークン; 出力: USD 0.49 / 100万トークン

Qwen 3.8 Flash — 対応する API エンドポイントは?

/v1/chat/completions

Qwen 3.8 Flash — コンテキストウィンドウのサイズは?

1000000 トークン

同じカテゴリのモデル

全モデル