MiniMax-M2.7 pricing and billing route fixes
NousResearch/hermes-agent · cluster 16825 · agent
Data as of
Nothing open on GitHub. Fix merged in #17423. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #17423. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #17423. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and PRs address missing pricing entries and billing routes for MiniMax-M2.7 across the minimax and minimax-cn providers, which caused costs to appear as zero or unknown. Multiple fixes and regression tests were added to resolve this gap.
Open issues0
Open PRs0
Fixes on record
-
#17423 fix(usage_pricing): add MiniMax-M2.7 pricing for minimax and minimax-cn
files:
agent/usage_pricing.pyShow the diff
-
agent/usage_pricing.py@@ -359,6 +359,25 @@ class CostResult: source_url="https://aws.amazon.com/bedrock/pricing/", pricing_version="bedrock-pricing-2026-04", ), + # MiniMax + ( + "minimax", + "minimax-m2.7", + ): PricingEntry( + input_cost_per_million=Decimal("0.30"), + output_cost_per_million=Decimal("1.20"), + source="official_docs_snapshot", + pricing_version="minimax-pricing-2026-04", + ), + ( + "minimax-cn", + "minimax-m2.7", + ): PricingEntry( + input_cost_per_million=Decimal("0.30"), + output_cost_per_million=Decimal("1.20"), + source="official_docs_snapshot", + pricing_version="minimax-pricing-2026-04", + ), } @@ -400,6 +419,8 @@ def resolve_billing_route( return BillingRoute(provider="anthropic", model=model.split("/")[-1], base_url=base_url or "", billing_mode="official_docs_snapshot") if provider_name == "openai": return BillingRoute(provider="openai", model=model.split("/")[-1], base_url=base_url or "", billing_mode="official_docs_snapshot") + if provider_name in {"minimax", "minimax-cn"}: + return BillingRoute(provider=provider_name, model=model.split("/")[-1], base_url=base_url or "", billing_mode="official_docs_snapshot") if provider_name in {"custom", "local"} or (base and "localhost" in base): return BillingRoute(provider=provider_name or "custom", model=model, base_url=base_url or "", billing_mode="unknown") return BillingRoute(provider=provider_name or "unknown", model=model.split("/")[-1] if model else "", base_url=base_url or "", billing_mode="unknown")
-
3 PRs closed without merging
From the close comments: done elsewhere 1 · duplicate 1 · merged via another change 1
-
#16828 fix: add minimax-cn billing route to resolve cost_status='unknown' (#16825) · done elsewhere →
860ff44,#16825 -
#16854 fix(usage_pricing): add minimax-cn billing route and regression tests · duplicate →
#16828,#16825 -
#17408 fix(usage_pricing): add MiniMax-M2.7 pricing for minimax and minimax-cn providers · merged via another change →
33d6995,#17423,#15216,#10318,#16911
Closed issues · 1
- Closed#16825bug: MiniMax M2.7 / minimax-cn provider cost always 0 — missing billing route and pricing entry in usage_pricing.py
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #17423
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 29 Apr 2026