# NousResearch/hermes-agent · Anthropic cache token fields dropped in auxiliary usage shim

## Open now

- 1 issue, 5 PRs open on GitHub.
- #71242: Anthropic auxiliary usage shim drops cache_read/cache_creation tokens — MoA aggregator cost under-reported ~7x
- PR #71287: fix(agent): preserve Anthropic auxiliary cache usage
- PR #71325: fix(agent): preserve Anthropic cache token fields in auxiliary usage (#71242)
- PR #71394: fix(auxiliary): preserve Anthropic cache_read/cache_creation tokens in usage shim (#71242)
- PR #106183: fix(auxiliary): preserve Anthropic cache tokens in usage shim (salvage #71394, fixes #71242)
- PR #123862: fix(agent): auxiliary Anthropic and Codex adapters keep native usage fields (salvage #71287, fixes #71242)

A bug in the auxiliary usage shim discards Anthropic cache_read and cache_creation token counts, causing significant under-reporting of costs in aggregated usage. Multiple fix attempts address preserving these fields through the shim.

## TL;DR

- 6 member(s): 1 open issue(s), 0 closed issue(s), 5 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.33`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #71242: Anthropic auxiliary usage shim drops cache_read/cache_creation tokens — MoA aggregator cost under-reported ~7x

## Prior & competing PRs

- **#71287: fix(agent): preserve Anthropic auxiliary cache usage**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/auxiliary_client.py`, `tests/agent/test_auxiliary_client.py`
- **#71325: fix(agent): preserve Anthropic cache token fields in auxiliary usage (#71242)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/auxiliary_client.py`
- **#71394: fix(auxiliary): preserve Anthropic cache_read/cache_creation tokens in usage shim (#71242)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#71242`, `#71287`
  - files: `agent/auxiliary_client.py`, `tests/agent/test_auxiliary_client_anthropic_cache_tokens_71242.py`
- **#106183: fix(auxiliary): preserve Anthropic cache tokens in usage shim (salvage #71394, fixes #71242)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#106183`, `#71394`
  - files: `agent/auxiliary_client.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_auxiliary_client_anthropic_cache_tokens_71242.py`
- **#123862: fix(agent): auxiliary Anthropic and Codex adapters keep native usage fields (salvage #71287, fixes #71242)**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `e6f7af8822`
  - files: `agent/auxiliary_client.py`, `tests/agent/test_aux_adapter_usage_shape.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
