Source: https://ailoot.ai/models/ja/qwen2-1-5b-instruct/
Canonical: https://ailoot.ai/models/ja/qwen2-1-5b-instruct/
Language: ja

# qwen2-1.5b-instruct

[Markdown](https://ailoot.ai/models/ja/qwen2-1-5b-instruct/index.md) · [JSON](https://ailoot.ai/models/ja/qwen2-1-5b-instruct/facts.json)

## [qwen2-1.5b-instruct](https://ailoot.ai/models/ja/qwen2-1-5b-instruct/)

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

- [**Ailoot Ultra · Chat Completions** `POST /v1/chat/completions` `qwen2-1.5b-instruct`](https://ailoot.ai/models/ja/qwen2-1-5b-instruct/#method-0)

モデルについて

この説明はモデルの機能を紹介するものです。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`](https://ailoot.ai/models/ja/#m=qwen2-1.5b-instruct&route=Ultra&caller=qwen2-1.5b-instruct&fmt=chat)

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はリクエスト前に見積額を確保します。結果の取得後、実測使用量に基づいて最終料金を精算します。ストリーミング時の精算には最終の使用量記録を使用します。[金額の確保と精算の仕組み →](https://ailoot.ai/docs/ja/billing/reserve/)

### リクエスト例

#### Ailoot Ultra · Chat Completions

curl · 一度だけ作成し、結果全体を保存する

```bash
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`](https://ailoot.ai/models/ja/#m=qwen2-1.5b-instruct&route=Ultra&caller=qwen2-1.5b-instruct&fmt=chat)

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

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

#### 関連する呼び出し用ID

[`qwen2-1.5b-instruct`](https://ailoot.ai/models/ja/#m=qwen2-1.5b-instruct&route=Ultra&caller=qwen2-1.5b-instruct&fmt=chat)

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%のプロモコード

購入時にコードを入力すると、実施中のキャンペーンに沿って価格を再計算します。

支出を履歴で確認

各リクエストのモデル、トークン、金額が保存されます。

[サブスクリプションを選ぶ](https://ailoot.ai/docs/ja/billing/subscriptions/) · [モデルの価格を見る](https://ailoot.ai/models/ja/)

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

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

商用アプリ

サービスの有料機能に、文章、画像、動画、音声の生成を組み込めます。

リセラーライセンス

プロジェクトの説明とアクセスの仕組みをお送りください。利用・再販条件の書面を申請できます。

サイトで契約文書を確認

接続前にサービス提供条件、ライセンス契約、データ処理ポリシーを読めます。

[リセラーライセンスを申請](mailto:support@ailoot.ai) · [サービス提供条件とライセンス契約](https://ailoot.ai/legal/offer?lang=ja)

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





Ailootは、蓄積した運営経験、幅広い顧客基盤、安定したサービス、継続的なKPI管理を基盤としています。





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





Ailootはこの運営経験を、お客様の製品、エージェント、アプリケーション、自動化でAI機能を利用するためのAPIアクセスに活かしています。
