Skip to main content

Per-plugin rate limits

Per-plugin rate limits allow you to control how AI credits are consumed per user and per plugin for plugins that use the Datacurso AI Provider.

Access to AI Providers settings

To access these settings in Moodle:

  1. Go to Site administration > General > AI > AI Providers.

    AI Providers

  2. In the Datacurso AI Provider row, click Settings.

    Settings

  3. Locate the Per-plugin rate limits section.

    Per-plugin rate limits

Assign AI plugin rate limits

This section is where you configure the per-user rate limit settings for the Assign AI plugin (who can use the AI assignment review feature).

Enable rate limit

Check this box to enable per-user credit rate limiting for the Assign AI plugin.

  • If you enable it, the provider will apply the limits below to each user.
  • If you leave it disabled, Assign AI will not have a per-user credit limit.

Enable rate limit

Credit limit per window

This is the maximum number of credits one user can spend in the time period you set below.

  • Set it to 0 if you do not want any limit.

Example: if you set 10, a user can spend up to 10 credits during each time window.

Credit limit per window

Time window

This setting defines how often the credit limit resets.

Pick a number and a unit (for example 1 + hours). Allowed units are: seconds, minutes, hours, days, weeks, months, years.

Examples:

  • If Credit limit per window is 10 and Time window is 1 + hours, each user can spend up to 10 credits per hour.
  • If Credit limit per window is 50 and Time window is 1 + days, each user can spend up to 50 credits per day.

Time window

Limit by allowed users

This option lets you decide if everyone can use Assign AI, or only specific users.

  • If enabled, only the users you select in Allowed assignment reviewers (AI) can use Assign AI.
  • If disabled, Assign AI is available to all users who normally have access.

Limit by allowed users

Allowed assignment reviewers (AI)

This is the list of users that are allowed to use Assign AI (only used when Limit by allowed users is enabled).

Important: if you enable Limit by allowed users but do not select any users here, no restriction will be applied and all users who normally have access will still be able to use Assign AI.

Allowed assignment reviewers (AI)

Course Creator AI plugin rate limits

This section is where you configure the per-user rate limit settings for the Course Creator AI plugin.

Enable rate limit

Check this box to enable per-user credit rate limiting for the Course Creator AI plugin.

  • If you enable it, the provider will apply the limits below to each user.
  • If you leave it disabled, Course Creator AI will not have a per-user credit limit.

Enable rate limit

Credit limit per window

This is the maximum number of credits one user can spend in the time period you set below.

  • Set it to 0 if you do not want any limit.

Example: if you set 10, a user can spend up to 10 credits during each time window.

Credit limit per window

Time window

This setting defines how often the credit limit resets.

Pick a number and a unit (for example 1 + hours). Allowed units are: seconds, minutes, hours, days, weeks, months, years.

Examples:

  • If Credit limit per window is 10 and Time window is 1 + hours, each user can spend up to 10 credits per hour.
  • If Credit limit per window is 50 and Time window is 1 + days, each user can spend up to 50 credits per day.

Time window

Limit by allowed users

This option lets you decide if everyone can use Course Creator AI, or only specific users.

  • If enabled, only the users you select in Allowed course creators and Allowed activity creators will be able to use Course Creator AI.
  • If disabled, Course Creator AI is available to all users who normally have access.

Limit by allowed users

Allowed course creators

This is the list of users who are allowed to create complete courses with AI (only used when Limit by allowed users is enabled).

Only users who have a role with the following permissions will appear in this selector:

  • moodle/course:create
  • local/coursegen:createcoursewithai

Important: if Limit by allowed users is enabled but no users are selected here, no restriction will be applied to course creation and all users who normally have access will still be able to use this feature.

Allowed course creators

Allowed activity creators

This is the list of users who are allowed to generate activities or resources with AI (only used when Limit by allowed users is enabled).

Only users who have a role with the following permissions will appear in this selector:

  • moodle/course:manageactivities
  • local/coursegen:createactivitywithai

