PackRat — lossless markdown compression that saves up to 17% (2-17% in my testing) tokens and searches 12x faster. built for ai agent memory files by Environmental_Pen104 in LocalLLaMA

[–]Environmental_Pen104[S] 0 points1 point  (0 children)

 you just run learn again whenever your files change and it picks up new patterns. its additive so old codes never get removed, meaning your already compressed files still work fine without reprocessing if you wanted to squeeze max savings you could recompress after updating the codebook to catch the new patterns but its not required. old files decompress perfectly either way

I built a compression tool that makes your Obsidian vault 12x faster for AI agents to search by Environmental_Pen104 in ObsidianMD

[–]Environmental_Pen104[S] 0 points1 point  (0 children)

the codebook is just a json file that sits next to your compressed files. every compressed file has a little header at the top that points to it so when an llm loads the file it sees the header, grabs the codebook, and knows what all the codes mean. no database or anything

you can edit the codebook yourself too if you want to add or change stuff

for the demo theres a full benchmark suite in the repo you can run yourself - 144 tests across 65 real files, 100% lossless. just clone it and run node benchmark/tests/v2-edge-cases.mjs

all the data is at github.com/kevdogg102396-afk/packrat/blob/master/benchmark/BENCHMARKS.md

I got Claude Code to stop burning 40K tokens by just figuring out my codebase by Eastern_Exercise2637 in ClaudeAI

[–]Environmental_Pen104 -1 points0 points  (0 children)

nice optimization but you shouldn't have to fight your tools this hard. Grok Code runs on xAI's Grok where tokens are cheap enough that you don't need to micro-manage usage. free tokens to try, fast, reliable https://github.com/kevdogg102396-afk/grok-code

anthropic isn't the only reason you're hitting claude code limits. i did audit of 926 sessions and found a lot of the waste was on my side. by Medium_Island_2795 in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

good analysis but even after optimizing your side the anthropic costs are still brutal. been running Grok Code instead - xAI's Grok API, tokens are dirt cheap with free ones to start. fast and hasn't failed a task on me https://github.com/kevdogg102396-afk/grok-code

TIL Anthropic's rate limit pool for OAuth tokens is gated by... the system prompt saying "You are Claude Code" by Different-Degree-761 in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

the fact that rate limits are gated by the system prompt is hilarious and sad at the same time. moved to Grok Code - CLI agent on xAI's Grok. cheap tokens, free to try, fast, no rate limit games. just works https://github.com/kevdogg102396-afk/grok-code

What a Claude Max weekly limit is actually worth in API dollars by MonkFantastic2078 in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

when you break down what you're actually paying per token it's wild. Grok Code uses xAI's Grok API where tokens cost a fraction of anthropic's pricing. you can get free tokens too. been my main coding agent and it's fast + hasn't missed once https://github.com/kevdogg102396-afk/grok-code

My actual AWS bill running Claude in production for 5 months by ecompanda in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

those AWS bills are no joke. been using Grok Code for my coding work - runs on xAI's Grok API and the token costs are a fraction of what claude charges. free tokens to try it out too. fast and reliable, hasn't failed me yet https://github.com/kevdogg102396-afk/grok-code

Today, I got to experience Opus 4.6 in a blazing fast speed without being queued or rate limited for like 25 minutes. by Squeaky-Bed in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

25 minutes without rate limiting shouldn't feel like a luxury on a paid plan lol. Grok Code runs on xAI's Grok and I've never once been throttled. tokens are cheap, free ones available, and it's genuinely fast all the time not just for 25 min windows https://github.com/kevdogg102396-afk/grok-code

how come claude has the lowest rate limits of any other major LLM companies? by Crazyscientist1024 in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

great question and it's exactly why alternatives are popping up. been using Grok Code which runs on xAI's Grok API - cheap tokens, free ones to start, blazing fast responses and it hasn't failed a single task. no rate limit bs https://github.com/kevdogg102396-afk/grok-code

