Image gen token-billed calls missing session usage tracking
Cluster 114324. Data as of
Nothing open on GitHub. Fix merged in #114842 on 19 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #114842. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #114842. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where token-billed image generation calls routed through OpenRouter (and related providers) fail to record usage to session_model_usage. The cluster includes the bug report and associated fix attempts.
Open issues0
Open PRs0
Fixes on record
-
#114842 fix(image-gen): token-billed image calls (OpenRouter chat/Image API, OpenAI gpt-image) record session usage (#114324, salvage #114340)
files:
plugins/image_gen/_common.py,plugins/image_gen/openai/__init__.py,plugins/image_gen/openrouter/__init__.py,tests/plugins/image_gen/test_openai_provider.py,tests/plugins/image_gen/test_openrouter_compat_provider.py,website/docs/user-guide/features/image-generation.md
1 PR closed without merging
From the close comments: merged via another change 1
-
#114340 fix(image-gen): record token-billed OpenRouter calls to session usage · merged via another change →
255b4fd,#114842,#114324,#114340
Closed issues · 1
- Closed#114324[Bug]: image_gen calls routed through OpenRouter to a token-billed model never write to session_model_usage
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #114842
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 19 Sep 2026