TLDRocket
Sign in

llm-chat-completions-server 0.1a0

Simon Willison Simon Willison

A new plugin called llm-chat-completions-server version 0.1a0 was released that lets users run a local server exposing LLM models via an OpenAI Chat Completions compatible API endpoint. The server runs on port 9001 and uses the content-addressable logs feature from LLM 0.32rc1 to deduplicate conversation messages through hashing. This allows existing OpenAI-compatible clients to work with locally installed language models without modification.

Why it matters

Release: llm-chat-completions-server 0.1a0 A key goal of the new content-addressable logs in LLM 0.32rc1 was being able to support OpenAI Chat Completion style requests where each incoming message extends the previous conversation, like this: curl http://localhost:8002/v1/chat/completions \ -H 'Content-Type: application/json' \ -d '{ "model": "qwen3.5-4b", "messages": [ {"role": "user", "content": "Capital of France?"}, {"role": "assistant", "content": "Paris."}, {"role": "user", "content": "Germany?"} ] }' Here the conversation state is tracked by the client, so each of these requests gets longer and longer. The new schema design in LLM is designed to de-duplicate these using hashes of the individual message parts. To test that out, I built this plugin: uv tool install llm --pre llm install llm-chat-completions-server llm chat-completions-server -p 9001 Running this starts a localhost server on port 9001 that exposes your full collection of LLM models (from any plugins you have instal

Related stories

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads 60+ sources, removes duplicate coverage, and summarises the day in two minutes. Free, no spam, unsubscribe anytime.