[GH-ISSUE #4453] [FEAT]: Enable User Tracking for OpenRouter Requests #2838

Closed
opened 2026-02-22 18:31:29 -05:00 by yindo · 3 comments
Owner

Originally created by @thoughtlabs-nz on GitHub (Sep 30, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4453

What would you like to see?

OpenRouter has user tracking features to map submissions to users - this is a core part of identifying usage in a multi user system. AnythingLLM clearly captures this and could be amended to pass this detail to the OpenRouterAPI by mapping the user parameter.

https://openrouter.ai/docs/use-cases/user-tracking

If this could be enabled - then AnythingLLM linked to OpenRouter would be able to fully leveraged as a multiuser LLM service for business.

Is this something that we could please add?

Thanks

Tim

Originally created by @thoughtlabs-nz on GitHub (Sep 30, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4453 ### What would you like to see? OpenRouter has user tracking features to map submissions to users - this is a core part of identifying usage in a multi user system. AnythingLLM clearly captures this and could be amended to pass this detail to the OpenRouterAPI by mapping the user parameter. https://openrouter.ai/docs/use-cases/user-tracking If this could be enabled - then AnythingLLM linked to OpenRouter would be able to fully leveraged as a multiuser LLM service for business. Is this something that we could please add? Thanks Tim
yindo added the enhancementfeature request labels 2026-02-22 18:31:29 -05:00
yindo closed this issue 2026-02-22 18:31:29 -05:00
Author
Owner

@Guru6163 commented on GitHub (Oct 8, 2025):

would like to work on this @thoughtlabs-nz @timothycarambat

@Guru6163 commented on GitHub (Oct 8, 2025): would like to work on this @thoughtlabs-nz @timothycarambat
Author
Owner

@thoughtlabs-nz commented on GitHub (Oct 9, 2025):

Thank you - this is awesome news - I am happy to assist if any help is needed.

Having the ability to pass the username is really important when tracking usage in 3rd party systems - we only need to allow a mapping between the AnythingLLM username and pass this in the call made to OpenRouter.

Kind regards

Tim

@thoughtlabs-nz commented on GitHub (Oct 9, 2025): Thank you - this is awesome news - I am happy to assist if any help is needed. Having the ability to pass the username is really important when tracking usage in 3rd party systems - we only need to allow a mapping between the AnythingLLM username and pass this in the call made to OpenRouter. Kind regards Tim
Author
Owner

@timothycarambat commented on GitHub (Nov 20, 2025):

Resolved by https://github.com/Mintplex-Labs/anything-llm/pull/4668

@timothycarambat commented on GitHub (Nov 20, 2025): Resolved by https://github.com/Mintplex-Labs/anything-llm/pull/4668
yindo changed title from [FEAT]: Enable User Tracking for OpenRouter Requests to [GH-ISSUE #4453] [FEAT]: Enable User Tracking for OpenRouter Requests 2026-06-05 14:48:50 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2838