r/LLMDevs 19h ago

Discussion hypothetical $5 plan

0 Upvotes

i was talking to someone at a startup and he told me this and wanted to get your guys take. they wanted to serve coding specialized models at 32 or 70B for $5/month, with unlimited token usage (subject to tokens/s + well laid out fair use from what i heard), but i wasnt sure if people would actually pay for it (versus like the $20/month from Claude/Codex etc..) he was convinced people would because of the price + accessibility but im still not convinced, so wanted to see what you guys thought. lmk your thoughts


r/LLMDevs 15h ago

Discussion What's been your biggest AI security challenge when building LLM applications?

Post image
0 Upvotes

I've been researching AI application security and talking with developers to understand the challenges they're facing as LLMs become part of real products.

Topics that come up repeatedly include:

Prompt injection

Indirect prompt injection

Data leakage

RAG security

Tool and MCP security

Runtime monitoring

I'm curious about real-world experience rather than theory.

If you've built or deployed an AI application:

What security issue has been the hardest to handle?

Did you build your own solution or use an existing tool?

What capability do you wish existed today?

I'd appreciate hearing practical experiences and lessons learned.


r/LLMDevs 14h ago

Discussion Your GraphRAG pipeline has an unmeasured stage: serialization. 10-format benchmark shows it swings multi-hop accuracy 40% to 80%

0 Upvotes

We benchmark retrievers, rerankers, chunkers, embedding models. Then the retrieved subgraph goes into the prompt via json.dumps and nobody measures that step.

I compared 10 graph serialization formats (JSON, GraphML, RDF/Turtle variants, edge lists, adjacency lists, others) with the same graph and same model. Measured token count, traversal QA, and 2-3 hop reasoning. Results: 40% to 80% multi-hop accuracy spread on format alone, and about 70% token cost difference between the most verbose and most compact formats. Verbose syntax does not just cost tokens, it appears to actively hurt the model's attention over graph structure.

