-
Notifications
You must be signed in to change notification settings - Fork 32
Home
Alienkrishn edited this page Mar 30, 2025
·
2 revisions
- 10 Free AI Models via OpenRouter API
- Interactive Terminal UI with color support
-
Encrypted API Key Storage in
~/.config/termux_assistant/ - Conversation History with timestamp
- No Root Required
curl -sL https://is.gd/Termux_Ai | bashAuto-installs dependencies:
-
curl- API requests -
jq- JSON processing -
bc- Math calculations
| Model ID | Provider | Parameters | Best For |
|---|---|---|---|
deepseek-r1 |
Deepseek | 7B | General Q&A |
qwen2.5-vl-32b |
Alibaba | 32B | Multimodal |
rogue-rose |
Sophosympatheia | 103B | Technical analysis |
| Full list... |
💡 Tip: Use mistral-small for fastest responses
- Launch with
termux-ai - Navigate to:
Settings (2) → API Key (1) - Enter your OpenRouter key
[MAIN MENU]
1. Start Chat Session
2. Settings
3. View History
4. Exit
- Type
exitorquitto end session - Press
Ctrl+Cfor emergency exit
| Option | Description | Default |
|---|---|---|
| API Key | OpenRouter authentication | - |
| Model Selection | Switch between 10 models | deepseek-r1 |
| Max Tokens | Response length limit | 800 |
| Temperature | Creativity control (0.1-2.0) | 0.7 |
| Symptom | Solution |
|---|---|
| API errors | Verify key at OpenRouter |
| Model timeout | Switch to lighter model (gemma-3-27b) |
| Blank responses | Check debug.log for errors |
# View error logs
cat ~/.config/termux_assistant/debug.log
# Check history
nl -ba ~/.config/termux_assistant/historypkg upgrade termux-ai # If installed via repoor
curl -sL https://is.gd/Termux_Ai | bash # Fresh install~/.config/termux_assistant/
-
config- Settings -
history- Chat logs -
api_key- Encrypted credential
Yes - add funds to your OpenRouter account for GPT-4/Claude access
-
No pipe input (
echo "hi" | termux-ai) - No command arguments (all settings in-menu)
- No background mode (keep Termux open)
- Use
termux-wake-lockfor long sessions - Clear history via
Settings → Clear History - Lower
max_tokenson slow connections
🔗 Official Repository: Anon4You/Termux-Ai
📅 Last Updated: July 2024
🐞 Report Issues: GitHub Issues
| Model ID | Context Window | Supported Languages | Rate Limits |
|---|---|---|---|
deepseek-r1 |
4K | EN/CN/JP | 5 req/min |
qwen2.5-vl-32b |
8K | Multilingual | 3 req/min |
rogue-rose |
16K | EN/DE/FR | 1 req/min |