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

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

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[OcrOptions](index.md)/[maxNewTokens](maxNewTokens.md)

# maxNewTokens

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

The most tokens the reading may produce; 0 keeps the checkpoint's own default.