µllm

I am not an avid LLM user, but sometimes I use it to ask some specific question where I expected the answer to be more specific than the one I would get from Google. I have always used the desktop app, but I found various drawbacks and as a developer I wanted to do something simple myself.

There are multiple reasons for it, here are the main ones.

With this premise I started looking around and found out that the best service for this is OpenRouter, and I only needed to build a simple CLI around it.

Here are the features that I built.

There are various commands supported in the CLI. Here is the list.

There is no configuration file for µllm. There are (I think) sane defaults, but if you want to change them my suggestion is to create an alias in your shell configuration passing your preferred flags.

The only environment variable requires is ULLM_OPENROUTER_API_KEY containing the API key of OpenRouter to use.

Download the binary or the latest binary or the source code here.