If you don't run your own LLM proxy, how do you even know what's going on?

If you don't run your own LLM proxy, how do you know whats going on?

If you don't run your own LLM proxy, how do you even know what's going on?

Most people chat with LLMs through a provider's frontend and trust whatever analytics it shows—often just cute mascot images, not real token usage data. The author argues for running your own proxy: one endpoint for multiple providers and models, logs of which key called what model and when, virtual API keys, and infrastructure you control. With a self-hosted proxy, a cache miss during a coding session can be traced in seconds, and switching models or providers doesn't mean rebuilding everything again.

Own your infrastructure, your application visibility, data pathing, and storage.
  1. Havoc

    Toyed around with it back when claude code showed up, but never really got any useful actionable insights from it so stopped

    (Aside from ditching CC & it's bloated sys prompts that is)

  2. jakozaur

    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.

  3. NeutralWanted

    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.

  4. variety8675

    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

  5. soared

    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.

  6. passive

    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.

  7. hoppp

    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.

  8. jubilanti

    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?

More from this day

2026-10-19