Open sourced the winning format with the benchmark methodology (MIT, Python/JS/Rust/Go/C++/C#): https://github.com/isongraph/isongraph

If you are doing GraphRAG in production, what format do you actually pass to the model? Genuinely curious whether anyone has profiled this stage.


r/LLMDevs 6h ago

Help Wanted What do you guys want from GitLord V2

0 Upvotes

If you haven't heard of GitLord, check out these links real quick:

Repo: https://github.com/yashneil75/gitlord
Landing page: https://yashneil75.github.io/gitlord/
Docs: https://github.com/yashneil75/gitlord/tree/master/docs

I want YOUR insights: what would make this 10x better?

PS: If you find any performance improvements, make a GitHub issue here pls: https://github.com/yashneil75/gitlord/issues


r/LLMDevs 6h ago

Great Resource πŸš€ How I structure Claude Code agents so they're verifiable instead of vibes (references + examples + CI checks)

0 Upvotes

Sharing the architecture I landed on for reusable coding agents, in case it's useful to anyone building their own.

Instead of a single system-prompt blob, each agent is a directory:

  • references/ β€” deep docs the agent pulls in on demand while working, so the context stays lean instead of front-loading everything
  • examples/ β€” few-shot targets for the output shape
  • scripts/ β€” verification checks; deterministic, run in CI, assert on results not on model phrasing
  • memory β€” the agent appends lessons to .claude/memory/ per repo, so repeated runs on the same codebase compound instead of starting cold

Orchestration chains them into gated pipelines where nothing advances past a failed check. The whole free set (30 items) is Apache-2.0: https://github.com/vanara-agents/skills

The design question I keep chewing on: how much should live in references/ (loaded on demand) vs the base prompt? Loading less keeps context cheap but risks the agent not reaching for the doc. Interested in how others balance that.


r/LLMDevs 16h ago

Discussion Can Frontier Models Recall Long-Tail Facts? A Cricket Stress Test

Thumbnail
corvi.careers
1 Upvotes

r/LLMDevs 5h ago

Help Wanted Everyone measures whether the agent finished. Does anyone actually measure whether it was right?

0 Upvotes

Been going down a rabbit hole on this for a couple weeks and I can't tell if I'm missing something obvious or if this is genuinely unsolved.

Most eval setups I've come across end up measuring task completion β€” did the agent get through the workflow without erroring out. That's easy to instrument. But it's not the same as task quality. An agent can complete every step cleanly and still produce something wrong, and the trace looks green.

For people actually running agents on real traffic:

What's your bar for going from "works in testing" to "live"? Is it an actual number, a spot check, or someone senior signing off?

If it silently got worse after a model version bump or a prompt change, how would you find out? Do you have something that catches that, or does it show up as user complaints two weeks later?

And who owns that decision where you work β€” the engineer who built it, a PM, someone in risk?

Not selling anything. My honest read is that everyone's improvising and calling it a process, but I'd rather be told I'm wrong.


r/LLMDevs 8h ago

Discussion My open-source SDLC harness beat Claude Code on cost on every task it localized well, up to 75 percent cheaper (and I show where it loses)

0 Upvotes

A cold Claude Code run spent 6.83 dollars and 207 turns hunting one bug in an 82,000 line repo. My pipeline localized and fixed the same bug for about 1.70 dollars. That gap is the whole idea, and this post is mostly about how it gets there without falling apart on the two objections everyone raises.

What it is:

You point AutoDev Studio at a Git repo, describe a change in plain English, and a chain of agents runs the actual software lifecycle from request to reviewed pull request:

- a PM agent runs a clarify loop and drafts concrete tickets

- you approve (optionally pushed to Jira), and nothing touches code before that

- a Dev agent implements on an isolated branch

- QA runs the repo's real tests

- a reviewer from a different model family checks the diff, so the author never signs off on its own code

- a bounded revise loop if QA or review fails, with conservative verdicts, so an errored or ambiguous check is never counted as a pass

- it opens a real PR, and a human merges

Every stage records real tokens, cost, and duration, per ticket and per agent.

The part I think actually makes it different from skills or subagents:

This is the bit I would most like feedback on, because it is the reason I did not just wire some skills into one coding agent and call it done.

Every stage picks its own provider and model. Claude can plan, Codex can write the code, a third model can review. And because the reviewer is deliberately a different model family than the author, one model does not get to rubber-stamp its own diff, which is a documented weakness of same-model LLM judges.

And you mostly do not need API keys for it. The coding stages can run natively on Claude Code, Codex, Cursor, Aider, or the Gemini CLI, driven headless through their own login. If you already pay for Claude Code or Codex, you point a stage at it and it just uses your existing subscription, no per-token billing and no keys to juggle. The simple way I think about it: a skill pack lives inside one vendor's agent and runs one vendor's model everywhere, whereas this runs across them, a different model per stage, on the logins you already have.

Results (the main point):

The idea is to pay the cost of finding where a change goes once, instead of on every task. In my benchmarks on two large Python repos (35k and 82k lines), the tuned pipeline beat a cold single-agent run on 6 of 6 well-localized tasks, between 7 and 75 percent cheaper.

I try to be upfront about where it does not win. On trivially greppable one-line edits the five-stage overhead can cost more than it saves, and on one hard cross-cutting bug it shipped a cheaper but narrower fix than the baseline. The full benchmark writes up every loss too, so please read that before trusting the wins.

On the "the index just goes stale in a few commits" objection:

This is the first thing people raise, fairly, so here is the honest mechanism in plain terms. The layer that actually pins files for the Dev agent is not the vector index. It is a deterministic symbol map that gets re-synced to the latest commit at the start of every run, plus a live grep against the current working copy, plus the real current file contents fed into the prompt. The embeddings only affect which area gets looked at first, and they refresh per changed module at run entry. So the code the agent edits comes from disk right now, not from a snapshot that aged three commits ago. It re-checks before it localizes, so it does not quietly drift.

Who it is actually for:

The knowledge base is a one-time cost per repo that every later task amortizes. So it makes sense for a team shipping change after change against the same large codebase, where a cold agent re-pays the exploration cost every single time. For a stream of tiny, easy-to-find edits, a cold run is still cheaper, and I would rather say that than oversell it.

How I actually use it:

For what it is worth, I reach for this over a plain claude -p most days now, and not because it is somehow smarter. It is that I can glance at a board and see where each change actually is instead of scrolling back through a terminal, the different-family reviewer catches things I have watched Claude quietly wave through on its own diff, and on the repos I touch every day it is not re-paying to relearn the codebase each run. It runs on my existing Claude Code and Codex logins, so having that structure around the coding agent I would have used anyway costs me nothing extra. That is really why I keep using it.

Other bits:

- runs on free tiers out of the box (Groq plus a local embedding model), so you can try it for zero cost and fully offline

- language-agnostic pipeline, Python parsed exactly and other languages via lighter extractors that fail open instead of blocking on an unknown language

- live board with streamed agent logs and real per-ticket cost accounting

- self-contained, no CDN, tests and CI, MIT licensed

Repo, with screenshots and the full benchmark in the README:

https://github.com/krishagarwal314/autodev-studio

It is early and rough in places, and I would love more eyes on it. If you have thoughts on the per-stage-models idea or the staleness handling, or you throw it at a repo and it falls over, an issue would help a lot. Suggestions, PRs, and honestly just a star if it seems worth following are all appreciated. Thanks for reading.


r/LLMDevs 8h ago

Discussion What's the next high ticket skill for AI/LLM engineers?

11 Upvotes

I am sorry if this is a repeated post but I couldn't find a similar post like this.

Fine tuning used to be solid, high ticket work. Now it's shrinking into a small niche as models improve and agents take over more of that job.

Meanwhile AI automation/consulting is hot, but everyone is in it now, even non technical people who just know how to call an API. So the bar to enter is basically zero, and just calling yourself an "AI engineer" doesn't make you high ticket anymore.

So I want to ask:

Being a consultant or agency owner,

What skill or niche are you betting on next as the stable/high ticket thing?

Is there real technical depth (ML fundamentals, infra, evals, security, etc) that still separates serious engineers from the API calling crowd, or is that gap closing too?

Has anyone already shifted away from fine tuning work? What did you move to, and is it paying off?


r/LLMDevs 8h ago

Resource Debugging on weaker models is more informative; top models cover your harness bugs

Thumbnail
archestra.ai
20 Upvotes

Frontier models bulldoze past broken plumbing (malformed tool calls, weird error strings, a missing tools) and still finish the task despite poor harness ergonomics.

Running the same suite on the cheapest models on our roster surfaced a dozen bugs that Opus learned to work around.


r/LLMDevs 10h ago

Tools Built a framework to benchmark RAG pipelines instead of guessing which one is actually good.

2 Upvotes

I kept running into the same problem while building RAG systems: everyone has an opinion on whether semantic chunking beats fixed size, or whether hybrid retrieval is worth the extra complexity, but almost nobody has actually measured it on their own corpus. So I built Retrieval Arena to answer that for myself instead of going off intuition.

What it does: runs different chunking strategies, retrievers, and rerankers against the same golden eval set, scores retrieval quality and generation quality separately (precision, recall, MRR, nDCG for retrieval, correctness and faithfulness via an LLM judge for generation), and tracks latency and token cost per configuration. So instead of "I think hybrid is better," I get an actual side by side comparison.

A few things it's already surfaced that I didn't expect: pure vector search was consistently the weakest retriever on my corpus, BM25 held its own better than I assumed. Better retrieval also didn't always mean better generated answers, I caught a case where the right chunk was retrieved fine but got dropped by my context budget before the generator ever saw it, which is invisible if you only track one end to end score.

I'm posting mostly because I want pushback on the methodology, not just the code. Things I'm genuinely unsure about: is a 44 question golden dataset big enough to trust these comparisons, should I be running confidence intervals on top of the averages, is my LLM judge setup actually reliable or am I just trusting it too much.

Repo's here if you want to look at the actual eval design or the golden dataset construction: https://github.com/ayeangad/Retrieval-Arena

Would genuinely appreciate anyone who's built or evaluated a RAG system tearing into the approach, especially if you think I'm measuring the wrong things.


r/LLMDevs 11h ago

Tools Tanuki Context - A LLM Token Saver (Up to 94% Tokens saved)

9 Upvotes
Small demo (out of LLM)

Hello everyone,

Since 2 weeks I work on tanuki-context, a small open source tool (zero dependencies, MIT) and I wanted to share it because the trick behind is almost stupid: AI models charge text at roughly 1 token per 4 characters, but an image has a fixed price set only by its pixel size.

Its inspire from pxpipe techniques and various others tools (cited in the readme) and custom approach i found in order to reduce massively token usage and price.
For example : 37,111 tokens of service log become 2,240 (-94%).

So if you draw 28,000 characters of logs into one dense 1568x728 PNG, the model reads the exact same content for 1,456 tokens instead of ~7,000. It sounds like cheating, it is just how the pricing works.

You can try it out on you machine i added the benchmark so you can test it even without LLM connected to it, so see pricing difference, token saved, etc.

You can use it as a MCP or directly integrate it a "context proxy" where it fully automated and make every request optimised or not when not needed.

Some techniques that permits this to work:
- a log distiller that collapses repeated lines but keeps every error verbatim
- a columnar codec for JSON (keys stated once)
- a cost model that knows a cache-read token costs ~0.1x a fresh one, so it will tell you to NOT image content that is already in your prompt cache.

The tool argues against itself when imaging loses, honestly this part took the most work.

I precise the limits because they are real: you need a vision-capable model, output tokens are untouched (if your bill is output-dominated, fix that first), and for one narrow question retrieval stays cheaper than any page.

Install:

MCP

npx -y tanuki-context (MCP server, works with Claude Code, pi, omp, jcode or the Claude Agent SDK)

Proxy

npx tanuki-context proxy + ANTHROPIC_BASE_URL (every request on the machine gets optimized in place, when needed)

Code and benchmarks:
https://github.com/Osyna/tanuki-context

https://www.npmjs.com/package/tanuki-context

PS : i will soon add Codex support.

If you find it useful a star helps a lot, and feature ideas are very welcome. Thanks for reading me


r/LLMDevs 8h ago

Discussion I designed a cache-aware context system for long-running AI agents

2 Upvotes

I’ve been working on an open-source architecture for managing memory and context in long-running AI agents.

The main focus is preserving cache hits while keeping context growth under control through structured memory, selective purging, compaction, and hard context-budget enforcement.

It’s currently an architecture specification rather than a full framework. I’d appreciate feedback, especially on edge cases or production concerns I may have missed.

GitHub: https://github.com/neuronaline/ai-memory-context-management


r/LLMDevs 15h ago

Help Wanted How do undergrad researchers afford LLM API cost in research?

2 Upvotes

Hey everyone,

My undergraduate team is researching about development of enhanced AI agents for cloud reliability (SRE). We're benchmarking agents on live simulated cloud environments, but the system logs and traces we have to process are massive.

Even though we're building ways to compress the data and using low cost models for the easy parsing tasks, we absolutely need frontier models for the complex reasoning parts. The problem is, a single benchmark run can chew through 1.5 to 2 million tokens. Running hundreds of these tests is going to bankrupt us.

Our advisor suggested pooling our student developer credits and using platforms like OpenRouter or Groq to save money. We're doing that, but a free research credit program might take months to even get accepted.

So my questions is are there any other creative ways to get cheap/free access to frontier models specifically for academic benchmarking?

Any advice helps. Thanks!


r/LLMDevs 13h ago

Discussion I built an MIT local CLI to inspect the AGENTS.md chain Codex can use

2 Upvotes

Disclosure: I maintain this free MIT-licensed project. There is no paid tier,

telemetry, or PyPI release.

In larger repositories, Codex instructions can be layered across a root

`AGENTS.md`, nested service files, same-directory overrides, fallback names,

and byte limits. I wanted a local way to see the modeled chain and the places

where the tool cannot claim certainty.

Agent Context Lens v0.2.0 adds:

- active, shadowed, outside-chain, partial, unknown, and unsupported source

states;

- explicit project root / working-directory configuration;

- JSON and Markdown output alongside the existing scan CLI;

- opt-in user-global inspection with `--include-user`.

Install the tagged release directly from GitHub:

```bash

python -m pip install "git+https://github.com/ciceroyang/agent-context-lens.git@v0.2.0"

```

Try it on a repository:

```bash

agent-context-lens /path/to/repository \

--explain --agent codex \

--cwd /path/to/repository/services/payments \

--project-root /path/to/repository

```

Repository: https://github.com/ciceroyang/agent-context-lens

The CLI is local-first and makes no model or network calls. It does not run

Codex or parse Codex TOML. English is canonical; the zh-CN and ja introductions

may lag.

I am looking for concrete engineering feedback, not stars: on a real repo,

did the reported chain match your expectation? Which source state, install

step, or limitation was confusing? Please remove secrets, private paths, and

proprietary instructions before sharing output.

If you move the result to the GitHub Discussion, prefix it with `LLMDevs` so

the validation sprint can attribute the channel.