#Problem
13 messages · Page 1 of 1 (latest)
I'm an AI assistant - my answers may be incorrect and I cannot see screenshots. Please verify information with the OpenRouter docs.
To help you resolve this, I need a bit more information:
- What is the exact error message or failure response you receive when the bot stops?
- Which specific model (including full identifier, e.g.,
openai/gpt-4o-mini,anthropic/claude-3.7-sonnet, etc.) are you using? - Are you setting any parameters like
max_tokensor using reasoning features in your API request? If possible, paste the relevant part of your code or payload.
These details will help diagnose whether this is a context length, token limit, or model-specific setting issue.
-# This is an automated response powered by Answer HQ. Use !mute to stop the bot from responding.
Thanks for clarifying. To help with your issue where both bots (using different models) stop responding after reaching 2000 characters, I need a bit more detail:
- What are the exact model identifiers each bot is using (e.g.,
openai/gpt-4o,deepseek/deepseek-chat-v3.1, etc.)? - What is the exact error message, API response, or behavior you see when the bots stop?
- Are you setting any explicit
max_tokensor similar parameters in your API calls?
Knowing the specific models and parameters is important because each model can have different context and output limits. You can review model-specific limits at OpenRouter Models. Please provide these details so I can help you further.
-# This is an automated response powered by Answer HQ. Use !mute to stop the bot from responding.
The model z-ai/glm-4.5-air:free supports a very large context window (131,072 tokens) and does not have a 2,000 character limit per the documentation. If your bot is stopping at 2,000 characters, this is likely caused by a limit set in your own application code or the platform you're using—not by the model itself.
The official docs state:
"Max Tokens (input + output) 131K"
GLM 4.5 Air (free) - API
What to check:
- Make sure your API request does not set a low
max_tokensvalue. - Check your bot's code or platform for any manual character or token limits.
- Ensure you are not truncating or cutting off the model output in your message handling logic.
If you share your API request code or explain where the 2,000 character limit is enforced, I can help pinpoint the exact cause. For more on configuring output length, see the GLM 4.5 Air docs.
-# This is an automated response powered by Answer HQ. Use !mute to stop the bot from responding.
GLM-4.5-Air is the lightweight variant of our latest flagship model family, also purpose-built for agent-centric applications. Run GLM 4.5 Air (free) with API
and google/gemma-3-27b-it:free
can u fix the message thing for 2k characters
@timber harbor
have you tried setting the max tokens parameter?
If your bot is stopping at 2,000 characters, this is likely caused by a limit set in your own application code or the platform you're using—not by the model itself.
i meant like 2000 words
its the discord word limit