mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
35 lines
758 B
TypeScript
35 lines
758 B
TypeScript
// model price: xxx/1k tokens
|
|
// ¥1 = 100000.
|
|
export const PRICE_SCALE = 100000;
|
|
|
|
export enum BillSourceEnum {
|
|
fastgpt = 'fastgpt',
|
|
api = 'api',
|
|
shareLink = 'shareLink',
|
|
training = 'training',
|
|
|
|
standSubPlan = 'standSubPlan',
|
|
extraDatasetSub = 'extraDatasetSub'
|
|
}
|
|
|
|
export const BillSourceMap = {
|
|
[BillSourceEnum.fastgpt]: {
|
|
label: '在线使用'
|
|
},
|
|
[BillSourceEnum.api]: {
|
|
label: 'Api'
|
|
},
|
|
[BillSourceEnum.shareLink]: {
|
|
label: '免登录链接'
|
|
},
|
|
[BillSourceEnum.training]: {
|
|
label: 'dataset.Training Name'
|
|
},
|
|
[BillSourceEnum.standSubPlan]: {
|
|
label: 'support.wallet.subscription.type.standard'
|
|
},
|
|
[BillSourceEnum.extraDatasetSub]: {
|
|
label: 'support.wallet.subscription.type.extraDatasetSize'
|
|
}
|
|
};
|