Skip to content

Commit

Permalink
add source for codestral pricing
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-jaff committed Jun 27, 2024
1 parent d002a80 commit caf28c7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions litellm/model_prices_and_context_window_backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,8 @@
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "codestral",
"mode": "chat"
"mode": "chat",
"source": "https://docs.mistral.ai/capabilities/code_generation/"
},
"codestral/codestral-2405": {
"max_tokens": 8191,
Expand All @@ -879,7 +880,8 @@
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "codestral",
"mode": "chat"
"mode": "chat",
"source": "https://docs.mistral.ai/capabilities/code_generation/"
},
"text-completion-codestral/codestral-latest": {
"max_tokens": 8191,
Expand All @@ -888,7 +890,8 @@
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "text-completion-codestral",
"mode": "completion"
"mode": "completion",
"source": "https://docs.mistral.ai/capabilities/code_generation/"
},
"text-completion-codestral/codestral-2405": {
"max_tokens": 8191,
Expand All @@ -897,7 +900,8 @@
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "text-completion-codestral",
"mode": "completion"
"mode": "completion",
"source": "https://docs.mistral.ai/capabilities/code_generation/"
},
"deepseek-coder": {
"max_tokens": 4096,
Expand Down
12 changes: 8 additions & 4 deletions model_prices_and_context_window.json
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,8 @@
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "codestral",
"mode": "chat"
"mode": "chat",
"source": "https://docs.mistral.ai/capabilities/code_generation/"
},
"codestral/codestral-2405": {
"max_tokens": 8191,
Expand All @@ -879,7 +880,8 @@
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "codestral",
"mode": "chat"
"mode": "chat",
"source": "https://docs.mistral.ai/capabilities/code_generation/"
},
"text-completion-codestral/codestral-latest": {
"max_tokens": 8191,
Expand All @@ -888,7 +890,8 @@
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "text-completion-codestral",
"mode": "completion"
"mode": "completion",
"source": "https://docs.mistral.ai/capabilities/code_generation/"
},
"text-completion-codestral/codestral-2405": {
"max_tokens": 8191,
Expand All @@ -897,7 +900,8 @@
"input_cost_per_token": 0.000000,
"output_cost_per_token": 0.000000,
"litellm_provider": "text-completion-codestral",
"mode": "completion"
"mode": "completion",
"source": "https://docs.mistral.ai/capabilities/code_generation/"
},
"deepseek-coder": {
"max_tokens": 4096,
Expand Down

0 comments on commit caf28c7

Please sign in to comment.