The langchain-openrouter package has been updated to version 0.2.8, bringing a couple of meaningful changes for self-hosted users who rely on OpenRouter as their model provider.
Most of the update consists of routine model profile refreshes, ensuring that the package’s internal catalog of available models stays current with OpenRouter’s offerings. These are maintenance tasks and do not alter functionality but help prevent issues when requesting newer models.
The release also includes two user-facing improvements. First, a bug fix now preserves cost metadata within usage chunks, so applications that track token spending or monitor API consumption will see accurate cost information in streaming responses. Second, a new feature retains provider information in response metadata, allowing you to know which underlying provider served a given request.
Overall, this is a maintenance release with useful metadata fixes for anyone integrating OpenRouter through LangChain in a self-hosted environment.



