---
title: "maxActive"
sidebar_label: "maxActive"
description: "Kotlin binding reference: maxActive."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[LoadOptions](index.md)/[maxActive](maxActive.md)

# maxActive

[common]\
val [maxActive](maxActive.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) = 0

The requests the model serves at once: a text model's decode sessions (the key-value cache's slot count a chat session or a served model opens), a speech model's admitted requests. 0 keeps one, the single-session footprint; a phone app keeps it there.