Fix/price calc (#862)
This commit is contained in:
parent
1c552ff23a
commit
fd0fc8f4fe
22 changed files with 288 additions and 230 deletions
|
|
@ -11,5 +11,19 @@
|
|||
"quota_unit": "tokens",
|
||||
"quota_limit": 600000
|
||||
},
|
||||
"model_flexibility": "fixed"
|
||||
"model_flexibility": "fixed",
|
||||
"price_config": {
|
||||
"claude-instant-1": {
|
||||
"prompt": "1.63",
|
||||
"completion": "5.51",
|
||||
"unit": "0.000001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"claude-2": {
|
||||
"prompt": "11.02",
|
||||
"completion": "32.68",
|
||||
"unit": "0.000001",
|
||||
"currency": "USD"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3,5 +3,48 @@
|
|||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "configurable"
|
||||
"model_flexibility": "configurable",
|
||||
"price_config":{
|
||||
"gpt-4": {
|
||||
"prompt": "0.03",
|
||||
"completion": "0.06",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"gpt-4-32k": {
|
||||
"prompt": "0.06",
|
||||
"completion": "0.12",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"gpt-35-turbo": {
|
||||
"prompt": "0.0015",
|
||||
"completion": "0.002",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"gpt-35-turbo-16k": {
|
||||
"prompt": "0.003",
|
||||
"completion": "0.004",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"text-davinci-002": {
|
||||
"prompt": "0.02",
|
||||
"completion": "0.02",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"text-davinci-003": {
|
||||
"prompt": "0.02",
|
||||
"completion": "0.02",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"text-embedding-ada-002":{
|
||||
"completion": "0.0001",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10,5 +10,42 @@
|
|||
"quota_unit": "times",
|
||||
"quota_limit": 200
|
||||
},
|
||||
"model_flexibility": "fixed"
|
||||
"model_flexibility": "fixed",
|
||||
"price_config": {
|
||||
"gpt-4": {
|
||||
"prompt": "0.03",
|
||||
"completion": "0.06",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"gpt-4-32k": {
|
||||
"prompt": "0.06",
|
||||
"completion": "0.12",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"gpt-3.5-turbo": {
|
||||
"prompt": "0.0015",
|
||||
"completion": "0.002",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"gpt-3.5-turbo-16k": {
|
||||
"prompt": "0.003",
|
||||
"completion": "0.004",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"text-davinci-003": {
|
||||
"prompt": "0.02",
|
||||
"completion": "0.02",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
},
|
||||
"text-embedding-ada-002":{
|
||||
"completion": "0.0001",
|
||||
"unit": "0.001",
|
||||
"currency": "USD"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3,5 +3,25 @@
|
|||
"custom"
|
||||
],
|
||||
"system_config": null,
|
||||
"model_flexibility": "fixed"
|
||||
"model_flexibility": "fixed",
|
||||
"price_config": {
|
||||
"ernie-bot": {
|
||||
"prompt": "0.012",
|
||||
"completion": "0.012",
|
||||
"unit": "0.001",
|
||||
"currency": "RMB"
|
||||
},
|
||||
"ernie-bot-turbo": {
|
||||
"prompt": "0.008",
|
||||
"completion": "0.008",
|
||||
"unit": "0.001",
|
||||
"currency": "RMB"
|
||||
},
|
||||
"bloomz-7b": {
|
||||
"prompt": "0.006",
|
||||
"completion": "0.006",
|
||||
"unit": "0.001",
|
||||
"currency": "RMB"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue