Know your context.
Choose the right model.
TCalc analyzes your code and prompts locally to calculate accurate token counts and recommend the best coding models for the job.
- 100% local
- No telemetry
- Open source
Workspacetcalc / srcModel profileCoding (General)ScanJust now
TOKEN SUMMARY1,246,512862,132Input tokens384,380Output tokens
CONTEXT BREAKDOWNCode72.4%Comments12.8%Docs8.7%Other6.1%
Files 236Lines 18,392Languages TypeScript, Python
RECOMMENDED MODELS
- 1
Gemini 2.5 ProBest fit1,048,576 context
$0.86est. cost - 2
GPT-4o128,000 context
$1.32est. cost - 3
Claude Sonnet 4200,000 context
$1.18est. cost - 4
Mistral Large 2128,000 context
$0.74est. cost - 5
DeepSeek V3128,000 context
$0.52est. cost