モデル

qwen2-1.5b-instruct

Markdown · JSON

qwen2-1.5b-instruct

入力上限32,000トークン。生成量とサンプリングを調整できる、文章のみのQwen2 Instructルートです。

モデルについて

この説明はモデルの機能を紹介するものです。Ailootで利用できる入力、出力、オプションは、選択したメソッドごとに以下に記載されています。

qwen2-1.5b-instructは、文章入力の記載上限が32,000トークンの指示応答ルートです。短いサポートメッセージから指定項目を抽出し、原文にない項目は空欄で返す用途などに使えます。範囲を絞れば、モデル規模による品質保証を仮定せず、結果を確認しやすくなります。

/v1/chat/completionsは、max_tokensまたはmax_completion_tokens、temperature、top_p、seed、stop、任意のストリーミングを提供します。service_tierは空、auto、defaultで、数値の出力上限は公表されていません。1.5B Instructは識別名で、特定言語の品質や画像入力対応は確認されていません。

Ailoot Ultra · Chat Completions POST /v1/chat/completions qwen2-1.5b-instruct

qwen2-1.5b-instruct

Alibaba /qwen2-1.5b-instruct

はじめに

入力上限32,000トークン。生成量とサンプリングを調整できる、文章のみのQwen2 Instructルートです。

対応する入力
テキスト
結果
テキスト

Ailootで利用可能 · 入力とメソッド

Ailoot Ultra · Chat Completions POST /v1/chat/completions
入力の種類
text
出力の種類
text
コンテキスト
32,000 tokens
出力形式
JSON or supported SSE
フィールド種類要件値と制限デフォルト
フィールドmodel種類string要件必須値と制限
qwen2-1.5b-instruct
デフォルト—
フィールドmessages種類array要件必須値と制限デフォルト—
フィールドstream種類boolean要件任意値と制限デフォルトfalse
フィールドmax_tokens種類integer要件任意値と制限
最小値: 1
デフォルト—
フィールドmax_completion_tokens種類integer要件任意値と制限
最小値: 1
デフォルト—
フィールドn種類integer要件任意値と制限
最小値: 1
デフォルト—
フィールドtemperature種類number要件任意値と制限デフォルト—
フィールドtop_p種類number要件任意値と制限デフォルト—
フィールドseed種類integer要件任意値と制限デフォルト—
フィールドstop種類要件任意値と制限デフォルト—
フィールドfrequency_penalty種類number要件任意値と制限デフォルト—
フィールドpresence_penalty種類number要件任意値と制限デフォルト—
フィールドuser種類string要件任意値と制限デフォルト—
フィールドtools種類array要件任意値と制限デフォルト—
フィールドservice_tier種類string要件任意値と制限
, auto, default
デフォルト—
フィールドmodalities種類array要件任意値と制限デフォルト—
メソッドのパラメータとライフサイクル
パラメータ仕様
パラメータcontent_type仕様application/json
パラメータrequired仕様model, messages
パラメータoptional仕様stream, max_tokens, max_completion_tokens, n, temperature, top_p, seed, stop, frequency_penalty, presence_penalty, user, tools, service_tier, modalities
パラメータmaterial_types仕様text
パラメータconditions仕様Use text input and text output. Explicit cache, hosted tools and media are unavailable. Standard function tools remain a protocol feature and run in the client.

ライフサイクル: synchronous_json_or_sse

料金

料金情報はリクエストの機能を追加しません。対応するパラメーターは選択したメソッドに記載されています。

高速モード
標準料金 高速モードが選択されている場合
Flex モード
標準料金 flex モードが選択されている場合
最大推論量
標準料金 推論量が最大で、調整に既定値(default)を使用する場合
明示的キャッシュの料金
無効 明示的キャッシュを要求した場合
テキストのみの場合のゼロ料金
キャッシュ、ツール、メディアには、それぞれ別途記載された料金条件が適用されます。 テキストのみの入力と出力の場合

Ailootの料金

設定別の価格

設定料金表料金
設定基本トークン料金料金表基本料金料金
入力 · 入力トークン $0 / 1K トークン
出力 · 出力トークン $0 / 1K トークン
入力 · キャッシュ読み取り $0 / 1K トークン
入力 · キャッシュ書き込み $0 / 1K トークン
入力 · キャッシュ書き込み、1時間 — / 1K トークン

Ailootはリクエスト前に見積額を確保します。結果の取得後、実測使用量に基づいて最終料金を精算します。ストリーミング時の精算には最終の使用量記録を使用します。金額の確保と精算の仕組み →

リクエスト例

Ailoot Ultra · Chat Completions

curl · 一度だけ作成し、結果全体を保存する
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "qwen2-1.5b-instruct", "messages": [{"role": "user", "content": "Summarize the supplied text in three concise points."}], "stream": false}')

Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/chat/completions \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.

結果を受け取って保存

Ailoot Ultra · Chat Completions

JSON or supported SSE

完了した結果をすべて保存

返された完全なレスポンス、ファイル、コンテンツ部分をすべて保存してください。

Retain the complete response, all actual results, original identifiers, usage and response headers.

元のレスポンスを確認する場合

Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.

エイリアス

モデルのエイリアス

Ailoot Ultra qwen2-1.5b-instruct

メソッドパスのエイリアス

上記に表示されたメソッドパスを使用してください。

関連する呼び出し用ID

qwen2-1.5b-instruct

FAQ · qwen2-1.5b-instruct
利用できる入力と結果は何ですか?

POST /v1/chat/completions · qwen2-1.5b-instruct: text → text

リクエストはどの項目を使用しますか?

POST /v1/chat/completions · qwen2-1.5b-instruct: model, messages, stream, max_tokens, max_completion_tokens, n, temperature, top_p, seed, stop, frequency_penalty, presence_penalty, user, tools, service_tier, modalities

どの制限が適用されますか?

POST /v1/chat/completions · qwen2-1.5b-instruct: ctx: 32000; max_tokens.minimum: 1; max_completion_tokens.minimum: 1; n.minimum: 1

詳細を見る

AilootをClaude Code、OpenCode、Hermes、自分のアプリに接続しましょう。

企業とそのプロジェクト群

企業とそのプロジェクト群:数百万の顧客、毎月数十億規模の売上。

トークンを割引価格で購入。

継続利用にサブスクリプション割引。プロモコードでトークン購入が最大50%割引。

サブスクリプション
定期的なリクエストに合う割引プランを選びましょう。
最大50%のプロモコード
購入時にコードを入力すると、実施中のキャンペーンに沿って価格を再計算します。
支出を履歴で確認
各リクエストのモデル、トークン、金額が保存されます。

サブスクリプションを選ぶ · モデルの価格を見る

販売する製品に、 APIを組み込みましょう。

SaaS、アプリ、ボットをAilootの公式サービス提供条件とライセンス契約に基づいて接続できます。再販にはリセラーライセンスを申請できます。

商用アプリ
サービスの有料機能に、文章、画像、動画、音声の生成を組み込めます。
リセラーライセンス
プロジェクトの説明とアクセスの仕組みをお送りください。利用・再販条件の書面を申請できます。
サイトで契約文書を確認
接続前にサービス提供条件、ライセンス契約、データ処理ポリシーを読めます。

リセラーライセンスを申請 · サービス提供条件とライセンス契約