Skip to main content

Access OpenAI models via a Codex subscription

Project description

llm-openai-via-codex

PyPI Changelog Tests License

Access OpenAI models via an existing Codex subscription

Apparently this is OK!

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'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_openai_via_codex-0.1a0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_openai_via_codex-0.1a0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file llm_openai_via_codex-0.1a0.tar.gz.

File metadata

  • Download URL: llm_openai_via_codex-0.1a0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for llm_openai_via_codex-0.1a0.tar.gz
Algorithm Hash digest
SHA256 930187bf61b1ff570d722a9dac2ce419d5c12b3cdf380c825a5167330a3a7abe
MD5 f255482a7b7538a874102766d5ebf181
BLAKE2b-256 8722a896216d58ca1b201ce9152e0c9eba8cee453bc8682a65362e64c30f9b8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_openai_via_codex-0.1a0.tar.gz:

Publisher: publish.yml on simonw/llm-openai-via-codex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_openai_via_codex-0.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_openai_via_codex-0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 35a6f9ba393d296005cdd89934baa3af6c99134a455299cc068f7053d58d5675
MD5 da745da052eeecea1adb9723e5b75e52
BLAKE2b-256 cff71c1bc95ad83c8fbb830caefa94cae28aa7c1dff6de3dbc2c58e50488a87f

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_openai_via_codex-0.1a0-py3-none-any.whl:

Publisher: publish.yml on simonw/llm-openai-via-codex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page