Adjust input and output cost per token for mistral-small-2503 - #22097
Conversation
Cost per million for mistral-small-2503 is not correct. In Azure Documentation: Pay-as-you-go (per 1,000 tokens) $0.0001 Model input $0.0003 Model output
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR corrects the pricing for
Confidence Score: 3/5
|
| Filename | Overview |
|---|---|
| litellm/model_prices_and_context_window_backup.json | Corrects azure_ai/mistral-small-2503 pricing from 1e-06/3e-06 to 1e-07/3e-07 per token (input/output), matching Azure documentation. The math is correct and consistent with other mistral-small model entries in the file. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["azure_ai/mistral-small-2503 pricing lookup"] --> B{"Which file is loaded?"}
B -->|"model_prices_and_context_window.json<br/>(primary)"| C["input: 1e-06 ❌<br/>output: 3e-06 ❌<br/>(NOT updated by this PR)"]
B -->|"model_prices_and_context_window_backup.json<br/>(backup)"| D["input: 1e-07 ✅<br/>output: 3e-07 ✅<br/>(updated by this PR)"]
C --> E["Costs reported 10x too high"]
D --> F["Costs match Azure documentation"]
Last reviewed commit: 939fe80
Review1. Does this PR fix the issue it describes?
The changes in both 2. Has this issue already been solved elsewhere? ✅ Ready to merge — straightforward pricing fix with clear Azure documentation as source. |
* Adjust input and output cost per token for mistral-small-2503 Cost per million for mistral-small-2503 is not correct. In Azure Documentation: Pay-as-you-go (per 1,000 tokens) $0.0001 Model input $0.0003 Model output * Update input and output cost per token for model
…I#22097) * Adjust input and output cost per token for mistral-small-2503 Cost per million for mistral-small-2503 is not correct. In Azure Documentation: Pay-as-you-go (per 1,000 tokens) $0.0001 Model input $0.0003 Model output * Update input and output cost per token for model
Cost per million for mistral-small-2503 is not correct.
In Azure Documentation:
https://ai.azure.com/explore/models/mistral-small-2503/version/1/registry/azureml-mistral?tid=61386482-660c-45b0-9b6b-7b1e9c868281
Pay-as-you-go (per 1,000 tokens)
$0.0001
Model input
$0.0003
Model output
Relevant issues
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/litellm/directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit@greptileaiand received a Confidence Score of at least 4/5 before requesting a maintainer reviewCI (LiteLLM team)
Branch creation CI run
Link:
CI run for the last commit
Link:
Merge / cherry-pick CI run
Links:
Type
🐛 Bug Fix
Changes