cliproxy-codex-termux
v0.77.8-cliproxy
Published
Codex CLI with CLIProxyAPIPlus models pre-integrated. All models (Gemini, Claude, Qwen, Grok, Kiro) appear in /model selector. For Android Termux ARM64.
Maintainers
Readme
🚀 Codex CLI with CLIProxyAPIPlus Models
Pre-built Codex CLI with Gemini, Claude, Qwen, Grok, and Kiro models integrated in /model selector
This is a modified version of Codex Termux with CLIProxyAPIPlus models pre-integrated. No need to build from source - just install and use!
✨ Features
✅ All CLIProxyAPIPlus models in /model selector
- Gemini 2.5 Pro, Gemini 3 Pro Preview
- Claude Opus 4.5, Claude Sonnet 4.5
- Claude Opus 4.5 + Thinking
- Qwen3 Coder Plus
- Grok Code Fast
- Kiro Claude Opus 4.5, Kiro Claude Sonnet 4.5
✅ Plus all default OpenAI models
- gpt-5.2-codex
- gpt-5.1-codex-max
- gpt-5.1-codex-mini
- gpt-5.2
✅ Pre-built for Termux ARM64
- No need to install Rust
- No need to compile
- Just
npm installand go!
📦 Installation
Prerequisites
# In Termux
pkg update && pkg upgrade -y
pkg install nodejs-lts -yInstall Codex
npm install -g @cliproxy/codex-cli-termuxInstall CLIProxyAPIPlus (Required)
# Clone repo
git clone https://github.com/julianromli/CLIProxyAPIPlus-Easy-Installation.git
cd CLIProxyAPIPlus-Easy-Installation
# Install
bash scripts/install-cliproxyapi-termux.sh
source ~/.bashrc
# Start server
start-cliproxyapi -Background
# Login to providers
cliproxyapi-oauth🚀 Usage
Start Codex
codexSelect Model
Inside TUI:
> /modelYou'll see all models including CLIProxyAPIPlus ones!
Select Model and Effort
────────────────────────────────────────────────────
1. gpt-5.2-codex (default)
2. gpt-5.1-codex-max
3. Gemini 2.5 Pro ← CLIProxyAPIPlus
4. Claude Opus 4.5 ← CLIProxyAPIPlus
5. Qwen3 Coder Plus ← CLIProxyAPIPlus
... and more!Use Specific Model
codex --model gemini-2.5-pro "your prompt"
codex --model claude-opus-4.5 "your prompt"⚙️ Environment Variables
Set these if CLIProxyAPIPlus runs on different port/host:
export CLIPROXY_BASE_URL="http://localhost:8317/v1"
export CLIPROXY_API_KEY="sk-dummy"🔧 Troubleshooting
"Model not available" error
CLIProxyAPIPlus is not running or not logged in:
start-cliproxyapi -Status
start-cliproxyapi -Background
cliproxyapi-oauthModels don't appear in selector
Make sure you installed this package, not the original:
npm list -g @cliproxy/codex-cli-termux📊 Architecture
┌─────────────────────────────────────────────────────────┐
│ Codex CLI (This Package) │
│ ┌─────────────────────────────────────────────────┐ │
│ │ /model Selector │ │
│ │ • OpenAI models (default) │ │
│ │ • CLIProxyAPIPlus models (pre-integrated) │ │
│ └─────────────────────────────────────────────────┘ │
│ ↓ │
└─────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────┐
│ CLIProxyAPIPlus (localhost:8317) │
│ Routes requests to appropriate AI providers │
│ Gemini | Claude | Qwen | Grok | Kiro │
└─────────────────────────────────────────────────────────┘📝 Credits
- Codex CLI - Original by OpenAI
- Codex Termux - Termux patches
- CLIProxyAPIPlus - Multi-model proxy
📄 License
Apache-2.0
Happy Coding with All Models! 🤖📱✨
