Skip to content

simonw/llm-openai-via-codex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llm-openai-via-codex

PyPI Changelog Tests License

Access OpenAI models via an existing Codex subscription

Apparently this is OK! There's more background on my blog.

Installation

Install this plugin in the same environment as LLM.

llm install llm-openai-via-codex

Usage

First, make sure you have installed and authenticated OpenAI Codex CLI.

To see the models available via your Codex subscription run:

llm models -q openai-codex

To run a prompt against one of those models:

llm -m openai-codex/gpt-5.5 'Generate an SVG of a pelican riding a bicycle'

Development

To set up this plugin locally, first checkout the code. Run the tests using uv:

cd llm-openai-via-codex
uv run pytest

To run LLM with the dev plugin installed:

uv run llm -m models
uv run llm -m openai-codex/gpt-5.5 'Talk to me in Swedish'

About

Access OpenAI models via an existing Codex subscription

Resources

License

Stars

Watchers

Forks

Contributors

Languages