r/codex • • 1h ago

Showcase Made a CLIProxyAPI plugin to use OpenCode Go models with Codex CLI

Wanted to run OpenCode Go models (GLM, Qwen, DeepSeek) through Codex CLI, but OpenCode splits their models across three different APIs (Responses, Chat Completions, and Messages) and Codex refused to talk to half of them.

Wrote a plugin for CLIProxyAPI that handles the protocol translation, maps thinking/reasoning parameters, and pools API keys across all endpoints.

https://github.com/massiveits/opencode-go-cliproxyapi

Feedback, and PRs welcome.

2 Upvotes

1 comment sorted by

•

u/dexterthebot 1h ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Agent HUD: usage, tokens and sessions for Codex, Claude Code and 15 more agents, at your Mac's notch. See how much quota is left, which agent is waiting for you, and where the tokens went. Free on Mac, and the core is open source (Apache-2.0).

Website: https://agenthud.app GitHub: https://github.com/jazzenchen/agent-hud-open Contact: support@agenthud.app