What
When a plugin asks Claude Code to run a model completion, the request is checked against the organization's allowed models and a per-session token budget, so a misbehaving plugin cannot spend a session's capacity.
Details
- The requested maximum token count must be a whole number within a cap.
- An estimated cost is reserved before the request and reconciled against actual usage afterwards.
- Passing a fraction of the budget produces a warning log; passing the budget makes the call throw.
- Behind the tengu_plugin_hooks_modules rollout flag.
Evidence
$.model.complete: the session's model budget for this plugin is spent
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Flag reading moved
The flag server now returns on for tengu_plugin_hooks_modules, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns off for tengu_plugin_hooks_modules, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns on for tengu_plugin_hooks_modules, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns off for tengu_plugin_hooks_modules, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns on for tengu_plugin_hooks_modules, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns off for tengu_plugin_hooks_modules, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns on for tengu_plugin_hooks_modules, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns off for tengu_plugin_hooks_modules, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this build
New in this build: tengu_plugin_hooks_modules