OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
Go to file
2024-04-16 13:03:05 +08:00
.github 💚 ci: windows does not use .lock files 2024-04-09 15:44:19 +08:00
bin chore: add model parameter to the time_test script (#245) 2023-07-04 18:13:59 +08:00
cli ♻️ refactor: Refactor price module (#123) (#109) (#128) 2024-03-28 16:53:34 +08:00
common feat: add Lark OAuth (#149) 2024-04-16 13:03:05 +08:00
controller feat: add Lark OAuth (#149) 2024-04-16 13:03:05 +08:00
cron feat: add chat cache (#152) 2024-04-16 10:36:18 +08:00
i18n feat: enable channel when test succeed (#771) 2023-12-03 20:10:57 +08:00
middleware feat: add chat cache (#152) 2024-04-16 10:36:18 +08:00
model feat: add Lark OAuth (#149) 2024-04-16 13:03:05 +08:00
providers 🐛 fix: gemini tools 2024-04-11 11:54:10 +08:00
relay feat: add chat cache (#152) 2024-04-16 10:36:18 +08:00
router feat: add Lark OAuth (#149) 2024-04-16 13:03:05 +08:00
types 🐛 fix: repair the error caused by incomplete parameters in third-party OpenAI interface (#135) 2024-04-02 12:02:00 +08:00
web feat: add Lark OAuth (#149) 2024-04-16 13:03:05 +08:00
.air.toml 更换web界面 2023-12-20 19:27:27 +08:00
.gitignore 💚 ci: Update .gitignore and add makefile for building the project 2024-03-25 11:21:24 +08:00
config.example.yaml feat: add notifier (#144) 2024-04-09 15:00:06 +08:00
docker-compose.yml 🐛 fix: fix docker image error (#131) 2024-03-29 13:12:58 +08:00
Dockerfile ci: add stage caching to Dockerfile (#408) 2023-08-13 22:55:43 +08:00
Dockerfile-action 💚 ci: add arm64 image 2024-03-15 13:48:52 +08:00
go.mod feat: add chat cache (#152) 2024-04-16 10:36:18 +08:00
go.sum feat: add chat cache (#152) 2024-04-16 10:36:18 +08:00
LICENSE docs: update LICENSE 2023-04-26 13:04:41 +08:00
main.go feat: add chat cache (#152) 2024-04-16 10:36:18 +08:00
makefile 💚 ci: Add .lock file 2024-04-02 14:16:08 +08:00
one-api.service chore: update one-api.service 2023-06-22 11:37:44 +08:00
pull_request_template.md 📝 doc: modify information (#57) 2024-01-26 18:41:11 +08:00
README.md feat: add Midjourney (#138) 2024-04-05 04:03:46 +08:00
VERSION fix: add a blank VERSION file (#135) 2023-06-02 14:20:40 +08:00

One API

本项目是基于one-api二次开发而来的,主要将原项目中的模块代码分离,模块化,并修改了前端界面。本项目同样遵循 MIT 协议。

license release docker docker GoReportCard

请不要和原版混用,因为新增功能,数据库与原版不兼容

演示网站

功能变化

  • 全新的 UI 界面
  • 新增用户仪表盘
  • 新增管理员分析数据统计界面
  • 重构了中转供应商模块
  • 支持使用Azure Speech模拟TTS功能
  • 渠道可配置单独的 http/socks5 代理
  • 支持动态返回用户模型列表
  • 支持自定义测速模型
  • 日志增加请求耗时
  • 支持和优化非 OpenAI 模型的函数调用(支持的模型可以在 lobe-chat 直接使用)
  • 支持完成倍率自定义
  • 支持完整的分页和排序
  • 支持Telegram bot
  • 支持模型按次收费
  • 支持模型通配符
  • 支持使用配置文件启动程序

文档

请查看文档

感谢

感谢以上项目的作者和贡献者

其他

Star History of MartialBE/one-api