速率限制
列出工作區速率限制
$ ant organization:workspaces:rate-limits list列出工作區的速率限制。
設定工作區速率限制
$ ant organization:workspaces:rate-limits update為工作區中的單一速率限制群組設定或清除速率限制覆寫。
Models
workspace_rate_limit: object{ type: "workspace_rate_limit", group, limits, 3 more }
workspace_rate_limit_organization_source: object{ type: "organization" }
Always organization: no workspace-level override is stored, so the organization's value applies.
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.
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.
workspace_rate_limit_value: object{ type, org_limit, source, value }
workspace_rate_limit_workspace_source: object{ type: "workspace" }
Always workspace: a workspace-level override is stored.