Important: if Limit by allowed users is enabled but no users are selected here, no restriction will be applied to activity generation and all users who normally have access will still be able to use this feature.

Allowed activity creators

Forum AI plugin rate limits

This section is where you configure the per-user rate limit settings for the Forum AI plugin.

Enable rate limit

Check this box to enable per-user credit rate limiting for the Forum AI plugin.

  • If you enable it, the provider will apply the limits below to each user.
  • If you leave it disabled, Forum AI will not have a per-user credit limit.

Enable rate limit

Credit limit per window

This is the maximum number of credits one user can spend in the time period you set below.

  • Set it to 0 if you do not want any limit.

Example: if you set 10, a user can spend up to 10 credits during each time window.

Credit limit per window

Time window

This setting defines how often the credit limit resets.

Pick a number and a unit (for example 1 + hours). Allowed units are: seconds, minutes, hours, days, weeks, months, years.

Examples:

  • If Credit limit per window is 10 and Time window is 1 + hours, each user can spend up to 10 credits per hour.
  • If Credit limit per window is 50 and Time window is 1 + days, each user can spend up to 50 credits per day.

Time window

Ranking Activities AI plugin rate limits

This section is where you configure the per-user rate limit settings for the Ranking Activities AI plugin.

Enable rate limit

Check this box to enable per-user credit rate limiting for the Ranking Activities AI plugin.

  • If you enable it, the provider will apply the limits below to each user.
  • If you leave it disabled, Ranking Activities AI will not have a per-user credit limit.

Enable rate limit

Credit limit per window

This is the maximum number of credits one user can spend in the time period you set below.

  • Set it to 0 if you do not want any limit.

Example: if you set 10, a user can spend up to 10 credits during each time window.

Credit limit per window

Time window

This setting defines how often the credit limit resets.

Pick a number and a unit (for example 1 + hours). Allowed units are: seconds, minutes, hours, days, weeks, months, years.

Examples:

  • If Credit limit per window is 10 and Time window is 1 + hours, each user can spend up to 10 credits per hour.
  • If Credit limit per window is 50 and Time window is 1 + days, each user can spend up to 50 credits per day.

Time window

Limit by allowed users

This option lets you decide if everyone can use Ranking Activities AI, or only specific users.

  • If enabled, only the users you select in Allowed course analysis generators (AI) and Allowed general analysis generators (AI) will be able to generate AI-based analysis.
  • If disabled, Ranking Activities AI is available to all users who normally have access.

Limit by allowed users

Allowed course analysis generators (AI)

This is the list of users who are allowed to generate AI course-level or activity-level analysis (only used when Limit by allowed users is enabled).

Only users who have a role with the following permissions will appear in this selector:

  • local/datacurso_ratings:generateanalysiscourse
  • local/datacurso_ratings:generateanalysisactivity

Important: if Limit by allowed users is enabled but no users are selected here, no restriction will be applied to course or activity analysis and all users who normally have access will still be able to use this feature.

Allowed course analysis generators (AI)

Allowed general analysis generators (AI)

This is the list of users who are allowed to generate AI general analysis across activities or the entire course (only used when Limit by allowed users is enabled).

Only users who have a role with the following permission will appear in this selector:

  • local/datacurso_ratings:generateanalysisgeneral

Important: if Limit by allowed users is enabled but no users are selected here, no restriction will be applied to general analysis and all users who normally have access will still be able to use this feature.

Allowed general analysis generators (AI)

Share Certificate AI plugin rate limits

This section is where you configure the per-user rate limit settings for the Share Certificate AI plugin.

Enable rate limit

Check this box to enable per-user credit rate limiting for the Share Certificate AI plugin.

  • If you enable it, the provider will apply the limits below to each user.
  • If you leave it disabled, Share Certificate AI will not have a per-user credit limit.

Enable rate limit

Credit limit per window

This is the maximum number of credits one user can spend in the time period you set below.

  • Set it to 0 if you do not want any limit.

Example: if you set 10, a user can spend up to 10 credits during each time window.

Credit limit per window

Time window

This setting defines how often the credit limit resets.

