Closed (fixed)
Project:
AI Metering
Version:
1.0.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Jul 2026 at 19:19 UTC
Updated:
30 Jul 2026 at 16:20 UTC
Jump to comment: Most recent
The /admin/reports/ai-metering repot doesn't seem to account for multiple providers.
I have a fresh site and and have made some Chat generation explorer requests from 3 different providers. When I got to the report, I see:

If I click on the "View calls" link, I see:

Fresh Drupal 11 site, latest release versions of relevant modules, make 3 Chat generation explorer calls from 3 different providers.
I would expect to see one row for each provider on /admin/reports/ai-metering
N/A
N/A
N/A
N/A — or: AI-Generated: Yes (tool — what was generated).
| Comment | File | Size | Author |
|---|
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ultimikeComment #3
codeitwisely commentedhey @ultimike thanks for the feedback !
The user report currently groups usage by user (one row per editor), so a single user who calls several providers collapses into one row. The row totals (calls, tokens, cost) are correct and include every provider, but the Provider column shows only one of them (currently the highest-cost provider), which is misleading once more than one is in play.
The per-call data is intact: as your "View calls" screenshot shows, the log lists each call with its own provider, so nothing is lost.
I will definitly update how results are rendered here in 'admin/reports/ai-metering'!
Comment #4
codeitwisely commentedComment #5
ultimike@codeitwisely - Understood, an easy solution (IMHO) would be to just update the "Provider" column with a comma-separate-list of providers used - that way it provides the necessary information and doesn't look incorrect.
thanks,
-mike
Comment #7
codeitwisely commented@ultimike The fix will be available in the next release!
Comment #9
codeitwisely commentedComment #11
ultimike@codeitwisely - Thank you! We checked it out (briefly) during class today and it does exactly what we expected!
Appreciate the quick turnaround.
-mike