Availability
Model call settings let you configure how Large Language Models handle prompts. These settings control parameters such as response length and temperature (creativity level). Other options also shape the output of the LLM.
Use Cases
- Chats: These settings control how the LLM responds in the conversational interfaces of the Chat feature. Administrators use them to fine-tune the user experience.
- Middleware Function Calls: The settings guide LLM behavior in automated backend processes. In these processes, the LLM does tasks such as data generation or content analysis.
Managed List of Call Settings
A call setting is not a value you type inline for each chat. Each call setting is a saved entry in a managed list. You pick an existing entry when you create a Chat. Tyk AI Studio seeds this list with default entries on first startup. The seeded list covers current models from major vendors, for example OpenAI, Anthropic, Google, and Meta. Seeded model names includegpt-5, claude-opus-4-5-20251101, gemini-2.5-pro, and llama-3.3-70b. This gives you a working set of models to use right away.
AI Studio seeds the list whenever it starts and finds the list empty - on a new installation, or if you delete every entry. Because seeding only happens when the list is empty, it never overwrites settings you have created or modified.
You can edit or delete any seeded entry. You can also add entries for other models. See How to Create LLM Call Settings.
LLM Call Settings Details
In the LLM Call Settings section, administrators configure default runtime parameters for Large Language Models (LLMs). Chat interactions and middleware system function calls use these parameters. They control how the LLM processes inputs and generates outputs. The AI Gateway proxy (Tyk Edge Gateway) does not use these settings. Applications that end users create in the AI Portal send their own model configuration in each request to the AI Gateway. Examples are temperature and max tokens. AI Studio uses the Call Settings only for the built-in Chat Interface (accessed via the AI Portal). It also uses them for internal middleware system function calls, such as tool calling and RAG.Configuration
The Edit/Create LLM Call Settings View enables administrators to configure or update call-time options for a specific Large Language Model (LLM). Below is an explanation of each field and its purpose:- Model Name: The name of the language model (e.g.,
gpt-5.2,claude-opus-4-5-20251101). - Temperature: Controls randomness:
1is very random. Range:0to1. From v2.3.0,0means that AI Studio does not send the value, and the vendor default applies. Refer to Temperature and Top P. - Max Tokens: The maximum number of tokens to generate in the response. Must be at least
1. - Top P: Controls diversity via nucleus sampling:
0.5means half of all likelihood-weighted options are considered. Range:0to1. From v2.3.0,0means that AI Studio does not send the value. - Top K: Controls diversity by limiting to
kmost likely tokens.0means no limit. - Min Length: The minimum number of tokens to generate in the response.
- Max Length: In Chat, the maximum number of input tokens that one turn can send, for example
200000. Refer to Max Length and Chat History. - Repetition Penalty: Penalizes repetition:
1.0means no penalty,>1.0discourages repetition. Typically between1.0and1.5. - System Prompt: A long-form text prompt that sets the context or behavior for the language model.
Max Length and Chat History
When a conversation is longer than Max Length, AI Studio removes the oldest turns first. It removes a full turn at a time, so a tool call and its results stay together. AI Studio always sends the system prompt, the latest user message, and the messages after it.0 or an empty value means no limit. In all cases, a chat session sends at most its newest 100 messages and its system prompt.
From v2.3.0, a call setting without a max length sends the conversation history. Before v2.3.0, it sent almost only the latest message. To limit the input, set Max Length.
Temperature and Top P
Claude Sonnet 5 and later models refusetemperature and top_p. From v2.3.0, new call settings set Temperature and Top P to 0 by default, so AI Studio does not send them.
Call settings that you saved before v2.3.0 keep their values. For Claude Sonnet 5 and later, set both values to 0. If you do not, AI Studio Chat fails on these models with 400.
Exception: on OpenAI models that are not reasoning models, such as gpt-4o, the AI Studio Chat client sends temperature: 0 when the value is 0. To use a different temperature, set it in the call setting. Gateway and API traffic do not use call settings.
How to Create LLM Call Settings
- Navigate to Chat > Model call settings in the admin UI sidebar.
- Click Add call setting.
- Fill in the required fields, such as Model Name. Configure the parameters, such as Temperature and Max Tokens.
-
Click Add call setting to save the configuration.
