72 comments

  • jakozaur 3 hours ago

    Proxies are good if you pay API prices.

    For subscriptions, it is easier to collect the JSONL files from ~/.claude/projects/ and similar directories. They are better organized (e.g., subagents) than what the proxy sees.

    However, the best value comes from collecting agent sessions across the whole organization. You'll need to scrub credentials and handle security.

    • rao-v 2 hours ago

      What’s the best way to pull (ie archive) and search these across a few harnesses? I remember seeing a project or two trying to standardize them, but can’t find anything that seems to be a good sensible solution

      • diurnalist 2 hours ago

        I've used https://github.com/kenn-io/agentsview and found it to be quite sensible. Main friction point for me is I want it to be easier to extend.

        • rao-v an hour ago

          Thanks will check it out

      • Implicated an hour ago

        Ask claude to do it end to end, then write a solution that fits your needs from it's experience with you driving it.

        I did exactly this - probably the single most valuable piece of software I've "written". It's the backbone of every piece of code coming out of any agent under my control (via MCP toolset).

        • rao-v an hour ago

          That’s like half a day to get to sensible useful defaults that everybody needs. Any chance you’d be up to push what you got to git?

      • john01dav an hour ago

        I think that T3 Code tries to do something like this, though I do not use it and have not used it, and I have heard good things about this.

      • throwaway27448 2 hours ago

        Don't install a second harness. You only need one to begin with!

        • rao-v an hour ago

          I mean Claude and codex both have their uses for me and I’m one of the deranged running my own inferencing box with Qwen Next so I need pi for it.

  • NeutralWanted 4 hours ago

    I'd love to do something like this, or use API keys, but I still don't understand how people justify the cost of using API keys vs. subscription.

    I tested it once, I'm in on the 20x claude max ($200/month) and I either max my weekly limit every week or come really close. But it only took 2-3 days to hit $200 spend with api keys.

    • Darkphibre 22 minutes ago

      I'm with you there. I'm on expensive plans with everyone because I run out of tokens and rotate/use the models that are best in their niche...

      CLI Model Pct Remaining Reset Date claude all models 15% 3d claude Fable 50% 3d grok all models 0% 4d agy Gemini 36% 5d agy Claude and GPT models 0% 5d codex codex 0% 6d

      And I also just used two of my three get-another-week-free tokens for codex.

      If you've got an agentic swarm, or are working on multiple big projects at once, or have agents parsing data... you burn through tokens fast. The last four days in API would have cost me well over $3k.

    • dcss_gardener 4 hours ago

      The current crop of flash models are more comparable to sonnet than opus but they are very affordable.

      The reality is that the subscriptions are heavily subsidized. Pretty much every sub that's not run by one of the money-burning frontier labs has had to drop it or dramatically increase prices and lower limits in the last few months. Cheap tokens are an acquisition tool, not a real product. It sounds dramatic but it really is the drug dealer sales funnel.

      At some point they're going to drop the real prices in your lab and you're going to have to figure out how to pay that much or pay someone else a lot less. Better to get a handle on it now.

      • tripleee 4 hours ago

        It's not obvious the subsidization will end. Loss leaders are a thing. Most enterprise at this point are paying API pricing

        To better predict what they'll do with it we'd need to know the proportion of token usage via API vs subscription. Keeping an affordable, slightly unprofitable subscription to get people in isn't a bad idea. They also get marketing benefits from the word of mouth

        • swatcoder 3 hours ago

          In the optimistic case you describe, what smart customers want to watch out for is being lured into vibing your projects into such byzantine slop-complexity that subscription plans and trailing models are no longer sufficient to make progress on them.

          Vibe-coders talk about surrendering understanding to the models, trusting that there will always be a model able to overcome and work through any technical debt they happen to accumulate, but the danger that still lurks there (at least for the naive) is that you'll need increasingly large contexts, increasingly sophisticated models, and increasingly large token spends just to keep that ball rolling.

          Between profitable enterprise accounts being ineligible for subscription, eager but busy people paying for underutilized subscriptions, and naive vibe-coders falling into their pit trap, you can indeed imagine subsidized subscription accounts being available for a long time and remaining an effective value hack for people careful enough not to fall into the pit trap. But only insofar as they are that careful.

        • jbvlkt an hour ago

          Also they can always find another way to make money. Make subscription users product and sell some analytics like "show most trending project being built this week".

        • transitorykris 3 hours ago

          Also, some subset of developers on subscriptions are going to develop products that use the API, and some of those products are going to be successful.

      • Aurornis 42 minutes ago

        > At some point they're going to drop the real prices in your lab

        The real price for tokens at a specific level of intelligence is dropping rapidly. Between models improving and new hardware getting faster, I think prices will be going down, not up.

        > Better to get a handle on it now.

        I experiment with a lot of providers and models. I strongly disagree that anyone needs to start migrating now in preparation for prices maybe going up in the future.

        It doesn’t make sense. Deal with a price increase when it happens, if it does.

        Switching models and providers isn’t some huge lift. I can jump to a new model or even hardness and get a feel for it in a day or two. It’s not some huge undertaking that requires preparation and planning.

        If prices go up, try something at that point in time. Don’t worry about it until then.

        • qlte 16 minutes ago

          When Claude Code subscriptions really started to catch on, there was a popular idea on HN that Anthropic's end game was that basically every dev adjacent role would need to pay for a $200/mo coding plan.

          Then, both Anthropic and OpenAI in lockstep developed a enterprise pricing structure that openly coerced large businesses to pay API prices where it was feasible to spend $200/day rather than the comparatively cheap $200/mo.

          Even if token pricing relative to intelligence does trend down over time, that doesn't mean the pricing structure will actually translate to lower costs, particularly in the cash cow B2B market.

      • gruez 4 hours ago

        >At some point they're going to drop the real prices in your lab and you're going to have to figure out how to pay that much or pay someone else a lot less. Better to get a handle on it now.

        So just wait until that happens? What's the point of scrimping and saving now? Not to mention you're paying for a premium in the meantime.

        • dcss_gardener 2 hours ago

          I don’t disagree really and it is mostly what I am doing. I put probably like 20% of my work through open weights.

          It does make me sharper I think. If you only ever use claude or whatever you don’t even really know exactly how tied to it you are.

          Funny enough the drug dealer thing still holds. A deal’s a deal if you’re going to buy it anyway.

      • chrisweekly 2 hours ago

        (meta commentary) really gnarly word choice: "drop" in "they're going to drop the real prices in your lab"?

        I took your meaning as "they're gonna drop [a bad surprise on you by raising] the real prices"... so at least it's not quite as tortured as the ambiguous "support for version N dropped today" (where you often can't even infer the direction from context).

        this isn't just a tangent, I'm having trouble understanding the point you're trying to make, which hinges entirely on deciding if you meant "drop" literally

    • mrheosuper 4 hours ago

      They are betting on people don't max out their subscription.

      Someone who pays $20 a month may only use 10% of their max budget.

      • slyall 4 hours ago

        Personally at home I use the free github copilot and then openrouter when that runs out. Last month I used $0.90 of openrouter. Zero so far this month. When my bill starts hitting double digits I'll consider options.

        Different matter at work but even there we are paying for API costs and have a monthly allowance (starts at $200/month but increases fairly easy to get)

      • cortesoft 3 hours ago

        This is true for pretty much every fixed price subscription service in existence

      • shepherdjerred 3 hours ago

        I honestly feel a bit worried Anthropic/OpenAI are going to drop me since I consistently hit my limits

    • denkmoon 4 hours ago

      The drug dealer gives you a free hit because it is profitable for him in the long term for you to be addicted to his product, not because he is your friend.

      • calebkaiser 3 hours ago

        It's weird to me how often this analogy gets used because:

        1. In most cases, like this one, the product isn't heroin.

        2. Drug dealers don't actually do that.

        • denkmoon an hour ago

          Are you sure the product isn't heroin? If we take it away, there's a bunch of people around here at least that will definitely experience withdrawal.

        • gnabgib 3 hours ago

          What? (1) Yes.. it's never that [stupid economics, they don't want their purchasers to die.. might as well sell fentanyl], (2) it's always that [hardly any way to propose alternatives.. within the scope of not killing the customer]

      • goosejuice 3 hours ago

        Another way to look at it is they are running a business. It's not even close to gambling for example.

        • denkmoon an hour ago

          Running businesses at massive losses with the expectation of making that money back by being _the_ monopoly on this technology.

    • mrgaro an hour ago

      You might not have a choice. For example, if you want to get a guarantee from Anthropic that they don't train bases on your prompts, you will need an enterprise deal, which is pay-by-token.

  • variety8675 4 hours ago

    I’m not sure what people are doing with these subscriptions to feel the need to monitor what’s going on this closely. A $100 OpenAI subscription feels effectively infinite for my usage at home

    • TuxedoBuddy 4 hours ago

      Some people are fine with an ISP-provided router that just works, and some would rather run pfSense, if even just to look at the internals.

      • throwaway_new_1 4 hours ago

        >ISP-provided router that just works

        I don't remember the last time this was true. These things don't have a 'just works' mode.

        • hasyimibhar 4 hours ago

          I've never touched my ISP-provided router. But maybe it's just how it works in my country (Malaysia), we pretty much only have 1 ISP with monopoly, so maybe that helps.

        • robertclaus 3 hours ago

          I let them install the free ISP router a year back when they installed fiber in the neighborhood. I assumed I would swap it out the next day, but I haven't had any issues like back in the day. I love shopping for a nice router as much as the next tech nerd, but decent drop-in home networking seems to be pretty commodity now days.

        • DANmode an hour ago

          Exactly how I feel about the two major AI compute dealers.

    • viccis an hour ago

      Cache TTL will get you anyway. For Claude subscriptions, subagents still have a 5m TTL and before I discovered that, their constant waits for ~10 min tests or similar tasks would destroy my 5h usage. And for my API subscription at work, Claude has a 5m TTL for all stuff, and that's nowhere near long enough. You have to be monitoring this unless you want to absolutely torch your company's budget.

  • soared 5 hours ago

    One man’s fun is another man’s “idk what any of these words mean, I pay $20/mo for some company to abstract this complexity away”

    For clarity, I do like blog posts like these.

  • passive 4 hours ago

    Tailscale makes Aperture available for free, and while it's not something you own, it is in your tailnet, so at least you have a certain amount of control over how things access it. It gives a nice view of what agents are doing, with lots of configurability and extensions, and the team behind it has been updating pretty steadily.

    I happen to be working on an extension to Aperture, so I have my own reason to promote it. But I do think it's a nice easy solution, and I promoted it to people before I was extending it.

    • wild_egg 3 hours ago

      Aperture supports extensions? What sort are you working on?

      • passive 2 hours ago

        They have "connectors" you can configure for a variety of services, and both specific external tools and custom webhooks: https://tailscale.com/docs/aperture/integrate

        I'm building a "bring your own data" layer for agentic work of all sorts, using the webhook method for now.

        In the context of Aperture, I watch for agents looking for certain types/sources of data, and instead provide them with an in-tailnet API for accessing that data.

        In a personal context, think email, calendar events, music playlists, fitness app records, transactions. I've also found it useful in a professional context, but I think I need to explore that a fair bit more.

        It keeps credentials out of agents hands, and provides some relatively standard ways for controlling what agents can see and change.

        I need a fair bit of hardening work before I try to get random folk to use it, but I might post something more here in the next week. :)

  • zaptheimpaler 42 minutes ago

    I agree its so important to proxy and capture all the data. I've been very happy with bifrost as a proxy. It's a quality piece of software, unlike LiteLLM. You also get this one interface to access all your models, across all services, including self-hosted, STT models, everything. There are ways to use subscriptions with proxies too, but they are discouraged because of grey-hat uses..

  • ndom91 2 hours ago

    Want to shamelessly self promote my self hosted proxy, supports subs and API usage.

    Primaily designed as a local LLM ops project, but will definitely do proxying for claude-code, opencode, codex, etc

    https://llama-dash.dev

  • hoppp 5 hours ago

    Yup. Setting up liteLLMProxy on some servers as we speak and will start playing around.

    I can't orchestrate agents in sandboxes without it.

    1. It can issue virtual keys, so provider API keys never go near the sandbox

    2. I can see everything

    3. Guardrails

    And much more

    Looking forward to it.

    • DelightOne 5 hours ago

      1) What kind of guardrails are you using? Do you do models like prompt injection checkers? Or what guardrails are useful that do not know the environment the agent lives in?

      2) I heard Bifrost also works for this. Did you try that as well, pros/cons?

      • dcss_gardener 4 hours ago

        I'm not the person you asked but yes pretty much. I've found the prompt injection protection models pretty limited, but get good results from gpt-oss-safeguard with a policy describing various prompt injection techniques. More expensive but more flexible and reliable and I only run it on web fetch and web search results. Costs me like 5-20 cents a day depending on what I'm working on.

  • jubilanti 4 hours ago

    Yeah you should run an LLM proxy, but imagine a world where LiteLLM and all the other LLM shovels weren't buggy vibecoded messes. And with the velocity of updates I feel there has to be vulnerabilities there. Or am I just holding it wrong? Anyone got a good alternative?

    • hoss1474489 4 hours ago

      Bifrost has been decent, despite being partially shareware

    • what 4 hours ago

      Imagine complaining about “buggy vibecoded messes” that you want to use to produce your own buggy vibe coded mess.

      • user37747273 12 minutes ago

        This general phenomenon is not new, but it has been so obvious during 2026. Everyone want to consume everyone else hard work, to create their own slop. Just pure egoism.

  • garou 3 hours ago

    https://github.com/gumieri/nenya

    my own ai gateway/proxy

  • jsphweid 3 hours ago

    I don't do this but I do have a system that imports all my conversations with AI (claude code, chatgpt, claude app, etc.) to a storage system I call Chatacombs: a unified storage of most conversations I've had with AI, as detailed as I can easily get.

    • bee_rider 2 hours ago

      “Chatacombs” is a fantastic name.

  • chopete3 3 hours ago

    This is the best one I found https://github.com/kenn-io/agentsview

    It is a not proxy. It can clearly show whats going on across all agents. The proxy's are generally inconvenient and yet another point of failure. I think the author got to the resort option quickly

  • impure 5 hours ago

    OpenRouter does all this for you. It's pretty nice. Although for apps I use another server to lock down the requests even more and prevent the client from seeing my API key.

  • crossroadsguy 2 hours ago

    Some don't need to. Not yet anyway. There's config, there's control, and then there's setup-theatre as a hobby.

  • left-struck 3 hours ago

    I like the content but I have to say the Mark Manson writing style is off putting.

  • sroerick 4 hours ago

    Seeing some good stuff in the comments, but how are people doing this?

    • kennywinker 4 hours ago

      I am not, but I can tell you how:

      homelab running liteLLM or gomodel

  • joshheitzman 3 hours ago

    By running my own agent harness that provides detailed API metrics in the GUI and logs very verbosely.

  • voodooEntity 8 hours ago

    Well that was one of the reasons why i build my own agent/harness - to have actual full observability of what it is doing and why it is doing what it is doing.

    Don't really understand why other agents to give those insights but well found my solution.

  • quixoticelixer- 3 hours ago

    What is the use case for these sorts of things?

  • ok_major_9889 4 hours ago

    Why not just grab it from the kernel?

    • verdverm 4 hours ago

      Because the details we care about right now already travelling over the network and the industry is adopting OTEL, where you can export and collate kernel things if you need to

  • roosterIllusi0n 3 hours ago

    I am boggled how the first step of an llm after you make an orchestrator isn't some kind of proxy that records your personal internet surfing to be used by your personal AI later. Every college should be running in house AI with their own in house search engines and in house any service. Don't go to any college that wants you to use chatgpt or other corporate nonsense. If they can't make local LLMs work, they are not a real college.

  • kennywinker 4 hours ago

    > Own your infrastructure

    ...proceeds to use codex.

    With just a 12gb VRAM GPU + 64gb of CPU RAM, and you can actually own your own infrastructure. I can't wait for hardware prices to fall so that becomes even more accessible.

  • stavros 5 hours ago

    Does anyone here use LiteLLM for this? How well does it do? Can I use it with my Claude subscription?

    • selcuka 5 hours ago
    • verdverm 5 hours ago

      I use GoModel and its amazing. My favorite features are virtual model, the support for arbitrary request labels, and the nice dashboads / ui. Creator has more sophisticated report generation on the near term roadmap. He's super responsive to feedback and ships fast. (except for his recent trip to the US west coast to meet founders and investors, he's EU based)

      You can use and control all.your subscriptions or aoikeys through a gateway like this, so you don't get pwned like what just happened with OpenCode (or an OpenRouter like vendor). GoModel has some ambitions like this, but is open source so you can run it on you own infra, with plans for self hosted enterprise as well (there are a few features already like SSO). We are rolling out the free version at work right now.

      I run GoModel at home and have hyper detailed history of every agent interaction, across models running on my sparks and OpenCode sub. You can call me a committed superfan of this project.

      https://github.com/ENTERPILOT/GOModel

  • pkstn 2 hours ago

    Easy. I don’t use any of the AI shit.