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-13 12:18:26 +08:00
.github 🐛 fix: action error 2024-03-06 18:13:54 +08:00
bin chore: add model parameter to the time_test script (#245) 2023-07-04 18:13:59 +08:00
common 🐛 fix: hunyuan model name change (#100) 2024-03-11 16:16:22 +08:00
controller feat: support mistral (#94) 2024-03-10 01:53:33 +08:00
i18n feat: enable channel when test succeed (#771) 2023-12-03 20:10:57 +08:00
middleware feat: channel support weight (#85) 2024-03-06 18:01:43 +08:00
model ️ feat: channel support plugin settings (#89) 2024-03-08 14:49:33 +08:00
providers 🐛 fix: fix minimax streaming request without calculating token (#106) 2024-03-13 12:18:26 +08:00
router feat: channel support weight (#85) 2024-03-06 18:01:43 +08:00
types feat: support zhipu new API (#44) 2024-01-19 22:14:30 +08:00
web feat: Azure Speech allows for custom voices. (#104) 2024-03-12 17:37:08 +08:00
.air.toml 更换web界面 2023-12-20 19:27:27 +08:00
.gitignore ♻️ refactor: provider refactor (#41) 2024-01-19 02:47:10 +08:00
docker-compose.yml feat: add improve docker-compose.yml and support fast startup (#685) 2023-11-10 21:40:00 +08:00
Dockerfile ci: add stage caching to Dockerfile (#408) 2023-08-13 22:55:43 +08:00
go.mod ️ feat: channel support plugin settings (#89) 2024-03-08 14:49:33 +08:00
go.sum ️ feat: channel support plugin settings (#89) 2024-03-08 14:49:33 +08:00
LICENSE docs: update LICENSE 2023-04-26 13:04:41 +08:00
main.go feat: channel support weight (#85) 2024-03-06 18:01:43 +08:00
modelRatio.json feat: Support Claude3 (#86) 2024-03-07 01:21:07 +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 dockerhub 2024-02-26 10:19:51 +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