[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2324":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":14,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":27,"discoverSource":28},2324,"llm-openai-via-codex","simonw\u002Fllm-openai-via-codex","simonw","Access OpenAI models via an existing Codex subscription","",null,"Python",106,9,1,2,0,3,5,"Apache License 2.0",false,"main",true,[],"2026-06-12 02:00:40","# llm-openai-via-codex\n\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fllm-openai-via-codex.svg)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fllm-openai-via-codex\u002F)\n[![Changelog](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fsimonw\u002Fllm-openai-via-codex?include_prereleases&label=changelog)](https:\u002F\u002Fgithub.com\u002Fsimonw\u002Fllm-openai-via-codex\u002Freleases)\n[![Tests](https:\u002F\u002Fgithub.com\u002Fsimonw\u002Fllm-openai-via-codex\u002Factions\u002Fworkflows\u002Ftest.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fsimonw\u002Fllm-openai-via-codex\u002Factions\u002Fworkflows\u002Ftest.yml)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache%202.0-blue.svg)](https:\u002F\u002Fgithub.com\u002Fsimonw\u002Fllm-openai-via-codex\u002Fblob\u002Fmain\u002FLICENSE)\n\nAccess OpenAI models via an existing Codex subscription\n\nApparently [this is OK](https:\u002F\u002Ftwitter.com\u002Fromainhuet\u002Fstatus\u002F2038699202834841962)! There's more background [on my blog](https:\u002F\u002Fsimonwillison.net\u002F2026\u002FApr\u002F23\u002Fgpt-5-5\u002F).\n\n## Installation\n\nInstall this plugin in the same environment as [LLM](https:\u002F\u002Fllm.datasette.io\u002F).\n```bash\nllm install llm-openai-via-codex\n```\n## Usage\n\nFirst, make sure you have installed and authenticated [OpenAI Codex CLI](https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex).\n\nTo see the models available via your Codex subscription run:\n\n```bash\nllm models -q openai-codex\n```\nTo run a prompt against one of those models:\n```bash\nllm -m openai-codex\u002Fgpt-5.5 'Generate an SVG of a pelican riding a bicycle'\n```\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Run the tests using `uv`:\n```bash\ncd llm-openai-via-codex\nuv run pytest\n```\nTo run LLM with the dev plugin installed:\n```bash\nuv run llm -m models\nuv run llm -m openai-codex\u002Fgpt-5.5 'Talk to me in Swedish'\n```\n","该项目通过现有的Codex订阅访问OpenAI模型。其核心功能是让用户能够利用Codex订阅来调用OpenAI的多种语言模型，如GPT-5.5等，无需额外购买OpenAI服务。项目基于Python开发，支持安装为LLM插件，并提供命令行工具方便用户管理和运行模型。适用于已经拥有Codex订阅但希望扩展使用OpenAI其他先进模型的研究人员或开发者，特别适合于需要频繁进行文本生成、代码补全等任务的场景。","2026-06-11 02:49:28","CREATED_QUERY"]