レート制限
ワークスペースのレート制限一覧を取得
$ ant beta:organization:workspaces:rate-limits listワークスペースのレート制限を一覧表示します。
ワークスペースのレート制限を設定
$ ant beta:organization:workspaces:rate-limits updateワークスペース内の1つのレート制限グループについて、レート制限のオーバーライドを設定またはクリアします。
Models
beta_workspace_rate_limit: object{ type: "workspace_rate_limit", group, limits, 3 more }
beta_workspace_rate_limit_organization_source: object{ type: "organization" }
Always organization: no workspace-level override is stored, so the organization's value applies.
beta_workspace_rate_limit_type: "fast_itpmca" or "fast_otpm" or "input_tokens_per_minute" or 6 moreRate limiter type. input_tokens_per_minute counts every input token, cache reads included. input_tokens_per_minute_cache_aware does not count cache reads, and on current models the organization's input-token limit usually has this type. A workspace limit of either type applies alongside the organization's limit, not in place of it. Because cache reads count toward an input_tokens_per_minute limit, it can reject requests that read mostly from the cache while the organization's limit still has room.
Rate limiter type. input_tokens_per_minute counts every input token, cache reads included. input_tokens_per_minute_cache_aware does not count cache reads, and on current models the organization's input-token limit usually has this type. A workspace limit of either type applies alongside the organization's limit, not in place of it. Because cache reads count toward an input_tokens_per_minute limit, it can reject requests that read mostly from the cache while the organization's limit still has room.
beta_workspace_rate_limit_update_value: object{ type, value }
type: "fast_itpmca" or "fast_otpm" or "input_tokens_per_minute" or 6 moreRate limiter type. input_tokens_per_minute counts every input token, cache reads included. input_tokens_per_minute_cache_aware does not count cache reads, and on current models the organization's input-token limit usually has this type. A workspace limit of either type applies alongside the organization's limit, not in place of it. Because cache reads count toward an input_tokens_per_minute limit, it can reject requests that read mostly from the cache while the organization's limit still has room.
Rate limiter type. input_tokens_per_minute counts every input token, cache reads included. input_tokens_per_minute_cache_aware does not count cache reads, and on current models the organization's input-token limit usually has this type. A workspace limit of either type applies alongside the organization's limit, not in place of it. Because cache reads count toward an input_tokens_per_minute limit, it can reject requests that read mostly from the cache while the organization's limit still has room.
value: numberNew limit value. Set to null to clear the workspace override and fall back to the organization limit.
New limit value. Set to null to clear the workspace override and fall back to the organization limit.
beta_workspace_rate_limit_value: object{ type, org_limit, source, value }
beta_workspace_rate_limit_workspace_source: object{ type: "workspace" }
Always workspace: a workspace-level override is stored.