An open API service indexing awesome lists of open source software.

https://github.com/iimeta/fastapi

企业级 LLM API 快速集成系统,支持OpenAI、Azure、文心一言、讯飞星火、通义千问、智谱GLM、Gemini、DeepSeek、Anthropic Claude以及OpenAI格式的模型等,简洁的页面风格,轻量高效且稳定,支持Docker一键部署。
https://github.com/iimeta/fastapi

api chatgpt deepseek ernie-bot fast fastapi glm gpt gpt-4 openai qwen realtime spark

Last synced: 3 months ago
JSON representation

企业级 LLM API 快速集成系统,支持OpenAI、Azure、文心一言、讯飞星火、通义千问、智谱GLM、Gemini、DeepSeek、Anthropic Claude以及OpenAI格式的模型等,简洁的页面风格,轻量高效且稳定,支持Docker一键部署。

Awesome Lists containing this project

README

          

# 智元 Fast API

[![Release](https://img.shields.io/github/v/release/iimeta/fastapi?color=blue)](https://github.com/iimeta/fastapi/releases)
[![License](https://img.shields.io/static/v1?label=license&message=MIT&color=green)](https://github.com/iimeta/fastapi/blob/main/LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/iimeta/fastapi)](https://goreportcard.com/report/github.com/iimeta/fastapi)

企业级 LLM API 快速集成系统,有着轻量、高效、稳定等特点,将各类 LLM API 进行统一格式、统一规范、统一管理,使其在功能、性能和用户体验上达到极致。业务系统只需要按照统一API标准,对接一次的开发工作量,即可无缝对接N个大模型,无需考虑N个大模型背后的各种复杂逻辑等等,可大大降低开发和维护成本...

## 支持模型

| 公司 | Completion | Image | Audio | Multimodal | Realtime | Embedding | Moderation |
| ------------ | ---------- | ----- | ----- | ---------- | -------- | --------- | ---------- |
| OpenAI | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
| Azure | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ |
| 百度 | ✔️ | | | | | | |
| 科大讯飞 | ✔️ | ✔️ | | | | | |
| 阿里云 | ✔️ | | | | | | |
| 智谱AI | ✔️ | | | | | | |
| Google | ✔️ | | | ✔️ | | | |
| DeepSeek | ✔️ | | | | | | |
| 360智脑 | ✔️ | | | | | | |
| Midjourney | | ✔️ | | | | | |
| Anthropic | ✔️ | | | ✔️ | | | |
| GCPClaude | ✔️ | | | ✔️ | | | |
| AWSClaude | ✔️ | | | ✔️ | | | |
| 百度DeepSeek | ✔️ | | | | | | |
| 豆包 | ✔️ | | | | | | |
| 火山引擎 | ✔️ | | | | | | |

## 项目预览

- 管理端:
- 用户端:
- 代理商:
- 账号/密码均是: demo/123456

## 专业版预览

- 管理端:
- 用户端:
- 代理商:
- 账号/密码均是: demo/123456

## 部署支持

✔️ 集群部署
✔️ 多地部署
✔️ 跨区部署

## 部署教程

### [传送门](https://www.fastapi.ai/guide/)

## 公益站点

### 社区版

- 用户端:
- 代理商:
- API接口:

### 专业版

- 用户端:
- 代理商:
- API接口:

#### 社区版和专业版数据互通, 可根据自己喜好选择, 支持注册代理商, 社区版用户注册送10万刀额度, 专业版用户注册送100万刀额度

## 项目截图

### 管理端

![dashboard](https://github.com/user-attachments/assets/16244157-fd63-47bb-9db1-f7980e9c3d31)
![model](https://github.com/user-attachments/assets/ca12caaa-60ad-484c-a81a-d16927734fb9)
![key](https://github.com/user-attachments/assets/d9bef722-4643-456a-b7d1-b3e9d903757b)
![modelagent](https://github.com/user-attachments/assets/7bc78a7b-a335-427e-96f6-f3e6de30ef4b)
![corp](https://github.com/user-attachments/assets/23b0ba41-514d-4599-92a5-46fc13298bba)
![group](https://github.com/user-attachments/assets/63a14c81-e589-4d4c-8005-467dc8d595fc)
![user](https://github.com/user-attachments/assets/f8e9dc20-ef57-4ce4-a0b3-6b65fd1d9c67)
![app](https://github.com/user-attachments/assets/5e4c75ca-52f4-471d-861e-e63bbe040a87)
![appkey](https://github.com/user-attachments/assets/930b9c30-a826-4f24-94e0-6a3b6b2177ae)
![bill_list](https://github.com/user-attachments/assets/2713c41f-7acb-4d4d-ab91-b5065a293068)
![deal_record](https://github.com/user-attachments/assets/57c76020-5099-458b-aed8-6f56cb84bff6)
![chat](https://github.com/user-attachments/assets/f8425f91-6f9d-4ac8-a44b-8c5db16298a6)
![reseller](https://github.com/user-attachments/assets/02073936-54c6-48da-b756-083da5a21693)
![site](https://github.com/user-attachments/assets/77801369-6202-4a4f-948c-2330cdb46aa2)
![config](https://github.com/user-attachments/assets/f9065a51-1101-4f78-ac61-b479925bff0b)

### 代理商

![dashboard](https://github.com/user-attachments/assets/778e37bc-27ca-4adc-a112-5d6032577eed)
![mymodel](https://github.com/user-attachments/assets/507f24bf-3723-4d3f-8fa8-edb4250b419e)
![mygroup](https://github.com/user-attachments/assets/ec4b90c6-912a-476c-942e-1ed5816583bc)
![user](https://github.com/user-attachments/assets/bcba5e4b-6bc5-4f0b-9331-ccf699e0c377)
![app](https://github.com/user-attachments/assets/907bbb5f-60ec-4ade-a0e7-ed3a77321686)
![appkey](https://github.com/user-attachments/assets/1c84da90-70be-4481-ae3d-1299e4259d99)
![bill_list](https://github.com/user-attachments/assets/80f62d7d-bcf9-429f-a88e-985e45507234)
![deal_record](https://github.com/user-attachments/assets/f0875f47-4f2a-47de-b414-f91b220dee2a)
![chat](https://github.com/user-attachments/assets/7a6328e8-c407-49ba-a03a-3fde10cf40d7)
![site](https://github.com/user-attachments/assets/60f31ad1-577e-462b-ba3f-0da25325cbea)

### 用户端

![dashboard](https://github.com/user-attachments/assets/161f5448-0f84-4ab0-85fa-93c0c18a7c27)
![mymodel](https://github.com/user-attachments/assets/67de1da1-6347-4ffb-853e-07e102f828d5)
![mygroup](https://github.com/user-attachments/assets/6c0b7ebf-44e6-4c67-94d9-e6724ce60ad3)
![app](https://github.com/user-attachments/assets/063e1928-7be4-4f09-9c26-6283cf65bb9b)
![appkey](https://github.com/user-attachments/assets/cf7a0a58-5a09-427f-9d4f-61632e0369c2)
![bill_list](https://github.com/user-attachments/assets/c0d43e2a-fc96-4fb0-8526-cc088c3946c9)
![deal_record](https://github.com/user-attachments/assets/dfe29b40-a055-4ce6-94e6-ed35f5d41cb7)
![chat](https://github.com/user-attachments/assets/a00b0f6d-44de-4841-a84c-a1e9ba54aade)

## API接口

### 同OpenAI接口

```bash
curl --location 'https://api.fastapi.ai/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer sk-FastAPI1YzE0kXf0zNb0ldX1nBLDm1Bh0SoSK0G0PzR1tNxW' \
--data '{
"model": "gpt-3.5-turbo",
"stream": true,
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "hi"}
]
}'
```

## 开源地址

| 仓库 | API | Web | Admin | SDK |
| ---- |----------------------------------------------|------------------------------------------------------|----------------------------------------------------------|------------------------------------------------------|
| 主库 | [fastapi](https://github.com/iimeta/fastapi) | [fastapi-web](https://github.com/iimeta/fastapi-web) | [fastapi-admin](https://github.com/iimeta/fastapi-admin) | [fastapi-sdk](https://github.com/iimeta/fastapi-sdk) |
| 码云 | [fastapi](https://gitee.com/iimeta/fastapi) | [fastapi-web](https://gitee.com/iimeta/fastapi-web) | [fastapi-admin](https://gitee.com/iimeta/fastapi-admin) | [fastapi-sdk](https://gitee.com/iimeta/fastapi-sdk) |

## 作者

作者

## 交流群

交流群

![Star History Chart](https://api.star-history.com/svg?repos=iimeta/fastapi&type=Date)