feat(pricing): add qwen hunyuan and huawei maas payg importers
This commit is contained in:
74
scripts/testdata/huawei_maas_pricing_sample.json
vendored
Normal file
74
scripts/testdata/huawei_maas_pricing_sample.json
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"product": {
|
||||
"modelarts_modelarts.tokens": [
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.deepseek.v4.pro",
|
||||
"resourceSpecType": "DeepSeek",
|
||||
"Model Name": "deepseek-v4-pro",
|
||||
"planList": [{"usageFactor": "input", "amount": 0.012}],
|
||||
"tableUnit": "detail_6_"
|
||||
},
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.deepseek.v4.pro",
|
||||
"resourceSpecType": "DeepSeek",
|
||||
"Model Name": "deepseek-v4-pro",
|
||||
"planList": [{"usageFactor": "output", "amount": 0.024}],
|
||||
"tableUnit": "detail_6_"
|
||||
},
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.qwen3-32b",
|
||||
"resourceSpecType": "Qwen",
|
||||
"Model Name": "qwen3-32b",
|
||||
"planList": [{"usageFactor": "input", "amount": 0.002}],
|
||||
"tableUnit": "detail_6_"
|
||||
},
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.qwen3-32b",
|
||||
"resourceSpecType": "Qwen",
|
||||
"Model Name": "qwen3-32b",
|
||||
"planList": [{"usageFactor": "output", "amount": 0.008}],
|
||||
"tableUnit": "detail_6_"
|
||||
},
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.qwen3-32b",
|
||||
"resourceSpecType": "Qwen",
|
||||
"Model Name": "qwen3-32b",
|
||||
"planList": [{"usageFactor": "output_with_think", "amount": 0.02}],
|
||||
"tableUnit": "detail_6_"
|
||||
},
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.glm.5",
|
||||
"resourceSpecType": "GLM",
|
||||
"Model Name": "glm-5",
|
||||
"planList": [{"usageFactor": "input_token_interval_1", "amount": 0.004}],
|
||||
"tableUnit": "detail_6_"
|
||||
},
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.glm.5",
|
||||
"resourceSpecType": "GLM",
|
||||
"Model Name": "glm-5",
|
||||
"planList": [{"usageFactor": "input_token_interval_2", "amount": 0.006}],
|
||||
"tableUnit": "detail_6_"
|
||||
},
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.glm.5",
|
||||
"resourceSpecType": "GLM",
|
||||
"Model Name": "glm-5",
|
||||
"planList": [{"usageFactor": "output_token_interval_1", "amount": 0.018}],
|
||||
"tableUnit": "detail_6_"
|
||||
},
|
||||
{
|
||||
"resourceSpecCode": "modelarts.tokens.glm.5",
|
||||
"resourceSpecType": "GLM",
|
||||
"Model Name": "glm-5",
|
||||
"planList": [{"usageFactor": "output_token_interval_2", "amount": 0.022}],
|
||||
"tableUnit": "detail_6_"
|
||||
}
|
||||
]
|
||||
},
|
||||
"period": {},
|
||||
"region": {},
|
||||
"tag": {},
|
||||
"urlPath": "maas",
|
||||
"tab": {}
|
||||
}
|
||||
21
scripts/testdata/hunyuan_pricing_sample.txt
vendored
Normal file
21
scripts/testdata/hunyuan_pricing_sample.txt
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
混元生文价格说明
|
||||
token 后付费
|
||||
在免费额度用完后,按如下价格进行后付费计费。
|
||||
产品名
|
||||
输入长度 ≤32k tokens
|
||||
输入长度 (32k, 128k] tokens
|
||||
Tencent HY 2.0 Think
|
||||
输入:4.13元
|
||||
输出:16.58元
|
||||
Tencent HY 2.0 Instruct
|
||||
输入:0.57元
|
||||
输出:2.27元
|
||||
Hunyuan-T1
|
||||
输入:1元
|
||||
输出:4元
|
||||
Hunyuan-TurboS
|
||||
输入:0.8元
|
||||
输出:2元
|
||||
hunyuan-large-role
|
||||
输入:0.24元
|
||||
输出:0.96元
|
||||
38
scripts/testdata/qwen_pricing_sample.txt
vendored
Normal file
38
scripts/testdata/qwen_pricing_sample.txt
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
更新时间:2026-05-22
|
||||
模型调用计费
|
||||
文本生成-千问
|
||||
模型名称
|
||||
输入单价(每百万 Token)
|
||||
输出单价(每百万 Token)
|
||||
免费额度 (注)
|
||||
qwen-max
|
||||
当前能力等同于 qwen-max-2024-09-19 Batch 调用 半价
|
||||
仅非思考模式
|
||||
无阶梯计价
|
||||
2.4 元
|
||||
9.6 元
|
||||
各 100 万 Token
|
||||
qwen-plus
|
||||
当前能力等同于 qwen-plus-2025-12-01 Batch 调用 半价
|
||||
0<Token≤128K
|
||||
0.8 元
|
||||
2 元
|
||||
8 元
|
||||
128K<Token≤256K
|
||||
2.4 元
|
||||
20 元
|
||||
qwen-vl-max
|
||||
当前能力等同于 qwen-vl-max-2025-08-13 Batch 调用 半价 上下文缓存 享有折扣
|
||||
无阶梯计价
|
||||
1.6 元
|
||||
4 元
|
||||
各 100 万 Token
|
||||
qwen3-coder-plus
|
||||
当前能力等同于 qwen3-coder-plus-2025-09-23 上下文缓存 享有折扣
|
||||
0<Token≤32K
|
||||
4 元
|
||||
16 元
|
||||
各 100 万 Token
|
||||
32K<Token≤128K
|
||||
6 元
|
||||
24 元
|
||||
Reference in New Issue
Block a user