Model Parameter Values by LLM in NetSuite 2026.1

SuiteScript 2.1 introduces new LLM parameter values for Cohere and OpenAI models.

·2 min read·8 views·NetSuite 2026.1·View Oracle Docs

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:

ParameterCohere Command A Range and DefaultOpenAI GPT-OSS Range and Default
maxTokens1-4,000 (default 2,000)1-16,000 (default 2,000)
frequencyPenalty0-1 (default 0)-2 to 2 (default 0)
presencePenalty0-1 (default 0)-2 to 2 (default 0)
promptInput token limit 256,000Input token limit 128,000
temperature0-1 (default 0.2)0-2 (default 0.2)
topK0-500 (default 500)1-100,000 (default 500)
topP0-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?
The article does not specify how the new model parameter values interact with existing SuiteScript features. You may need to refer to the detailed SuiteScript documentation for compatibility and integration details.
Are there specific permissions required to customize model parameter values?
The article does not mention the permissions required to customize model parameter values. Reviewing the release notes or documentation may provide additional insight into necessary permissions.
Do I need to enable a feature flag to use model parameter values by LLM in NetSuite 2026.1?
The article does not specify whether a feature flag needs to be enabled to use the model parameter values by LLM. Checking in the NetSuite system or the detailed release notes may confirm this.
Is the ability to customize model parameter values available in all editions of NetSuite 2026.1?
The article does not state whether the customizable model parameter values feature is available in all editions. Further investigation in NetSuite's edition-specific documentation would be required to confirm this.

Weekly Update History (3)

SuiteScriptupdated

Updated Model Parameter Values by LLM to include values for the OpenAI GPT-OSS model.

View Oracle Docs
SuiteScriptupdated

Updated Model Parameter Values by LLM to include the input token limit for Cohere Command A (256,000 tokens).

View Oracle Docs
SuiteScriptupdated

Updated 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 Docs
Source: Model Parameter Values by LLM Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in SuiteScript

View all SuiteScript articles →

Also from NetSuite 2026.1

View all NetSuite 2026.1 changes →