mistralM

Docs

ImprovementAPI

Token usage information in streaming responses

We added token usage reporting to streaming API requests so you can track prompt, completion, and total token counts without switching to non-streaming calls.

The usage object is now included in the final chunk returned by the stream, making it straightforward to monitor consumption and estimate costs in real-time applications.