diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-29 09:27:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-29 09:27:11 +0800 |
| commit | 34041a976c0977d51123e6d5fefd944e222e2918 (patch) | |
| tree | 1186205314499e911a702289c1dafb898479ed3d /models.yaml | |
| parent | 68882ecd4dced38e92b6ef581a30e45358fc61e0 (diff) | |
| download | aichat-34041a976c0977d51123e6d5fefd944e222e2918.tar.gz | |
feat: support cloudflare client (#459)
Diffstat (limited to 'models.yaml')
| -rw-r--r-- | models.yaml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/models.yaml b/models.yaml index 5ef72dd..29b499f 100644 --- a/models.yaml +++ b/models.yaml @@ -318,8 +318,29 @@ input_price: 8 output_price: 2.4 +- type: cloudflare + # docs: + # - https://developers.cloudflare.com/workers-ai/models/ + # - https://developers.cloudflare.com/workers-ai/platform/pricing/ + models: + - name: '@cf/meta/llama-2-7b-chat-fp16' + max_input_tokens: 3072 + max_output_tokens: 2500 + input_price: 0.56 + output_price: 6.6 + - name: '@cf/meta/llama-2-7b-chat-int8' + max_input_tokens: 2048 + max_output_tokens: 1800 + input_price: 0.16 + output_price: 0.24 + - name: '@cf/mistral/mistral-7b-instruct-v0.1' + max_input_tokens: 8192 + max_output_tokens: 8192 + input_price: 0.11 + output_price: 0.19 + - type: ernie - # docs: + # docs: # - https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu # - https://cloud.baidu.com/doc/WENXINWORKSHOP/s/hlrk4akp7 models: |
