# LLM 0.33 — Simon Willison's CLI moves to the OpenAI Python 3.x library

> LLM 0.33 rebases Simon Willison's model CLI on the OpenAI Python 3.x library and adds per-call embedding keys.

- Org: Simon Willison
- Date: 2026-08-22
- Category: tool, repo
- Source: https://simonwillison.net/2026/Aug/22/llm/
- Canonical page: https://ai-tldr.dev/releases/simonw-llm-0-33-aug22/

## In short

Simon Willison releases LLM 0.33, an update to his Python CLI for language models. The release moves onto the OpenAI Python library 3.x and httpx2, lets embedding commands take a per-call API key, and allows templates to be combined.

## What it is

LLM 0.33 moves Simon Willison's command-line tool for language models onto the OpenAI Python library 3.x and swaps its HTTP client from httpx to httpx2. The release also lets `llm embed` and `llm embed-multi` accept a `--key` flag, shows the output of server-side tool calls inside `llm logs`, and lets `-t/--template` be repeated so one template supplies the model settings while another supplies the prompt.

## How it works

The per-call key travels through a new `key=` argument on `EmbeddingModel.embed()`, `embed_multi()` and the matching `Collection` methods, so a plugin receives the resolved key without the shared model state changing; plugins that still read `self.key` keep working through a compatibility fallback. Server-side tool output is stored with a `server_executed` marker, which is how `llm logs --json` and `llm logs --short` tell it apart from tools that ran on the local machine.

## Why it matters

Plugin authors feel this release first: the jump to OpenAI 3.x and httpx2 raises the dependency floor for every plugin in the LLM ecosystem, and the `--key` argument removes a long-standing reason to mutate shared model state just to embed with a second account. For everyday users, repeated `-t` flags mean a saved model configuration and a saved prompt no longer have to live in the same template file.

## Who it's for

Python developers and LLM plugin authors

## Try it

pip install -U llm

## Links

- [Announcement](https://simonwillison.net/2026/Aug/22/llm/)
- [Release Notes](https://github.com/simonw/llm/releases/tag/0.33)
- [Changelog](https://llm.datasette.io/en/stable/changelog.html)
- [GitHub Repo](https://github.com/simonw/llm)