Pick a number and a unit (for example 1 + hours). Allowed units are: seconds, minutes, hours, days, weeks, months, years.

Examples:

  • If Credit limit per window is 10 and Time window is 1 + hours, each user can spend up to 10 credits per hour.
  • If Credit limit per window is 50 and Time window is 1 + days, each user can spend up to 50 credits per day.

Time window

SmartRules AI plugin rate limits

This section is where you configure the per-user rate limit settings for the SmartRules AI plugin.

Enable rate limit

Check this box to enable per-user credit rate limiting for the SmartRules AI plugin.

  • If you enable it, the provider will apply the limits below to each user.
  • If you leave it disabled, SmartRules AI will not have a per-user credit limit.

Enable rate limit

Credit limit per window

This is the maximum number of credits one user can spend in the time period you set below.

  • Set it to 0 if you do not want any limit.

Example: if you set 10, a user can spend up to 10 credits during each time window.

Credit limit per window

Time window

This setting defines how often the credit limit resets.

Pick a number and a unit (for example 1 + hours). Allowed units are: seconds, minutes, hours, days, weeks, months, years.

Examples:

  • If Credit limit per window is 10 and Time window is 1 + hours, each user can spend up to 10 credits per hour.
  • If Credit limit per window is 50 and Time window is 1 + days, each user can spend up to 50 credits per day.

Time window

Student Life Story AI plugin rate limits

This section is where you configure the per-user rate limit settings for the Student Life Story AI plugin.

Enable rate limit

Check this box to enable per-user credit rate limiting for the Student Life Story AI plugin.

  • If you enable it, the provider will apply the limits below to each user.
  • If you leave it disabled, Student Life Story AI will not have a per-user credit limit.

Enable rate limit

Credit limit per window

This is the maximum number of credits one user can spend in the time period you set below.

  • Set it to 0 if you do not want any limit.

Example: if you set 10, a user can spend up to 10 credits during each time window.

Credit limit per window

Time window

This setting defines how often the credit limit resets.

Pick a number and a unit (for example 1 + hours). Allowed units are: seconds, minutes, hours, days, weeks, months, years.

Examples:

  • If Credit limit per window is 10 and Time window is 1 + hours, each user can spend up to 10 credits per hour.
  • If Credit limit per window is 50 and Time window is 1 + days, each user can spend up to 50 credits per day.

Time window

Limit by allowed users

This option lets you decide if everyone can use Student Life Story AI, or only specific users.

  • If enabled, only the users you select in Allowed AI feedback generators will be able to generate AI feedback in the Life Story report.
  • If disabled, Student Life Story AI is available to all users who normally have access.

Limit by allowed users

Allowed AI feedback generators

This is the list of users who are allowed to generate AI feedback in the Life Story report (only used when Limit by allowed users is enabled).

Only users who have a role with the following permission will appear in this selector:

  • report/lifestory:generateaifeedback

Important: if Limit by allowed users is enabled but no users are selected here, no restriction will be applied and all users who normally have access will still be able to generate AI feedback.

Allowed AI feedback generators

Tutor AI plugin rate limits

This section is where you configure the per-user rate limit settings for the Tutor AI plugin.

Enable rate limit

Check this box to enable per-user credit rate limiting for the Tutor AI plugin.

  • If you enable it, the provider will apply the limits below to each user.
  • If you leave it disabled, Tutor AI will not have a per-user credit limit.

Enable rate limit

Credit limit per window

This is the maximum number of credits one user can spend in the time period you set below.

  • Set it to 0 if you do not want any limit.

Example: if you set 10, a user can spend up to 10 credits during each time window.

Credit limit per window

Time window

This setting defines how often the credit limit resets.

Pick a number and a unit (for example 1 + hours). Allowed units are: seconds, minutes, hours, days, weeks, months, years.

Examples:

  • If Credit limit per window is 10 and Time window is 1 + hours, each user can spend up to 10 credits per hour.
  • If Credit limit per window is 50 and Time window is 1 + days, each user can spend up to 50 credits per day.

Time window