| title | AI CLI Tools |
|---|---|
| description | Claude Code, Qwen Code, Gemini CLI, Codex, and Local LLM — set up on your Android device. |
OCA installs AI CLI tools via npm install -g during Step 7. All run through the glibc Node.js environment.
You can run advanced LLMs—like GPT-4.1, GPT-5 mini, MiniMax, Kimi, GLM—absolutely free via Copilot CLI, OpenCode app, or Zen! Here’s how:
Step 1: Pick a Free Model
- Run
/modelsor open model picker; look for:GPT-4.1,GPT-5 mini(FREE via GitHub integration)- MiniMax, Kimi, Big Pickle, GLM, Nemotron (Free via Zen/OpenCode!)
- Green tick/0x = no cost!
Step 2: Provide Your API Key
- Even free models need an API key (from Zen, OpenCode, etc).
- Register here and paste key at prompt.
Step 3: Respect Free Quota
| Model/Platform | Cost | Free Limit | Notes |
|---|---|---|---|
| GPT-4.1, 5-mini | ₹0 | 200 req / 5 hr | GitHub, Copilot |
| MiniMax, Kimi | ₹0 | 200 req / 5 hr | Zen, OpenCode |
| Big Pickle | ₹0 | Shared pool, capped | OpenCode |
| GLM/Nemotron | ₹0 | Shared pool, capped | Zen, Kilo Code |
Pro Tip: Main (Jarvis RTX⚡) bhi GPT-4.1 hoon—bilkul free tier ki tarah!
Caveats
- Free plan pe data provider ko model training ke liye jaa sakta hai—so avoid super private code.
- Models rotate/expire;
/modelsor Zen dashboard for latest free list!
For in-depth details and advanced tips, see full README “Getting Free AI Models” or OpenCode Zen Docs.
Best choice for Android — lightweight and uses --ignore-scripts which skips native builds that fail on Android.
Install:
npm install -g @qwen-code/qwen-code@latest --ignore-scriptsSetup:
qwen config set api-key YOUR_DASHSCOPE_KEY
qwen config set model qwen-coder-turboStart:
qwennpm install -g @anthropic-ai/claude-code
claude config set apiKey YOUR_ANTHROPIC_KEY
claudeGet your key at console.anthropic.com.
npm install -g @google/gemini-cli
gemini # prompts for Google account login on first runOr with API key:
export GEMINI_API_KEY=your_key
geminiGet your key at aistudio.google.com.
npm install -g @openai/codex
export OPENAI_API_KEY=your_key
codexAlways run AI CLIs inside tmux for long sessions:
tmux new -s ai
qwen
# Detach: Ctrl+B, then D
# Reattach: tmux attach -t ai# Check installed
npm list -g --depth=0
# Update all
npm update -g @qwen-code/qwen-code @anthropic-ai/claude-code @google/gemini-cli @openai/codex
# Or via OCA
oca --update