Fix: Adjust Vultr Model Context and Output Limits Based on Empirical Testing #326
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request corrects the
[limit]configurations for five models available on the Vultr Inference API to reflect their true, empirically tested context windows. The previous configurations contained aspirational limits that would lead to runtime errors. Due to limited documentation, the previous numbers were outdated.Methodology:
I conducted a series of automated tests against the Vultr Inference API to determine the precise, stable context window for each model. The testing script rapidly found the upper bound, then used a guided search to fine-tune and verify the maximum token limit. The new configurations are based on these stable results.
Test Results Summary:
deepseek-r1-distill-qwen-32bqwen2.5-coder-32b-instructdeepseek-r1-distill-llama-70bgpt-oss-120bkimi-k2-instructProposed Changes:
The
[limit]section for each model file has been updated to be friendly for coding tasks (maximizing input context while reserving a generous output buffer) and to stay within the verified total token limits.deepseek-r1-distill-qwen-32b.toml&deepseek-r1-distill-llama-70b.tomlgpt-oss-120b.tomlkimi-k2-instruct.tomlqwen2.5-coder-32b-instruct.toml