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-03-30 19:49:49 +08:00
.github 💚 ci: Update build command in macos-release.yml 2024-03-20 11:54:38 +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 ♻️ refactor: Refactor price module (#123) (#109) (#128) 2024-03-28 16:53:34 +08:00
controller ♻️ refactor: Refactor price module (#123) (#109) (#128) 2024-03-28 16:53:34 +08:00
i18n feat: enable channel when test succeed (#771) 2023-12-03 20:10:57 +08:00
middleware 🐛 fix: Prevent API abuse 2024-03-30 19:49:49 +08:00
model ️ improve: Prohibit users from deleting accounts (#132) 2024-03-30 19:49:42 +08:00
providers 🐛 fix: fix gemini error_code type error 2024-03-25 10:52:17 +08:00
relay ♻️ refactor: Refactor price module (#123) (#109) (#128) 2024-03-28 16:53:34 +08:00
router 🐛 fix: Prevent API abuse 2024-03-30 19:49:49 +08:00
types feat: support Groq (#107) 2024-03-13 15:36:31 +08:00
web ️ improve: Prohibit users from deleting accounts (#132) 2024-03-30 19:49:42 +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 ♻️ refactor: Refactor price module (#123) (#109) (#128) 2024-03-28 16:53:34 +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: support configuration file (#117) 2024-03-20 14:12:47 +08:00
go.sum feat: support configuration file (#117) 2024-03-20 14:12:47 +08:00
LICENSE docs: update LICENSE 2023-04-26 13:04:41 +08:00
main.go ♻️ refactor: Refactor price module (#123) (#109) (#128) 2024-03-28 16:53:34 +08:00
makefile 💚 ci: Update .gitignore and add makefile for building the project 2024-03-25 11:21:24 +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 📝 doc: update readme 2024-03-28 17:15:17 +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