Add MiniMax M3 model costs#2428
Closed
octo-patch wants to merge 1 commit into
Closed
Conversation
Register MiniMax M3 pricing metadata so GraphRAG can calculate usage costs for the new LiteLLM provider/model combination. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
4 tasks
Author
|
Replaced by #2438. The replacement is based on the latest main branch and includes both target model IDs, complete pricing tiers, endpoint configuration documentation, and focused tests. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reason: add target provider/model to existing provider registry
Summary
Test plan
git add -A -N && git diff HEAD | grep -E "$SECRET_RE"(no matches)uv sync --all-packagesPYTHONPATH="/root/octopatch-4/work/repos/microsoft_graphrag/packages/graphrag-llm:/root/octopatch-4/work/repos/microsoft_graphrag/packages/graphrag-cache:/root/octopatch-4/work/repos/microsoft_graphrag/packages/graphrag-common:$PYTHONPATH" uv run pytest tests/integration/language_model/test_factory.py -quv run ruff check packages/graphrag-llm/graphrag_llm/model_cost_registry/model_cost_registry.py tests/integration/language_model/test_factory.py