ATRIUMsearch → argument graph
ExampleArticle

The llm openai endpoint command can be used as a uvx one-liner against an LM Studio local model without even installing LLM

The command works as a uvx one-liner, demonstrated with an LM Studio local model running google/gemma-4-31b, including tool support. ✦ AI generated

Release author · Simon Willison's Weblog · 2026-07-30 · original ↗

You don't even have to install LLM to use this. Here's a uvx one-liner for running a prompt - with tools - against an LM Studio local model: uvx --pre llm openai endpoint http://127.0.0.1:1234/v1 \ T llm_version -T llm_time --td \ -m google/gemma-4-31b 'what is the current LLM version? And the time?' Output here.

Read full article ↗excerpt · fair-use quotation

Around this claim