https://discord.com/channels/1107178041848909847/1305863466459992115
The OpenRouter API integration in Jan has a UI-enforced token limit of 1024 tokens, which is significantly lower than the actual model capabilities (128k for Qwen model). This artificial limitation prevents users from utilizing the model's full potential.
Current Workaround
Manually edit the openrouter model.json file in the /models folder to adjust max_tokens parameter
Steps to Reproduce
Connect to OpenRouter API through Jan
Try to use Qwen model
Check max token setting - limited to 1024 in UI
Attempt to generate longer outputs - gets cut off due to token limit
Jan version
0.5.7 & 0.5.8
Describe the Bug
https://discord.com/channels/1107178041848909847/1305863466459992115 The OpenRouter API integration in Jan has a UI-enforced token limit of 1024 tokens, which is significantly lower than the actual model capabilities (128k for Qwen model). This artificial limitation prevents users from utilizing the model's full potential.
Current Workaround Manually edit the openrouter model.json file in the /models folder to adjust max_tokens parameter
Steps to Reproduce
Screenshots / Logs
-
What is your OS?