Feature request for product/service
Cursor IDE
Feature Idea: Task-Based Token Usage Estimation & Model Recommendation
One feature that could significantly improve the development experience is pre-execution token usage estimation combined with intelligent model recommendations for each task.
Before a task is executed, the IDE could analyze its complexity, context size, attached files, and expected output length to provide an estimated token consumption range. Alongside this estimate, the IDE could recommend the most appropriate model based on factors such as reasoning complexity, speed, cost, and expected quality of results.
This estimate becomes even more valuable when correlated with the user’s remaining token quota or usage limits. Instead of showing only raw token balances, the IDE could present meaningful insights such as:
- Estimated tokens required for the current task.
- Percentage of the user’s remaining quota that the task is likely to consume.
- Confidence range for the estimate (e.g., low, medium, or high variance).
- Recommended model with an explanation of why it is the best fit.
- Alternative models that trade off quality, speed, or token efficiency.
For example, if a user has 250k tokens remaining and the current task is estimated to consume approximately 35k tokens, the IDE could communicate that the task will use around 14% of the remaining quota. If a more token-efficient model can achieve similar results, it could proactively recommend switching to that model and display the expected savings.
This feature would improve the overall developer experience by making token consumption predictable rather than reactive. Users could confidently plan larger workflows without worrying about unexpectedly exhausting their token budget midway through implementation. It also reduces the likelihood of long-running development sessions coming to an abrupt halt due to depleted tokens, allowing users to focus on building rather than constantly monitoring usage.
In the future, this concept could be extended with additional capabilities such as:
- Dynamic token forecasts as the prompt evolves.
- Project-level token budgeting across multiple tasks.
- Warnings before expensive operations.
- Automatic model switching based on the user’s remaining quota and task complexity.
- Historical accuracy metrics comparing estimated versus actual token consumption to continuously improve estimation quality.