Model Parameter Values by LLM in NetSuite 2026.1
SuiteScript 2.1 introduces new LLM parameter values for Cohere and OpenAI models.
Starting in SuiteScript 2.1, the N/llm module supports customizing response generation using model parameter values for large language models (LLMs) provided in Oracle Cloud Infrastructure (OCI). This update enables fine-tuning how models like Cohere Command A and OpenAI GPT-OSS process and generate text.
New Model Support
The N/llm module now includes support for two OCI-provided LLMs:
- Cohere Command A (
cohere.command-a-03-2025) - OpenAI GPT-OSS (
openai.gpt-oss-120b)
These models can be tuned with model parameter values to affect aspects like creativity and diversity in text generation.
Customizable Parameters
The following methods in the N/llm module can utilize these parameters for text generation:
llm.generateText(options)llm.generateText.promise(options)llm.generateTextStreamed(options)llm.generateTextStreamed.promise(options)
Parameter Details
Below is a table detailing the accepted ranges and default values for various model parameters when using Cohere Command A and OpenAI GPT-OSS:
| Parameter | Cohere Command A Range and Default | OpenAI GPT-OSS Range and Default |
|---|---|---|
maxTokens | 1-4,000 (default 2,000) | 1-16,000 (default 2,000) |
frequencyPenalty | 0-1 (default 0) | -2 to 2 (default 0) |
presencePenalty | 0-1 (default 0) | -2 to 2 (default 0) |
prompt | Input token limit 256,000 | Input token limit 128,000 |
temperature | 0-1 (default 0.2) | 0-2 (default 0.2) |
topK | 0-500 (default 500) | 1-100,000 (default 500) |
topP | 0-1 (default 0.7) | 0-1 (default 0.7) |
Who This Affects
Roles Impacted:
- NetSuite Developers
- System Administrators
Modules Impacted:
- SuiteScript
Key Takeaways
- SuiteScript 2.1 adds model parameter customization for text generation using Cohere and OpenAI LLMs.
- Developers can fine-tune text generation attributes like creativity using parameters such as
temperature. - The N/llm module methods that support these parameters include both synchronous and promise-based options.
Frequently Asked Questions (4)
How do model parameter values by LLM interact with existing SuiteScript features?
Are there specific permissions required to customize model parameter values?
Do I need to enable a feature flag to use model parameter values by LLM in NetSuite 2026.1?
Is the ability to customize model parameter values available in all editions of NetSuite 2026.1?
Weekly Update History (3)
Updated Model Parameter Values by LLM to include values for the OpenAI GPT-OSS model.
View Oracle DocsUpdated Model Parameter Values by LLM to include the input token limit for Cohere Command A (256,000 tokens).
View Oracle DocsUpdated Model Parameter Values by LLM to remove interdependency statements for the frequencyPenalty and presencePenalty parameters, which were confusing. This topic has also been moved to appear under N/llm Module instead of under llm.generateText(options).
View Oracle DocsWas this article helpful?
More in SuiteScript
- N/https Module: Binary File Support in NetSuite 2025.2
NetSuite 2026.1 adds binary file support to N/https for streamlined file handling.
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
- Create-Form Operation in NetSuite 2026.1 REST Web Services
Create-form operation in NetSuite 2026.1 APIs streamlines record creation and enhances efficiency.
Also from NetSuite 2026.1
- Custom Labels for Additional Item Prices in NetSuite 2026.1
Custom labels enhance transaction summaries in NetSuite, improving clarity for item prices.
- Applied Trans Date and Period Enhancements in NetSuite 20...
Latest updates in NetSuite 2024.1 enhance Accounting SuiteApps with transaction line distribution features.
- Data Not Copied from Production to Sandbox in NetSuite 2026.1
In NetSuite 2026.1, key data like domains and customer roles are not copied to sandbox accounts during refreshes, impacting setup.
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
Advertising
Reach SuiteScript Professionals
Put your product in front of NetSuite experts who work with SuiteScript every day.
Sponsor This Category