Log inSign up
Log inSign up
Abid Ali
21 posts
Abid Ali profile banner
@BuildWithAbid

Abid Ali

@BuildWithAbid
I build tools that find what's wrong with your LLM stack — cost waste, flaky prompts, slow models. Open source on PyPI + npm. Open to full-time & contract. 🇵🇰
Pakistan
github.com/BuildWithAbid
Joined August 2018
583 Following
259 Followers
RepliesRepliesRepostsRepostsMediaMedia

Abid Ali’s posts

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
  • Pinned
    @BuildWithAbid
    Abid Ali
    @BuildWithAbid
    Apr 5
    It found $1,240/month in waste on a $2,847 monthly bill. That's 43%. If you're making LLM API calls, try it on your codebase. Every project I've tested has at least one surprise. GitHub: github.com/BuildWithAbid/… pip install llm-spend-profiler
    Card image
    GitHub - buildwithabid/llm-cost-profiler: Track, visualize, and optimize LLM API spending. Monitor...
    From github.com
  • @BuildWithAbid
    Abid Ali
    @BuildWithAbid
    Apr 5
    So I packaged all of this into a free, open-source CLI tool. Two lines of code to set up: from llm_cost_profiler import wrap client = wrap(OpenAI()) Then run: llmcost report → see where money goes llmcost optimize → see what to fix Everything stays local. SQLite. No cloud.
  • @BuildWithAbid
    Abid Ali
    @BuildWithAbid
    Apr 5
    My classifier was using GPT-4o to return one of five labels. Output: always under 10 tokens. GPT-4o-mini produces identical results. Price difference: 25x. Nobody had ever questioned which model was assigned to which task.
  • @BuildWithAbid
    Abid Ali
    @BuildWithAbid
    Apr 5
    85% of my classifier calls were exact duplicates. Same input → same output → full price every time. 723 out of 847 weekly calls were completely redundant. A one-line cache decorator eliminated $310/month.
  • @BuildWithAbid
    Abid Ali
    @BuildWithAbid
    Apr 5
    34% of my summarizer costs were retries. The prompt asked for JSON. The model wrapped it in markdown. My parser rejected it. The retry loop ran the same call 3x. $140/month. Burning. Silently. For months. The fix? Adding "respond with raw JSON only" to the prompt.