litellm - 💡(How to fix) Fix Add "mercury 2" model from inceptionlabs.ai in "model_prices_and_context_window.json" [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
BerriAI/litellm#23033Fetched 2026-04-08 00:38:45
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Participants
RAW_BUFFERClick to expand / collapse

Source: <SOURCE_URL>

We need to update both model_prices_and_context_window.json and model_prices_and_context_window_backup.json to reflect the new model. inceptionlabs.ai

extent analysis

Fix Plan

Update JSON files to reflect the new model.

Steps

  • Update model_prices_and_context_window.json:
    • Modify the model parameters to match the new model.
    • Example:

{ "model_name": "new_model", "prices": { "price1": 10.0, "price2": 20.0 }, "context_window": 30 }

* Update `model_prices_and_context_window_backup.json` with the same changes.
* Use a version control system to track changes and collaborate with the team.

### Verification
* Check the updated files for correctness.
* Verify that the new model is used in the application.
* Test the application with the updated model.

### Extra Tips
* Make sure to backup the original files before making changes.
* Use a consistent naming convention for the JSON files.
* Consider automating the update process using scripts or tools.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix Add "mercury 2" model from inceptionlabs.ai in "model_prices_and_context_window.json" [1 participants]