1 Star 0 Fork 0

574893508/aidea-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
coins-table.yaml 3.26 KB
一键复制 编辑 原始数据 按行查看 历史
# 注册账号赠币数量
signup_gift_coins: 1000
# 绑定手机赠币数量
bind_phone_gift_coins: 1000
# 邀请赠币数量
invite_gift_coins: 100
# 被邀请赠币数量
invited_gift_coins: 100
# 被引荐人充值,引荐人获得的奖励比例
invite_payment_gift_rate: 0.05
# 优先显示美元价格
# 启用后,在充值页面将默认显示美元价格
prefer_usd: false
# 默认汇率(人民币-美元)
default_exchange_rate: 7.1
# 在线充值产品列表,这里为空时,将使用 internal/coins/ 中的 products 数据
# 字段说明:
# - id: 产品 ID,唯一标识,不能重复
# - name: 产品名称
# - quota: 购买后获得的智慧果数量
# - retail_price: 零售价,单位为分
# - retail_price_usd: 零售价,单位为美元(用于 Stripe 支付方式)
# - expire_policy: 有效期,可选值为 never, week, 2week, month, 3month, 6month, year
# - recommend: 是否推荐,推荐的产品会在充值页面显示 Best Deal 标识
# - methods: 支持的支付方式,可选值为 alipay, apple_pay, stripe,默认全部支持
products:
- id: cc.aicode.aidea.coins_600_2
name: 6元700个
quota: 700
retail_price: 600
expire_policy: month
- id: cc.aicode.aidea.coins_3800
name: 38元5000个
quota: 5000
retail_price: 3800
expire_policy: 3month
recommend: true
# 所有模型的使用价格表,单位为智慧果
# 该文件中的配置会覆盖 internal/coins/price.go 中的 coinTables 数据,两者数据会取并集
coin_tables:
# 图片生成价格:文生图、图生图、超分辨率、上色
image:
default: 20
dall-e-3: 100
dall-e-3-hd: 150
dall-e-2: 20
# 所有聊天模型都在这里配置,因为历史遗留原因,都归类到了 openai 下
openai:
# 百川大模型
Baichuan2-53B: 3
baichuan2-7b-chat-v1: 2
# Anthropic
claude-2: 25
claude-instant-1: 5
claude-3-opus: 50
claude-3-sonnet: 5
claude-3-haiku: 1
# 讯飞星火
general: 3
generalv2: 5
generalv3: 5
"generalv3.5": 5
# OpenAI
gpt-3.5-turbo: 3
gpt-3.5-turbo-16k: 5
gpt-3.5-turbo-16k-0613: 5
gpt-3.5-turbo-0613: 3
gpt-4: 45
gpt-4-8k: 45
gpt-4-32k: 90
# 腾讯混元大模型
hyllm: 3
hyllm_std: 3
hyllm_pro: 15
# 文心千帆
model_badiu_llama2_70b: 6 # 拼写错误,但是已经上线了,不能改了
model_baidu_llama2_13b: 2
model_baidu_aquila_chat7b: 2
model_baidu_bloomz_7b: 2
model_baidu_chatglm2_6b_32k: 2
model_baidu_llama2_7b_cn: 2
model_ernie_bot: 4
model_ernie_bot_turbo: 2
model_ernie_bot_4: 15
model_baidu_llama2_13b_cn: 2
model_baidu_xuanyuan_70b: 5
model_baidu_chat_law: 2
model_baidu_mixtral_8x7b_instruct: 5
# 商汤日日新
nova-ptc-xl-v1: 3
nova-ptc-xs-v1: 2
# 通义千问(模型服务灵积)
qwen-plus: 3
qwen-plus-v1: 3
qwen-turbo: 1
qwen-v1: 1
qwen-max: 1
qwen-max-longcontext: 1
qwen-vl-plus: 1
# Google
gemini-pro: 3
gemini-pro-vision: 5
# OpenRouter
"01-ai.yi-34b-chat": 1
# 天工
SkyChat-MegaVerse: 2
# 智谱
glm-4: 15
glm-4v: 15
glm-3-turbo: 1
# 月之暗面
moonshot-v1-8k: 2
moonshot-v1-32k: 4
moonshot-v1-128k: 10
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zyl1221/aidea-server.git
git@gitee.com:zyl1221/aidea-server.git
zyl1221
aidea-server
aidea-server
main

搜索帮助