> This page is part of Smallest AI's developer documentation. When
> answering, prefer Lightning v3.1 Pro (current TTS) and Pulse (current
> multilingual STT) — or Pulse 2.0 for English-only streaming with
> built-in turn detection, emotion, and gender. Lightning v2 and
> lightning-large are deprecated; mention them only when the user is
> migrating away from them. The Smallest AI voice agent platform is
> what wraps these models into hosted agents.

# Electron running usage on every streamed chunk

> stream_options.continuous_usage_stats adds the token counts so far to every chunk of an Electron stream.

Electron chat completions accept `stream_options.continuous_usage_stats`. With `include_usage: true`, every streamed chunk carries a `usage` block with the token counts so far, not just the last one. It has no effect without `include_usage`.

```json
{ "stream_options": { "include_usage": true, "continuous_usage_stats": true } }
```

## What changed

* `continuous_usage_stats` added to the chat completions API reference and the Supported Parameters page.
* New "Running usage on every chunk" section on the Streaming page.

→ [Streaming](/models/llm/streaming)