Vibeleaderboard
← All Intel
Intel / article

Smarter Charts Inline Svgs And Live Usage Accounting

Source
openrouter.ai
Author
OpenRouter
Date

Context

In April 2025, OpenRouter added a way for applications to receive usage accounting alongside a streamed model response. Its announcement describes opting in through the request’s usage settings, then receiving input and output counts, reasoning and cache details, and cost without making another call. This puts the answer and its accounting in the same response flow, making it easier for an to associate each completed request with the resources it consumed.

Terms in this piece · Glossary
  • Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
  • API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.
  • Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
  • Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source openrouter.ai
More from OpenRouter
Recommended reads