# What's your top 3 techniques that helped you save tokens / better accuracy from models?
Canonical: https://social-archive.org/gergan/ObHppCEqh6
Original URL: https://www.reddit.com/r/PiCodingAgent/comments/1wsasdn/whats_your_top_3_techniques_that_helped_you_save/
Author: Equivalent_Idea8839
Platform: reddit
Share mode: full
## Content
1) Focusing on curating the context, keeping it under 150k. Making tools to trim git / grep / ls output to my liking 2) indexing my large code base and making the basic tools show short index options + hints. Custom tools was a massive red herring and waste of time, models hate using them and never use them properly 3) live filter on my codebase to sandbox models. i.e. exclude file types, files older than N days. etc
