View SuiteScript AI Usage Limit and Usage
SuiteScript Generative AI APIs includes a pool of limited, free usage. The free usage pool is renewed each month. The usage table on the SuiteScript subtab of the AI Preferences page shows how much is available for the account. If you want to verify the amount of free usage available when running SuiteScript code, your code can use these methods:
If your company wants unlimited usage, you'll need to set up an Oracle Cloud account with Oracle Generative AI service. For more information about setting up the unlimited usage option, see Configure OCI Credentials for AI and Manage SuiteScript AI Preferences.
To view SuiteScript AI usage limit and usage for an account:
-
Go to Setup > Company > AI > AI Preferences.
-
From the AI Preferences page, click the SuiteScript subtab.
-
Find the usage table. It shows the following information:
-
Month: Usage month and year.
-
Usage Limit: Number of free uses of the SuiteScript Generative AI APIs available for the account each month.
-
Used Quantity: Number of successful uses by SuiteScript Generative AI APIs during the month. NetSuite only counts actions that use the generative AI service successfully. All completed actions count, but unsuccessful attempts don't.
-
Type: Represents the type of usage. Usage types are either Embed (conversion of text to vector embeddings) or Generate (text generation by large language models). Each type is counted separately and has its own free usage quota. If you use both types during the month, each one is shown as a separate row in the table.
Note:The usage table won't show any data until your SuiteScript code successfully uses generative AI by sending a request to the large language model and receiving a response. Before your SuiteScript code uses generative AI successfully, the usage table shows the message "No records to show." If your code doesn't use either type of generative AI during a month, that month won't be shown in the table.
-