Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Missing pricing for mistral/pixtral-12b-2409 #5837

Open
joch opened this issue Sep 23, 2024 · 0 comments
Open

[Bug]: Missing pricing for mistral/pixtral-12b-2409 #5837

joch opened this issue Sep 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@joch
Copy link

joch commented Sep 23, 2024

What happened?

Hi! Pricing for mistral/pixtral-12b-2409 seems to be missing.

Relevant log output

Error calculating completion cost: litellm.NotFoundError: Model not in model_prices_and_context_window.json. You passed model=mistral/pixtral-12b-2409, custom_llm_provider=mistral. Register pricing for model - https://docs.litellm.ai/docs/proxy/custom_pricing

ERROR [app.llm.events] Error calculating completion cost generation_id=UUID('9727b504-bd04-4e2a-bae0-9fdfe23acd45') function_id=8 org_id=1
Traceback (most recent call last):
  File "events.py", line 111, in _on_completion_end
    response_cost = litellm.completion_cost(
                    ^^^^^^^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.12/site-packages/litellm/cost_calculator.py", line 757, in completion_cost
    raise e
  File ".venv/lib/python3.12/site-packages/litellm/cost_calculator.py", line 738, in completion_cost
    ) = cost_per_token(
        ^^^^^^^^^^^^^^^
  File ".venv/lib/python3.12/site-packages/litellm/cost_calculator.py", line 384, in cost_per_token
    raise litellm.exceptions.NotFoundError(  # type: ignore
litellm.exceptions.NotFoundError: litellm.NotFoundError: Model not in model_prices_and_context_window.json. You passed model=mistral/pixtral-12b-2409, custom_llm_provider=mistral. Register pricing for model - https://docs.litellm.ai/docs/proxy/custom_pricing

Twitter / LinkedIn details

No response

@joch joch added the bug Something isn't working label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant