Skip to content

MiniMax-M3: /anthropic endpoint reports 200K context instead of 1M — Claude Code compacts early #46

Description

@kemaltachgulyyev-a11y

Hi MiniMax team,

I'm using MiniMax-M3 via Claude Code with the Anthropic-compatible endpoint (api.minimax.io/anthropic).

Issue: Claude Code shows a 200K context window instead of M3's actual 1M, and triggers autocompact at ~167K.

Root cause: Your /anthropic compatibility layer appears to be returning 200K in the model metadata for MiniMax-M3 — likely inheriting Claude Sonnet's context_window value. Claude Code trusts this metadata and caps its budget accordingly, ignoring the actual 1M capability of M3.

Requested fix: Please update the model metadata returned by the /anthropic endpoint so that MiniMax-M3 reports:

context_window: 1000000

Config I'm using (for reference):
ANTHROPIC_BASE_URL: https://api.minimax.io/anthropic
ANTHROPIC_MODEL: MiniMax-M3

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions