> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini Decision 1

> 共有入力に対する名前付きの真偽判定・選択・評価を実行し、Google Decisions の形式で確率を返す Gemini Decision 1。

Gemini Decision 1 は分類、ルーティング、評価基準による採点に特化したモデルです。共有入力に対して型付きの質問を個別に評価し、回答文を生成せずに確率を返します。

> [!NOTE]
>
> generateContent や Chat Completions ではなく、専用の Google Decisions エンドポイントを使用します。モデル一覧に汎用エンドポイントのラベルがあっても、汎用チャットモデルとして利用できることを意味しません。

## モデル仕様

| フィールド | 説明 |
| - | - |
| `model` | gemini-decision-1 |
| `endpoint` | [POST /v1beta/decisions](https://mixroute.ai/docs/ja/api-reference/endpoint/google-decisions.md) |
| `コンテキスト` | 262,144 tokens |
| `1 リクエストの質問数` | 1-1,000 |
| `出力` | 型付きの確率結果; 生成テキストトークンは 0 |

上記はプロバイダーの仕様です。MixRoute のルート制限も適用されます。

## 機能と使い方

* 真偽判定では `type=noul` を使い、条件が真である確率を返します。
* 選択問題は criteria オブジェクトの選択肢から 1 つを選びます。採点問題は criteria 配列の順序付き評価段階を使います。
* プロバイダーの上限は共有入力と全質問を合わせて 262,144 トークン、1 リクエストあたり最大 1,000 問です。マルチモーダル入力に対応しますが、質問の instructions はテキストのみです。

## リクエスト例

`MIXROUTE_API_KEY` に MixRoute の API キーを設定してください。

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1beta/decisions" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "gemini-decision-1",
  "input": "CSV export fails on every attempt. The customer needs the file today and asks for a human agent.",
  "questions": {
    "needs_human": {
      "type": "noul",
      "instructions": "Does the customer request a human agent?"
    }
  }
}'
```

[Google Decisions API](https://mixroute.ai/docs/ja/api-reference/endpoint/google-decisions.md)

## 回答と使用量

出力トークンが 0 なのは正常です。型付きの判定結果を返し、テキストトークンは生成しません。入力には課金されます。`usage.total_input_tokens`、`usage.total_output_tokens`、`usage.total_tokens` を確認し、実際の料金はコンソールの消費ログで照合してください。

利用可否と料金は MixRoute のルートに依存します。[モデルマーケットプレイス](https://console.mixroute.ai/models)を確認してください。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.