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·LayerOrchestration & Interaction
Incoming edges
supports_interaction_primitive1
- agent-ui-impl:agent-mux.ui@current·AgentUIImplagent-mux UI (current) — multi-surface