# NousResearch/hermes-agent · OpenRouter tiered pricing cost estimate fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #109976: \[Bug\]: Hermes cost estimate undercounts real OpenRouter billing by up to 4.9× on long-context calls
- PR #109994: fix(pricing): stop undercounting tiered OpenRouter calls
- PR #110016: fix(usage): apply OpenRouter tier overrides in cost estimates

These issues and pull requests address a bug where long-context OpenRouter calls were significantly undercounted in cost estimates due to missing tiered pricing overrides. The work involves applying tier-based pricing logic to produce more accurate billing estimates.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 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.50`: 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

- #109976: \[Bug\]: Hermes cost estimate undercounts real OpenRouter billing by up to 4.9× on long-context calls

## Prior & competing PRs

- **#109994: fix(pricing): stop undercounting tiered OpenRouter calls**. open
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#136380`, `#136380`
  - files: `agent/usage_pricing.py`, `tests/agent/test_usage_pricing.py`
- **#110016: fix(usage): apply OpenRouter tier overrides in cost estimates**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#109994`, `#109976`, `#109994`
  - files: `agent/usage_pricing.py`, `tests/agent/test_usage_pricing.py`
- **#110793: fix(pricing): apply OpenRouter tiered pricing overrides for long-context cost estimates (#109976)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#110016`, `#110016`, `#109994`

## Fix status

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