Free-tier model knowledge
Bundle OKF 0.2 · 4 conceitos · qtgf520/kai-qt
Open source Repository Open in the app JSON README (API)
About
# Free-tier model knowledge
OKF v0.2 bundle for Kai’s **curated free-tier model lists**. Agents use this folder for policy, provenance, and freshness when refreshing the runtime catalog.
## Runtime vs knowledge
| Layer | Path | Role |
|---|---|---|
| **Runtime** (shipped) | `composeApp/src/commonMain/kotlin/com/inspiredandroid/kai/data/FreeTierModels.kt` | Source of truth for Free badges in the app |
| **Knowledge** (this bundle) | `docs/knowledge/free-tier/` | Curation policy, current snapshot, sources, stale dates |
| **Refresh skill** | `.grok/skills/update-free-tier-models/SKILL.md` | Fetches external sources, updates Kotlin + this bundle |
The app **never** reads this directory at runtime. No live pricing calls are made in production.
## Scope
Only **OpenRouter** and **Ollama Cloud** are curated. Free-ness is **per service**, not global.
## Catalogs
* [OpenRouter free-tier models](openrouter.md) — $0 prompt + completion pricing (chat-oriented)
* [Ollama Cloud free-tier mod
Details
- Kind
- OKF bundles
- Topic
- AI, RAG & memory
- Publisher
- qtgf520
- Origin
- okf_github
- Category
- dados
- Version
- 0.2
- Stars
- 1
- Last push
- 2026-09-11T05:56:12Z
- Repository state
- ativo
- Language
- Kotlin
- License
- Apache-2.0
- Added
- 2026-09-10 23:05:11
- Updated
- 2026-09-10 23:05:11
- Origin id
qtgf520/kai-qt:docs/knowledge/free-tier/index.md
README
# Kai2 9000
<img src="https://img.shields.io/badge/Platform-Android-34a853.svg?logo=android" alt="Android" /> <img src="https://img.shields.io/badge/Platform-Web-f7df1c?logo=javascript" alt="Web"> <img src="https://img.shields.io/badge/Platform-iOS-lightgrey.svg?logo=apple" alt="iOS" /> <img src="https://img.shields.io/badge/Platform-Windows/macOS/Linux-e10707.svg?logo=openjdk" alt="Platform JVM" />
<div align="center">
<br>
<img src="site/img/logo_animation.gif" height="80">
<br>
<br>
**开源的 AI 助手,拥有持久记忆** — 运行在 **Android、iOS、Windows、Mac、Linux 和 Web** 平台。
**Kai 9000 二开版本** — 綦桐定制 · 包名 `com.qtkai.zhong`
**[GitHub 仓库](https://github.com/qtgf520/kai-qt)** · **[下载 Release](https://github.com/qtgf520/kai-qt/releases)**
</div>
---
## 安装
### Android APK 下载
| 版本 | 包名 | 下载 |
|------|------|------|
| 最新版 | `com.qtkai.zhong` | [GitHub Releases](https://github.com/qtgf520/kai-qt/releases) |
APK 文件名格式:`KaiQt9000-版本号-android.apk`(如 `KaiQt9000-3.2.0-2-android.apk`)
### 其他平台
| 平台 | 格式 | 下载 |
|------|------|------|
| macOS | DMG | [GitHub Releases](https://github.com/qtgf520/kai-qt/releases) |
| Windows | MSI | [GitHub Releases](https://github.com/qtgf520/kai-qt/releases) |
| Linux | DEB / RPM / AppImage | [GitHub Releases](https://github.com/qtgf520/kai-qt/releases) |
---
## AI 不止生成文字,还能构建界面
Kai2 9000 的交互式 UI 让 AI 生成完整的可交互界面 —— 测验、仪表盘、菜谱、头脑风暴等。点击按钮即可导航,而不是翻聊天记录。
## 功能特性
- **持久记忆** — Kai 跨对话记住重要细节并自动使用
- **可定制灵魂** — 用可编辑的系统提示词定义 AI 的个性和行为
- **多服务故障转移** — 29 个 LLM 服务商自动切换
- **本地推理** — 在 Android 上用 LiteRT 本地运行 AI 模型,无需联网
- **工具执行** — 网页搜索、通知、日历事件、Shell 命令等
- **MCP 服务端支持** — 通过模型上下文协议连接远程工具服务器
- **自主心跳** — 定时自检,主动提醒需要关注的事项
- **设置导入/导出** — JSON 文件备份和恢复所有设置
- **加密存储** — 对话本地加密保存
- **文字转语音** — 语音播报 AI 回复
- **Linux 沙箱** — Android 上 AI 可在安全的 Linux 沙箱中运行 Shell 命令、脚本和工具
- **图片附件** — 任意对话中附加图片
## Linux 沙箱(Android)
在 Android 上,Kai2 9000 内置 Linux 环境,AI 可以执行 Shell 命令、运行脚本、操作工具 —— 从聊天助手变成真正能行动的助手。
- **基于 Alpine Linux** — 轻量 ~3MB 下载,通过 [proot](https://proot-me.github.io/) 建立完整 Linux 用户空间,无需 root
- **可选包** — 一键安装 bash、curl、wget、git、jq、python3、pip、Node.js
- **交互终端** — 内置终端,可手动运行命令
- **安全** — 一切都在应用沙箱内运行,不接触宿主机
在 **设置 > Linux 沙箱** 中启用。
## 工作原理
```
┌────────┐
│ User │
└───┬────┘
│ message
▼
┌─────────────────────────┐
│ Chat │
│ │
│ prompt + memories │
│ │ │
│ ▼ │
│ ┌────────┐ │
│ │ AI │◀─┐ │
│ └───┬────┘ │ │
│ │ tool calls │
│ │ & results │
│ ▼ │ │
│ ┌────────┐ │ │
│ │ Tools │─┘ │
│ └───┬────┘ │
│ │ │
└────────┼───────────────┘
│ store / recall
▼
┌─────────────────┐ hitCount >= 5
│ Memory │───────────────────┐
│ │ │
│ facts, prefs, │ ▼
│ learnings │ ┌────────────────┐
│ │◀─delete──│ Promote into │
└─────────────────┘ │ System Prompt │
▲ └────────────────┘
│ reviews
│
┌─────────────────┐
│ Heartbeat │
│ │
│ autonomous │
│ self-check │
│ every 30 min │
│ (8am–10pm) │
│ │
│ all good? │
│ → stays silent │
│ needs action? │
│ → notifies user│
└─────────────────┘
```
- **聊天** — 用户发送消息。AI 回复,循环调用工具(记忆、网页搜索、Shell 等)直到得到最终答案。
- **记忆** — AI 存储和回忆事实、偏好、学习成果。多次命中(5次以上)的记忆可永久提升进系统提示词。
- **心跳** — 后台每 30 分钟自检一次,检查记忆、待办任务和邮件。需要关注时通知用户,否则保持静默。
## 支持的服务商
**[Atlas Cloud](https://www.atlascloud.ai)** · [Anthropic](https://console.anthropic.com) · [OpenAI](https://openai.com) · [Gemini](https://aistudio.google.com) · [DeepSeek](https://www.deepseek.com) · [Mistral](https://mistral.ai) · [xAI](https://x.ai) · [OpenRouter](https://openrouter.ai) · [Groq](https://groq.com) · [NVIDIA](https://developer.nvidia.com) · [Cerebras](https://cerebras.ai) · [Ollama Cloud](https://ollama.com) · [Together AI](https://together.ai) · [Hugging Face](https://huggingface.co) · [Moonshot AI](https://moonshot.cn) · [MiniMax](https://minimax.io) · [Perplexity](https://www.perplexity.ai) · OpenAI 兼容 API · LiteRT 本地推理(Android)· 免费档(无需 API Key)
## MCP 服务端
Kai 支持 [模型上下文协议](https://modelcontextprotocol.io/),可连接外部工具服务器。在 **设置 > 工具 > 添加 MCP 服务器** 中连接任意 Streamable HTTP MCP 端点,或从精选的免费服务器列表中选择:
| 服务器 | 描述 |
|--------|------|
| Context7 | 最新的库和框架文档 |
| MDN | Web 文档、搜索和浏览器兼容性 |
| DeepWiki | 任意 GitHub 仓库的 AI 文档 |
| Parallel Search | 实时网页搜索和内容提取 |
| Yahoo Finance | 股票数据、市场新闻和价格历史 |
| CoinGecko | 实时加密货币价格和市场数据 |
| Jina AI | URL 转 Markdown、网页搜索、图片搜索 |
| Open-Meteo Weather | 全球天气预报和空气质量 |
| Kiwi.com | 跨航空公司的灵活航班搜索 |
| tldraw | 图表和白板 |
## 集成
### Splinterlands 自动对战(Android & 桌面端)
Kai 可以自动玩 [Splinterlands](https://splinterlands.com) Wild Ranked 对战。在 **设置 > 集成** 中配置。
## 支持的语言
中文(简体)、中文(繁体)、English、日本語、한국어、Deutsch、Français、Español、Русский 等 50+ 语言
## 贡献
本仓库为 Kai 9000 的二开版本,由綦桐定制维护。
## 许可证
[LICENSE.txt](LICENSE.txt) — 基于 MIT License(Kai 9000 原项目)