# garritfra/llmtee > A self-hosted proxy for the OpenAI, Anthropic and compatible APIs (OpenRouter, Ollama, vLLM, Groq) that logs every request with tokens, cost and latency and lets you set daily and monthly budgets per key. - Magnitude: 0.1 out of 10 — Quiet - Stars: 21 total · +0 stars measured 2026-11-25, 00:26–18:52 UTC, ≈ 0 by evening - Star trust: star growth looks organic - Category: Language models · Language: Go · License: Apache-2.0 · Created: 2026-11-08 · Last push: 2026-11-23 - GitHub: https://github.com/garritfra/llmtee · Page: https://gitnova.dev/en/r/garritfra/llmtee ## Useful for - Point Claude Code or the OpenAI SDK at the proxy to track LLM spend - Set a daily and monthly budget for an agent key and get 429 when exceeded - Export request stats to CSV or Prometheus to analyze costs ## How to get started ```sh export OPENAI_BASE_URL=http://localhost:8080/openai/v1 export ANTHROPIC_BASE_URL=http://localhost:8080/anthropic ``` Copied as is from the “quickstart” section of the README. GitNova has not run these commands: check them in the original before running: https://github.com/garritfra/llmtee#readme ## Why it’s here - Star-counter measurements on 2026-11-25 (UTC), 00:26–18:52: 21 → 21 stars (+0). This is the change over that interval. - The repository is 17 days old and already has 21 stars. - Hacker News: “Show HN: Log every LLM call with tokens, cost, latency, and time to first token” — 10 points, 14 days ago. ## Star trust Star growth looks organic. Star-trust labels are heuristics based on the repository’s behavior, not a check of every stargazer. ## Numbers - Forks: 2 - Issues and pull requests: 11 - Watchers: 0 - Average over the last week: 0 per day - Usual pace: 2 per day - Stars in the last hour (measured): 0 - Latest release: v0.1.1 (2026-11-11) ## Stars per day, last 18 days (oldest → newest, today is partial) 2026-11-08 … 2026-11-25: 0, 0, 0, 3, 0, 8, 6, 1, 1, 1, 0, 0, 1, 0, 0, None, None, 0 ## Magnitude by day, last 12 days 11-14 2.0, 11-15 1.6, 11-16 1.0, 11-17 0.7, 11-18 0.6, 11-19 0.2, 11-20 0.2, 11-21 0.6, 11-22 0.1, 11-23 0.1, 11-24 0.1, 11-25 0.1 ## Hacker News - Show HN: Log every LLM call with tokens, cost, latency, and time to first token — 10 points, 2 comments: https://news.ycombinator.com/item?id=50451943 ## Similar by description 1. **QuantumNous/new-api** — 2.9 · Steady · Language models · Go · +43 stars measured 2026-11-25, 00:21–18:46 UTC, ≈ 55 by evening Self-hosted AI gateway that aggregates multiple LLM providers behind a unified OpenAI-, Claude-, or Gemini-compatible API with routing, access, and cost management. Full card: https://gitnova.dev/en/r/QuantumNous/new-api.md 2. **tashfeenahmed/freellmapi** — 4.3 · Steady · AI agents · TypeScript · +401 stars measured 2026-11-25, 00:19–18:44 UTC, ≈ 509 by evening Aggregates free tiers from 34 LLM providers (635 endpoints) behind a single OpenAI-compatible /v1 API with smart routing, automatic failover, and encrypted keys. Full card: https://gitnova.dev/en/r/tashfeenahmed/freellmapi.md 3. **getlago/lago** — 1.1 · Steady · Backend & databases · Go · +3 stars measured 2026-11-25, 00:25–18:51 UTC, ≈ 4 by evening Open-source monetization infrastructure API that turns product usage events into billable metrics, pricing, credits, invoices and payments. Suited for AI products, SaaS and platforms that need usage-based billing. Full card: https://gitnova.dev/en/r/getlago/lago.md 4. **Wei-Shaw/sub2api** — 2.9 · Steady · AI agents · Go · +55 stars measured 2026-11-25, 00:21–18:46 UTC, ≈ 69 by evening An API gateway for AI subscription services that unifies access to Claude, OpenAI, Gemini and Grok behind one interface and lets users share subscription quotas. Full card: https://gitnova.dev/en/r/Wei-Shaw/sub2api.md 5. **NVIDIA-NeMo/Switchyard** — 1.0 · Steady · Language models · Rust · +6 stars measured 2026-11-25, 00:25–18:51 UTC, ≈ 8 by evening An LLM request router that picks the cheapest model capable of handling each call while preserving OpenAI and Anthropic API compatibility. Runs as a NeMo Relay or LiteLLM plugin, an embeddable library, or a standalone proxy. Full card: https://gitnova.dev/en/r/NVIDIA-NeMo/Switchyard.md --- Magnitude (0–10) measures how fast and how unusually interest in a repository is growing right now. It is not a quality score. Days are UTC. “So far today” is a fact; “expected by the end of the day” is a forecast. Summaries and use cases are written by an LLM (DeepSeek V4.1 Flash) from the README and may be inaccurate: verify specific claims (benchmarks, speed, hardware) in the repository itself. Data as of 2026-11-25 18:54 UTC, updated every 30 minutes.