| ▲ | If you don't run your own LLM proxy, how do you know whats going on?(jrdsgl.com) |
| 94 points by amrrs 8 hours ago | 69 comments |
| |
|
| ▲ | jakozaur 2 hours ago | parent | next [-] |
| 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 | parent [-] | | 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 an hour ago | parent | next [-] | | 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. | | | |
| ▲ | Implicated an hour ago | parent | prev | next [-] | | 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 | parent [-] | | 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 37 minutes ago | parent | prev | next [-] | | 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 an hour ago | parent | prev [-] | | Don't install a second harness. You only need one to begin with! | | |
| ▲ | rao-v an hour ago | parent [-] | | 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 | parent | prev | next [-] |
| 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. |
| |
| ▲ | dcss_gardener 4 hours ago | parent | next [-] | | 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. | | |
| ▲ | Aurornis 17 minutes ago | parent | next [-] | | > 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. | |
| ▲ | tripleee 3 hours ago | parent | prev | next [-] | | 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 2 hours ago | parent | next [-] | | 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 | parent | prev | next [-] | | 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 | parent | prev [-] | | 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. |
| |
| ▲ | gruez 3 hours ago | parent | prev | next [-] | | >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 | parent [-] | | 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 | parent | prev [-] | | (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 3 hours ago | parent | prev | next [-] | | 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 3 hours ago | parent | next [-] | | 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 | parent | prev | next [-] | | This is true for pretty much every fixed price subscription service in existence | |
| ▲ | shepherdjerred 2 hours ago | parent | prev [-] | | I honestly feel a bit worried Anthropic/OpenAI are going to drop me since I consistently hit my limits |
| |
| ▲ | mrgaro an hour ago | parent | prev | next [-] | | 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. | |
| ▲ | denkmoon 3 hours ago | parent | prev [-] | | 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 2 hours ago | parent | next [-] | | 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 | parent | next [-] | | 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 2 hours ago | parent | prev [-] | | 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 | parent | prev [-] | | 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 | parent [-] | | Running businesses at massive losses with the expectation of making that money back by being _the_ monopoly on this technology. |
|
|
|
|
| ▲ | zaptheimpaler 17 minutes ago | parent | prev | next [-] |
| 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.. |
|
| ▲ | variety8675 4 hours ago | parent | prev | next [-] |
| 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 | parent | next [-] | | 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 3 hours ago | parent [-] | | >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. | | |
| ▲ | robertclaus 2 hours ago | parent | next [-] | | 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. | |
| ▲ | hasyimibhar 3 hours ago | parent | prev | next [-] | | 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. | |
| ▲ | DANmode 30 minutes ago | parent | prev [-] | | Exactly how I feel about the two major AI compute dealers. |
|
| |
| ▲ | viccis 25 minutes ago | parent | prev [-] | | 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 4 hours ago | parent | prev | next [-] |
| 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 3 hours ago | parent | prev | next [-] |
| 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 2 hours ago | parent [-] | | Aperture supports extensions? What sort are you working on? | | |
| ▲ | passive an hour ago | parent [-] | | 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. :) |
|
|
|
| ▲ | hoppp 5 hours ago | parent | prev | next [-] |
| 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 4 hours ago | parent [-] | | 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 | parent [-] | | 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. |
|
|
|
| ▲ | ndom91 2 hours ago | parent | prev | next [-] |
| 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 |
|
| ▲ | jubilanti 4 hours ago | parent | prev | next [-] |
| 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 | parent | next [-] | | Bifrost has been decent, despite being partially shareware | |
| ▲ | what 3 hours ago | parent | prev [-] | | Imagine complaining about “buggy vibecoded messes” that you want to use to produce your own buggy vibe coded mess. |
|
|
| ▲ | jsphweid 2 hours ago | parent | prev | next [-] |
| 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. |
| |
|
| ▲ | garou 3 hours ago | parent | prev | next [-] |
| https://github.com/gumieri/nenya my own ai gateway/proxy |
|
| ▲ | chopete3 3 hours ago | parent | prev | next [-] |
| 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 |
|
| ▲ | crossroadsguy 2 hours ago | parent | prev | next [-] |
| Some don't need to. Not yet anyway. There's config, there's control, and then there's setup-theatre as a hobby. |
|
| ▲ | impure 4 hours ago | parent | prev | next [-] |
| 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. |
|
| ▲ | left-struck 3 hours ago | parent | prev | next [-] |
| I like the content but I have to say the Mark Manson writing style is off putting. |
|
| ▲ | sroerick 4 hours ago | parent | prev | next [-] |
| Seeing some good stuff in the comments, but how are people doing this? |
| |
|
| ▲ | joshheitzman 3 hours ago | parent | prev | next [-] |
| By running my own agent harness that provides detailed API metrics in the GUI and logs very verbosely. |
|
| ▲ | voodooEntity 8 hours ago | parent | prev | next [-] |
| 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 | parent | prev | next [-] |
| What is the use case for these sorts of things? |
|
| ▲ | ok_major_9889 3 hours ago | parent | prev | next [-] |
| Why not just grab it from the kernel? |
| |
| ▲ | verdverm 3 hours ago | parent [-] | | 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 2 hours ago | parent | prev | next [-] |
| 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 3 hours ago | parent | prev | next [-] |
| > 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 4 hours ago | parent | prev | next [-] |
| Does anyone here use LiteLLM for this? How well does it do? Can I use it with my Claude subscription? |
| |
| ▲ | selcuka 4 hours ago | parent | next [-] | | https://docs.litellm.ai/docs/tutorials/claude_code_max_subsc... | |
| ▲ | verdverm 4 hours ago | parent | prev [-] | | 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 | parent | prev [-] |
| Easy. I don’t use any of the AI shit. |