Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
08db1449
authored
Mar 16, 2025
by
1808837298@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README
parent
2db59995
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
17 deletions
+16
-17
README.md
+16
-17
No files found.
README.md
View file @
08db1449
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
> 本项目为开源项目,在[One API](https://github.com/songquanpeng/one-api)的基础上进行二次开发
> 本项目为开源项目,在[One API](https://github.com/songquanpeng/one-api)的基础上进行二次开发
> [!IMPORTANT]
> [!IMPORTANT]
> - 使用者必须在遵循 OpenAI 的[使用条款](https://openai.com/policies/terms-of-use)以及**法律法规**的情况下使用,不得用于非法用途。
> - 本项目仅供个人学习使用,不保证稳定性,且不提供任何技术支持。
> - 本项目仅供个人学习使用,不保证稳定性,且不提供任何技术支持。
> - 使用者必须在遵循 OpenAI 的[使用条款](https://openai.com/policies/terms-of-use)以及**法律法规**的情况下使用,不得用于非法用途。
> - 根据[《生成式人工智能服务管理暂行办法》](http://www.cac.gov.cn/2023-07/13/c_1690898327029107.htm)的要求,请勿对中国地区公众提供一切未经备案的生成式人工智能服务。
> - 根据[《生成式人工智能服务管理暂行办法》](http://www.cac.gov.cn/2023-07/13/c_1690898327029107.htm)的要求,请勿对中国地区公众提供一切未经备案的生成式人工智能服务。
## 📚 文档
## 📚 文档
...
@@ -46,33 +46,32 @@
...
@@ -46,33 +46,32 @@
## ✨ 主要特性
## ✨ 主要特性
New API提供了丰富的功能,详细特性请参考
[
维基百科-
特性说明
](
https://docs.newapi.pro/wiki/features-introduction
)
:
New API提供了丰富的功能,详细特性请参考
[
特性说明
](
https://docs.newapi.pro/wiki/features-introduction
)
:
1.
🎨 全新的UI界面
1.
🎨 全新的UI界面
2.
🌍 多语言支持
2.
🌍 多语言支持
3.
💰 支持在线充值功能(易支付)
3.
💰 支持在线充值功能(易支付)
4.
🔍 支持用key查询使用额度(配合
[
neko-api-key-tool
](
https://github.com/Calcium-Ion/neko-api-key-tool
)
)
4.
🔍 支持用key查询使用额度(配合
[
neko-api-key-tool
](
https://github.com/Calcium-Ion/neko-api-key-tool
)
)
5.
📑 分页支持选择每页显示数量
5.
🔄 兼容原版One API的数据库
6.
🔄 兼容原版One API的数据库
6.
💵 支持模型按次数收费
7.
💵 支持模型按次数收费
7.
⚖️ 支持渠道加权随机
8.
⚖️ 支持渠道加权随机
8.
📈 数据看板(控制台)
9.
📈 数据看板(控制台)
9.
🔒 令牌分组、模型限制
10.
🔒 可设置令牌能调用的模型
10.
🤖 支持更多授权登陆方式(LinuxDO,Telegram、OIDC)
11.
🤖 支持Telegram授权登录
11.
🔄 支持Rerank模型(Cohere和Jina),
[
接口文档
](
https://docs.newapi.pro/api/jinaai-rerank
)
12.
🔄 支持Rerank模型(Cohere和Jina),
[
接口文档
](
https://docs.newapi.pro/api/jinaai-rerank
)
12.
⚡ 支持OpenAI Realtime API(包括Azure渠道),
[
接口文档
](
https://docs.newapi.pro/api/openai-realtime
)
13.
⚡ 支持OpenAI Realtime API(包括Azure渠道),
[
接口文档
](
https://docs.newapi.pro/api/openai-realtime
)
13.
⚡ 支持Claude Messages 格式,
[
接口文档
](
https://docs.newapi.pro/api/anthropic-chat
)
14.
⚡ 支持Claude Messages 格式,
[
接口文档
](
https://docs.newapi.pro/api/anthropic-chat
)
14.
支持使用路由/chat2link进入聊天界面
15.
支持使用路由/chat2link进入聊天界面
15.
🧠 支持通过模型名称后缀设置 reasoning effort:
16.
🧠 支持通过模型名称后缀设置 reasoning effort:
1.
OpenAI o系列模型
1.
OpenAI o系列模型
-
添加后缀
`-high`
设置为 high reasoning effort (例如:
`o3-mini-high`
)
-
添加后缀
`-high`
设置为 high reasoning effort (例如:
`o3-mini-high`
)
-
添加后缀
`-medium`
设置为 medium reasoning effort (例如:
`o3-mini-medium`
)
-
添加后缀
`-medium`
设置为 medium reasoning effort (例如:
`o3-mini-medium`
)
-
添加后缀
`-low`
设置为 low reasoning effort (例如:
`o3-mini-low`
)
-
添加后缀
`-low`
设置为 low reasoning effort (例如:
`o3-mini-low`
)
2.
Claude 思考模型
2.
Claude 思考模型
-
添加后缀
`-thinking`
启用思考模式 (例如:
`claude-3-7-sonnet-20250219-thinking`
)
-
添加后缀
`-thinking`
启用思考模式 (例如:
`claude-3-7-sonnet-20250219-thinking`
)
1
7
.
🔄 思考转内容功能
1
6
.
🔄 思考转内容功能
1
8.
🔄
模型限流功能
1
7.
🔄 针对用户的
模型限流功能
1
9
.
💰 缓存计费支持,开启后可以在缓存命中时按照设定的比例计费:
1
8
.
💰 缓存计费支持,开启后可以在缓存命中时按照设定的比例计费:
1.
在
`系统设置-运营设置`
中设置
`提示缓存倍率`
选项
1.
在
`系统设置-运营设置`
中设置
`提示缓存倍率`
选项
2.
在渠道中设置
`提示缓存倍率`
,范围 0-1,例如设置为 0.5 表示缓存命中时按照 50% 计费
2.
在渠道中设置
`提示缓存倍率`
,范围 0-1,例如设置为 0.5 表示缓存命中时按照 50% 计费
3.
支持的渠道:
3.
支持的渠道:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment