Skip to content

Update MiniMax API endpoint #533

@doublezz10

Description

@doublezz10

Description

With the release of MiniMax M3, the API usage endpoint has changed. Here is the new URL (copied from their docs here https://platform.minimax.io/docs/token-plan/faq#how-to-check-token-plan-usage):

curl --location 'https://www.minimax.io/v1/token_plan/remains'
--header 'Authorization: Bearer '
--header 'Content-Type: application/json'

(looks like they just changed coding_plan to token_plan

Steps to Reproduce

  1. Try to check MiniMax usage with saved API key

Expected Behavior

Usage tracking works

Actual Behavior

" Could not parse usage data "

OpenUsage Version

0.6.24

Operating System

macOS (Apple Silicon)

Screenshots

Image

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions