Context window issue through Anthropic endpoint - is the practical limit lower than 204.8k?
I’m using MiniMax-M2.7-highspeed through an Anthropic-compatible endpoint inside an agent framework called Hermes.
MiniMax appears to advertise a large context window, around 204,800 tokens, but I’m seeing API failures well below that.
The error looks like this:
⚠️ API call failed (attempt 1/3): BadRequestError [HTTP 400]
🔌 Provider: minimax Model: MiniMax-M2.7-highspeed
🌐 Endpoint: https://api.minimax.io/anthropic
📝 Error: HTTP 400: invalid params, context window exceeds limit (2013)
📋 Details: {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'invalid params, context window exceeds limit (2013)'}, 'request_id': '065b1bb0eab63a4b21e50cb78514'}
⏱️ Elapsed: 2.61s Context: 106 msgs, ~134,146 tokens
Provider reported overflow amount only; keeping context_length at 204,800 tokens and compressing.
⚠️ Context length exceeded at minimum tier — attempting compression...
🗜️ Context too large (~134,146 tokens) — compressing (1/3)...
🗜️ Compacting context — summarizing earlier conversation so I can continue...
My questions:
- What does the number in this error mean?