II.
InteractionPrimitive overview
Reference · liveinteraction-primitive:cost-readout
Cost readout overview
On-demand cost / token-usage display (Claude Code `/cost`, Codex `/usage`, OpenCode footer counters). Presents cumulative input / output / cache tokens and dollar estimates for the current session.
Attributes
displayName
Cost readout
description
On-demand cost / token-usage display (Claude Code `/cost`, Codex
`/usage`, OpenCode footer counters). Presents cumulative input /
output / cache tokens and dollar estimates for the current session.
kind
telemetry
surface
status-line
category
availableInModes
- chat
- plan
- composer
- edit
requiresPermission
false
Outgoing edges
in_category1
- interaction-primitive-category:telemetry·InteractionPrimitiveCategoryTelemetry
realizes1
- layer:10-interaction·LayerInteraction
Incoming edges
supports_interaction_primitive1
- agent-ui-impl:adapters.ui@current·AgentUIImpladapters UI (current) — multi-surface