---
title: "ClikaRT::runtime::UnitProjection"
sidebar_label: "UnitProjection"
description: "A request's need in the model's own capacity units (see Model::capacity_units), as Model::project_units reads it from the request's inputs before admission."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--struct">struct</span>

**Header:** `ClikaRT/runtime/context.h`

A request's need in the model's own capacity units (see [`Model::capacity_units`](./Model.md#capacity_units)), as [`Model::project_units`](./Model.md#project_units) reads it from the request's inputs before admission. -1 means unknown: the request is then admitted under the session cap alone.

## Data members

### total {#total}

<div class="api-signature">

`std::int64_t` **`total`** `= -1`

</div>

through the request's output cap

<div class="api-declared">

Declared in `ClikaRT/runtime/context.h`, line 89

</div>

### first\_step {#first_step}

<div class="api-signature">

`std::int64_t` **`first_step`** `= -1`

</div>

what the admitting step commits: the prompt, or its first chunk

<div class="api-declared">

Declared in `ClikaRT/runtime/context.h`, line 90

</div>
