Skip to content

Add OpenRouter metering attribution#69

Open
JaeLeex wants to merge 1 commit into
jl/mcp-generic-metering-upload-20260701from
jl/openrouter-metering-attribution-20260702
Open

Add OpenRouter metering attribution#69
JaeLeex wants to merge 1 commit into
jl/mcp-generic-metering-upload-20260701from
jl/openrouter-metering-attribution-20260702

Conversation

@JaeLeex

@JaeLeex JaeLeex commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Include user/account/subscription/plan attribution in inference cost uploads.
  • Forward OpenRouter provider, route, requested model, resolved model, and price source metadata.
  • Cover attributed cost rows in tests.

Test plan

  • python3 -m pytest tests/test_mcp_metering.py tests/test_cost_metering.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant