Automatically get Openrouter model catalog in gptelI use Openrouter as the backend to access all my…
انتشار: 2026/07/15 03:07 UTC
Automatically get Openrouter model catalog in gptelI use Openrouter as the backend to access all my models on gptel, and found it tedious to have to update the list of models whenever new models came out, including all the metadata so that I can see prices and use different modalities. I made a small package that populates gptel with OpenRouter’s full text model catalog instead of maintaining a handwritten model list.It caches the model catalog locally, async refresh, and includes metadata like pricing, context windows, capabilities, modalities, and knowledge cutoffs.github.com/bharadswami/gptel-openrouterLet me know anyone else has this problem too and if you guys find it useful! Happy to accept any contributions as Issues and PRs.Disclaimer: LLMs were used in the writing of this package. But every line of code is human-reviewed (It's only 215 LOC so not that difficult, although I'm no elisp expert). Please review the package for yourself before using it.redd.it/1uwsgrq@r_emacs