Skip to content

Configure the Smart Token Engine

Open Settings → Smart Token Engine to change how Kora prepares context and generation parameters for future messages.

Mode App behavior
Auto Selects Eco, Balanced, or Quality from the active model context window
Eco Uses lower generation variability
Balanced Uses the default generation settings
Quality Uses higher generation variability and disables Output Optimization

The mode has no effect when every optimization layer is off. Use the optimization control in the chat to override the global mode for the current session.

Select Auto as the first option in Settings → Smart Token Engine when the default should follow the model selected for a turn:

Model context window Effective mode
Up to 128k Eco
More than 128k and up to 512k Balanced
More than 512k Quality

The chat control shows the result as Auto · Eco, Auto · Balanced, or Auto · Quality. Changing models between turns recalculates that result before the next request. A per-model temperature override still takes precedence over the selected mode’s temperature.

The chat control is a session preference. You can switch between Auto and a manual mode any number of times in the same session; each change applies to the next message. New sessions start from the global selection in Settings.

Control Effect in the app
Adaptive Parameters Applies the generation parameters for the selected mode
Output Optimization Instructs the model to keep output concise; unavailable in Quality mode
Predictive Compaction Compacts the conversation before it reaches the model context limit
Adaptive Context Selects older messages by relevance while retaining recent messages

Use Global temperature override to replace the mode temperature for every model. The range is 0.02.0. Click Reset to return to the selected mode. A per-model temperature takes precedence over this value.

When Predictive Compaction is enabled, set Autocompaction ceiling between 50% and 95%. Kora starts proactive compaction five percentage points before the selected ceiling. Click Reset to restore 90%.

When Adaptive Context is enabled:

  • Top-K Messages sets the maximum number of messages selected by relevance.
  • Always Keep Recent sets how many recent messages remain in context regardless of relevance.

Enable Local model bare prompt to remove Kora-generated system context for custom providers on localhost. Leave the optional prompt empty to send no system field, or enter the minimal system prompt to send. Remote providers ignore this setting.

  1. Open Settings → Smart Token Engine.
  2. Select Auto, Eco, Balanced, or Quality.
  3. Enable the layers you want Kora to apply.
  4. Adjust the controls shown for those layers.
  5. Close Settings. The changes apply to the next message.
  • The selected mode has no effect → enable at least one optimization layer.
  • Responses are too concise → disable Output Optimization or select Quality.
  • Conversation history is compacted too early → raise Autocompaction ceiling.
  • A local model still receives Kora context → confirm its base URL uses localhost and Local model bare prompt is enabled.