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

# 契約プラン一覧

> 価格と機能を含む、利用可能なすべてのサブスクプランを返します。

## 概要

利用可能なすべてのサブスクリプションプランを返します。本エンドポイントは**公開**で認証不要のため、アプリ内の料金表示に適しています。

## プラン一覧

| プラン          | 月間クレジット | 価格（USD）   |
| ------------ | ------- | --------- |
| Starter      | 500     | \$4.99/月  |
| Professional | 3,000   | \$12.99/月 |
| Business     | 10,000  | \$29.99/月 |
| Agency       | 30,000  | \$69.99/月 |

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET https://api.llmgenerator.com/api/v1/subscriptions/plans
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.llmgenerator.com/api/v1/subscriptions/plans');
  const data = await response.json();
  console.log(data.plans);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get('https://api.llmgenerator.com/api/v1/subscriptions/plans')
  data = response.json()
  print(data['plans'])
  ```
</RequestExample>

<ResponseExample>
  ```json レスポンス theme={null}
  {
    "plans": [
      {
        "id": "starter",
        "name": "Starter",
        "monthlyCredits": 500,
        "price": 4.99,
        "features": [
          "500 credits/month",
          "Email support",
          "Basic analytics"
        ]
      },
      {
        "id": "professional",
        "name": "Professional",
        "monthlyCredits": 3000,
        "price": 12.99,
        "features": [
          "3,000 credits/month",
          "Priority support",
          "Advanced analytics",
          "API access"
        ]
      },
      {
        "id": "business",
        "name": "Business",
        "monthlyCredits": 10000,
        "price": 29.99,
        "features": [
          "10,000 credits/month",
          "Dedicated support",
          "Custom integrations",
          "Team management"
        ]
      },
      {
        "id": "agency",
        "name": "Agency",
        "monthlyCredits": 30000,
        "price": 69.99,
        "features": [
          "30,000 credits/month",
          "White-label options",
          "Priority processing",
          "Custom solutions"
        ]
      }
    ]
  }
  ```
</ResponseExample>

## レスポンスフィールド

<ResponseField name="plans" type="array">
  サブスクリプションプランオブジェクトの配列。

  <Expandable title="プランオブジェクトのプロパティ">
    <ResponseField name="id" type="string">
      プランの一意な識別子。Checkout セッション作成時に使用します。
    </ResponseField>

    <ResponseField name="name" type="string">
      人が読めるプラン名。
    </ResponseField>

    <ResponseField name="monthlyCredits" type="integer">
      月あたり付与されるクレジット数。
    </ResponseField>

    <ResponseField name="price" type="number">
      月額料金（USD）。
    </ResponseField>

    <ResponseField name="features" type="array">
      プランに含まれる機能の一覧。
    </ResponseField>
  </Expandable>
</ResponseField>

## 利用例

* **料金ページ**: 見込み顧客向けにプランを表示する
* **プラン比較**: ユーザーが適したプランを選べるようにする
* **アップグレード案内**: 既存ユーザーに上位プランを提示する
