#[β Solved] How do I fix this Limited length text max?
1 messages Β· Page 1 of 1 (latest)
Hi! The error you're seeing comes from the API model's context limit:
"This model's maximum context length is 16384 tokens. However, you requested 16982 tokens."
This means the conversation has become too long and exceeded the maximum allowed length for the CosmosRP model (16,384 tokens for the public model). When this happens, the model cannot process your request.
What you should do:
- Start a new chat or clear chat history:
On JanitorAI, create a new chat or clear your conversation to reset the prompt length. This will avoid hitting the token limit. - Shorten replies or reduce transcript:
If you're copying/pasting large blocks of text, try to keep messages shorter. Avoid very long continuous sessions. - Consider higher context models:
If you are a supporter, you can use CosmosRP-V3.0 (32k tokens) or CosmosRP-V3.5 (64k tokens), which have much higher token limits. Details on models and becoming a supporter: Supporter Info.
Extra Tips:
- The Free API (CosmosRP-V2.1) is limited to 16,384 tokens per conversation.
- This is a technical limitation of the AI model and cannot be increased on the free tier.
- If you still get this error after starting a new chat, make sure you are not reusing a previous prompt thatβs too long.
If you need more context for your chats, consider becoming a supporter to unlock higher-limit models! You can also check our Models Channel for all token limits and recommendations.
Let me know if you need links to setup guides for supporter models.
Please note: This is an automated response from @cerulean steeple. While it strive to provide accurate assistance, It may occasionally make mistakes. If you find any inaccuracies or need further clarification, feel free to wait for our community helpers to give you further guidance. Thank you.
you have it set to 19k, but the max is 16k. Lower your context size to 15k
Where do I find that setting?
Or I'll just restart chat?
generation settings
Oh.. it works. Thanks.
in the future, check https://discordapp.com/channels/1055397662976905229/1213171976407883866 it will tell you the max context size it can handle
[β Solved] How do I fix this Limited length text max?