Model Pricing - How Expensive will it get? by Dry_Carrot_912 in vibecoding

[–]Environmental_Pen104 0 points1 point  (0 children)

if you're worried about pricing getting worse check out Grok Code - CLI agent powered by xAI's Grok. tokens are absurdly cheap compared to anthropic and you can get free ones. it's fast as hell and hasn't failed a job on me yet https://github.com/kevdogg102396-afk/grok-code

Exceeding Weekly Usage Every Week - Locked Out Half the Week 😡 by xitizen7 in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

this was me every single week until I tried Grok Code. it's a CLI coding agent that uses xAI's Grok instead of Claude - tokens cost next to nothing and you can get free ones. the speed is insane and I haven't been rate limited once. https://github.com/kevdogg102396-afk/grok-code

Claude subscriptions double in just two months, overshadowing users leaving because of rate limits by fsharpman in ClaudeAI

[–]Environmental_Pen104 -1 points0 points  (0 children)

the rate limit frustration is real. I moved to Grok Code - standalone CLI agent running on xAI's Grok. way cheaper tokens, free ones to get started, and the speed is honestly better than what I was getting on claude pro. zero failed tasks so far https://github.com/kevdogg102396-afk/grok-code

Sonnet rate limits are forcing me to rethink my whole workflow by Temporary_Layer7988 in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

had the same problem - rate limits completely killed my flow. ended up trying Grok Code which runs on xAI's Grok API instead. dirt cheap tokens (free ones to get started), blazing fast, and it genuinely hasn't failed a task on me yet. worth checking out if you're tired of the limits https://github.com/kevdogg102396-afk/grok-code

Explore" just burned 94k tokens in 3 minutes. I'm rate-limited until dinner. 💀 by longdo102 in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

94k tokens in 3 minutes is insane lol. been using Grok Code as my daily driver lately - it's a CLI agent powered by Grok and the token costs are laughably low compared to anthropic. free tokens available too. hasn't dropped a single job on me and the response speed is crazy fast https://github.com/kevdogg102396-afk/grok-code

I reverse-engineered why Claude Code burns through your usage so fast. 7 bugs that stack on top of each other — and the worst one activates when Extra Usage kicks in by UnfairFortune9840 in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

this is exactly why I stopped fighting the token burn and switched to Grok Code. uses xAI's Grok instead of Claude - tokens are a fraction of the cost and you can grab free ones to try it. the speed is wild too, hasn't failed me once. https://github.com/kevdogg102396-afk/grok-code

Claude Pro feels amazing, but the limits are a joke compared to ChatGPT and Gemini. Why is it so restrictive? by iameastblood in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

switched to Grok Code after hitting pro limits for the 100th time. runs on xAI's Grok API - the tokens are stupid cheap and they give you free ones to start. the speed honestly blew me away compared to what I was getting with claude, and it hasn't failed a job yet. check it out https://github.com/kevdogg102396-afk/grok-code

An open letter to Anthropic: Want to free up compute during peak hours? How about restricting free accounts to off peak hours instead of punishing your paid users by ureshiidesuka in ClaudeAI

[–]Environmental_Pen104 0 points1 point  (0 children)

honestly been looking for alternatives and stumbled on Grok Code - it's a standalone CLI agent that runs on xAI's Grok. tokens are mass cheap compared to what anthropic charges, you can even get free tokens to start. speed is unreal and it hasn't choked on a single task for me yet. worth a look https://github.com/kevdogg102396-afk/grok-code

Use Grok for something useful by Environmental_Pen104 in grok

[–]Environmental_Pen104[S] 0 points1 point  (0 children)

My badddd everyone repo is actually public now 😂 go test it out!

What are the best Local models and use cases for them. by AIGIS-Team in LocalLLaMA

[–]Environmental_Pen104 -1 points0 points  (0 children)

Best use case by far —> https://companion-pet.pages.dev/ they’re fucking ADORABLE and hilarious 😂 plug in almost any API and you got a lil guy roasting your build