forked from phoenix/litellm-mirror
Merge pull request #4766 from skucherlapati/add_medlm_models_to_cost_map
Add medlm models to cost map
This commit is contained in:
commit
f359335b5b
3 changed files with 41 additions and 1 deletions
|
@ -1820,6 +1820,26 @@
|
|||
"supports_vision": true,
|
||||
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#foundation_models"
|
||||
},
|
||||
"medlm-medium": {
|
||||
"max_tokens": 8192,
|
||||
"max_input_tokens": 32768,
|
||||
"max_output_tokens": 8192,
|
||||
"input_cost_per_character": 0.0000005,
|
||||
"output_cost_per_character": 0.000001,
|
||||
"litellm_provider": "vertex_ai-language-models",
|
||||
"mode": "chat",
|
||||
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#foundation_models"
|
||||
},
|
||||
"medlm-large": {
|
||||
"max_tokens": 1024,
|
||||
"max_input_tokens": 8192,
|
||||
"max_output_tokens": 1024,
|
||||
"input_cost_per_character": 0.000005,
|
||||
"output_cost_per_character": 0.000015,
|
||||
"litellm_provider": "vertex_ai-language-models",
|
||||
"mode": "chat",
|
||||
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#foundation_models"
|
||||
},
|
||||
"vertex_ai/claude-3-sonnet@20240229": {
|
||||
"max_tokens": 4096,
|
||||
"max_input_tokens": 200000,
|
||||
|
|
|
@ -706,7 +706,7 @@ def test_vertex_ai_completion_cost():
|
|||
print("calculated_input_cost: {}".format(calculated_input_cost))
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="new test - WIP, working on fixing this")
|
||||
# @pytest.mark.skip(reason="new test - WIP, working on fixing this")
|
||||
def test_vertex_ai_medlm_completion_cost():
|
||||
"""Test for medlm completion cost."""
|
||||
|
||||
|
|
|
@ -1820,6 +1820,26 @@
|
|||
"supports_vision": true,
|
||||
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#foundation_models"
|
||||
},
|
||||
"medlm-medium": {
|
||||
"max_tokens": 8192,
|
||||
"max_input_tokens": 32768,
|
||||
"max_output_tokens": 8192,
|
||||
"input_cost_per_character": 0.0000005,
|
||||
"output_cost_per_character": 0.000001,
|
||||
"litellm_provider": "vertex_ai-language-models",
|
||||
"mode": "chat",
|
||||
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#foundation_models"
|
||||
},
|
||||
"medlm-large": {
|
||||
"max_tokens": 1024,
|
||||
"max_input_tokens": 8192,
|
||||
"max_output_tokens": 1024,
|
||||
"input_cost_per_character": 0.000005,
|
||||
"output_cost_per_character": 0.000015,
|
||||
"litellm_provider": "vertex_ai-language-models",
|
||||
"mode": "chat",
|
||||
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#foundation_models"
|
||||
},
|
||||
"vertex_ai/claude-3-sonnet@20240229": {
|
||||
"max_tokens": 4096,
|
||||
"max_input_tokens": 200000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue