Repository navigation
本地 AI 中转代理,开发 AI 应用时保护 API 密钥不泄露,聚合多平台统一调用,额度用完自动切换,支持 OpenAI 与 Anthropic 格式。
核心功能
- 密钥保护 — 生成伪装 URL 和 API Key,真实密钥永不暴露在项目代码中
- 多平台聚合 — 同时接入 OpenAI、Anthropic 及任意兼容中转站,统一入口调用
- 多 Key 轮询 — 单平台多 Key 支持轮询 / 优先级 / 加权 / 随机策略
- 自动故障转移 — Key 报错或超时自动切换,可选自动禁用故障 Key
- 全格式兼容 — 支持 OpenAI 和 Anthropic 全部 API 端点(Chat、Embeddings、Images、Audio、Files、Assistants 等)
- 流式响应 — 完整支持 SSE 流式转发
- 加密存储 — AES-256-GCM 加密,数据与机器绑定
- 模型列表 — 自动获取上游模型,支持搜索和一键复制
- 请求日志 — 记录每次调用的耗时、Token 用量、状态
- 批量 Key 操作 — 一键全部启用 / 禁用
下载
文件 说明 大小 Keyhide Setup 1.0.0.exe Windows 安装包 ~79 MB Keyhide-Portable-1.0.0.exe 免安装便携版 ~79 MB
快速开始
- 下载并运行安装包(或使用便携版免安装)
- 打开 Keyhide →「上游平台」→ 添加你的 AI 平台和 API Key
- 进入「代理服务」→ 启动代理
- 复制伪装 URL 和 API Key,替换你项目中的真实凭证
系统要求
- Windows 10 / 11(64 位)
文档
详细使用说明请参阅 README
安全
- 默认仅监听 127.0.0.1 ,不暴露到公网
- 所有数据 AES-256-GCM 加密存储于 AppData\LocalLow\Keyhide\
- 密钥基于机器特征派生,文件被拷走也无法解密
Full Changelog : https://github.com/relliex/Proxy_Keyhide/commits/v1.0.0
Local AI relay proxy that protects your API keys from leaking when developing AI apps, aggregates multiple platforms into one unified endpoint, auto-switches keys when quota runs out. Supports OpenAI & Anthropic formats.
Key Features
- Key Protection — Generates masked URL and API Key; real keys never exposed in project code
- Multi-Platform Aggregation — Connect OpenAI, Anthropic, and any compatible relay service through one entry point
- Multi-Key Rotation — Round-robin / priority / weighted / random strategies per platform
- Auto Failover — Automatically switches to next available key on errors or timeouts; optional auto-disable
- Full API Compatibility — Supports all OpenAI and Anthropic endpoints (Chat, Embeddings, Images, Audio, Files, Assistants, etc.)
- Streaming Support — Full SSE streaming passthrough
- Encrypted Storage — AES-256-GCM encryption, machine-bound
- Model List — Auto-fetch upstream models with search and one-click copy
- Request Logging — Tracks duration, token usage, and status for each call
- Bulk Key Operations — Enable / disable all keys with one click
Downloads
File Description Size Keyhide Setup 1.0.0.exe Windows installer ~79 MB Keyhide-Portable-1.0.0.exe Portable version, no install needed ~79 MB
Quick Start
- Download and run the installer (or use the portable version)
- Open Keyhide → Upstream Platforms → Add your AI platform and API key
- Go to Proxy Service → Start proxy
- Copy the masked URL and API Key, replace real credentials in your project
System Requirements
- Windows 10 / 11 (64-bit)
Documentation
See README for detailed usage instructions (available in Chinese & English)
🔒 Security
- Binds to 127.0.0.1 by default — not exposed to public internet
- All data encrypted with AES-256-GCM at AppData\LocalLow\Keyhide\
- Machine-bound key derivation — encrypted files cannot be decrypted on other machines
Full Changelog : https://github.com/relliex/Proxy_Keyhide/commits/v1.0.0
Full Changelog: https://github.com/relliex/Proxy_Keyhide/commits/v1.0.0