Netskope LogoNetskope Logo
  • Security Services
  • AI Services
  • Networking Services
  • Analytics Services
  • Integrations
  • getting-started.svgGetting Started
    • Support
    • Community
    • Netskope.com
    © 2026 All Rights Reserved. Netskope Inc.
    Home
    AI Gateway
    Configuration
    Rate Limit

    Rate Limit

    You can limit traffic by the number of API calls or the number of tokens consumed. To configure rate limits for all or specific gateways, follow the steps below.

    1.  Log in to the Netskope tenant UI and go to Settings > Security Cloud Platform > AI Gateway > Rate Limit.

    2. Click New Override.

    3. In the New Rate Limit Override page, enter the values for the following parameters.

      ParameterDetails
      NameEnter a name for the rate limit override. This is a required field.
      GatewaySelect an AI Gateway to which you want the rate limit  override to be applied.
      Subset of Gateways/All GatewaysSpecify if you want to apply the  rate limits to a subset of gateways or to all of the gateways.
      Match CriteriaSpecify the match criteria for the rate limit to be applied. As match criteria, you can select an AI provider, AI model name, and Token groups. You can select multiple token groups. If the value is left empty, the rate limit applies to all traffic (tenant level).
    4. Choose how you want to measure the limit:

      TypeDescription
      API callsLimit traffic by the number of requests.
      TokensLimit traffic by the number of tokens consumed. Token consumption includes both prompt (input) tokens and response (output) tokens combined.
      Note: You cannot change the Type after the rate limit override is created. To switch between API calls and Tokens, create a new override.
      The Tokens option is not available when the Match Criteria specifies a single AI Provider whose schema is “Other.” AI Gateway cannot reliably extract token counts from provider responses using the Other schema, so a token-based limit would not enforce correctly. If Match Criteria is left open to all providers (no specific AI Provider selected), this restriction cannot be applied automatically at configuration time. In that case, review your AI
      Provider list before relying on a token-based limit, since any “Other” schema provider included in that scope will not be rate-limited by token count.
    5. Specify the limit value.

      If Type = API callsIf Type = Tokens
      If you selected API calls, specify the limit as number/per requests/day or Hour/gateway.If you selected Tokens, specify the limit as number of tokens/per day or Hour/gateway.
    6. Add a custom response message in the Response Message text box. When the defined rate limit reaches the maximum limit, AI Gateway sends this custom message with the response code 429.

    7. Track token consumption for your rate limit overrides on the Rate Limit page. Usage is available at the Tenant, AI Provider, Model, and AI Gateway Token Group level.

    In this Topic
    • Rate Limit