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
This moment responds to
gives example → A new llm openai endpoint command lets users run prompts, chats, and model listings against arbitrary OpenAI-compatible endpoints without configuring a model first, and these calls are not loggedRelease author · Simon Willison's Webloggives example → The large language model itself has become a commodity — interchangeable like gas from any gas station, where price (or marginal quality) is the only real differentiator.Ali Ghodsi · BG2 Pod