chore(pricing): refresh LiteLLM snapshot; MiniMax-M3 standard tier

MiniMax moved M3 to tiered pricing: the official standard tier (inputs
up to 512K) is $0.30/$1.20 per M with $0.06 cache reads, doubling above
512K. Upstream LiteLLM now carries the standard tier, so the pinned
expectation follows it; the old $0.60/$2.40 figure is the long-context
tier, not the base price anymore.
This commit is contained in:
AgentSeal 2026-07-02 06:17:01 +02:00
parent 1690483257
commit de57bccda3
3 changed files with 8 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -28,13 +28,14 @@ describe('MiniMax model pricing', () => {
})
it('returns official pricing for MiniMax-M3', () => {
// M3 is gap-filled automatically (LiteLLM, with models.dev first-party as
// the cross-check): $0.6/$2.4 per M, the official MiniMax direct price - not
// a discounted reseller rate (e.g. OpenRouter's $0.3/$1.2).
// MiniMax moved M3 to tiered pricing (platform.minimax.io pay-as-you-go):
// $0.3/$1.2 per M is the official standard tier (inputs up to 512K), with
// $0.6/$2.4 above 512K. The snapshot carries the standard tier, matching
// how other tiered models are priced here.
const costs = getModelCosts('MiniMax-M3')
expect(costs).not.toBeNull()
expect(costs!.inputCostPerToken).toBe(0.6e-6)
expect(costs!.outputCostPerToken).toBe(2.4e-6)
expect(costs!.inputCostPerToken).toBe(0.3e-6)
expect(costs!.outputCostPerToken).toBe(1.2e-6)
})
it('highspeed pricing is distinct from base model pricing', () => {