Summary
Model pricing for cost calculation is currently hardcoded in deeptutor/agents/research/utils/token_tracker.py. There is no way for users to view or edit prices through the UI, and newly added models like deepseek-v4-pro / deepseek-v4-flash can easily be missed.
Current state
Desired
Why
Users who use non-OpenAI models or custom endpoints see inaccurate cost estimates, and have no way to correct them without editing source code.
Summary
Model pricing for cost calculation is currently hardcoded in
deeptutor/agents/research/utils/token_tracker.py. There is no way for users to view or edit prices through the UI, and newly added models likedeepseek-v4-pro/deepseek-v4-flashcan easily be missed.Current state
MODEL_PRICINGdict is hardcoded with ~9 modelsDesired
Why
Users who use non-OpenAI models or custom endpoints see inaccurate cost estimates, and have no way to correct them without editing source code.