Developer Builds Personal AI Gateway with Local Routing on macOS
11/02/2026 — 11/02, 21:18·1 sources (all)·1 reports (all)
Key takeaways
- A developer shared on V2EX a personal AI gateway built on a MacBook Pro to intercept local LLM calls. It utilizes a local 4B model for seman…
Background & analysis
On November 2, 2026, a developer who describes himself as working in B2B GTM and strategic marketing posted on V2EX about a personal AI gateway he built on a MacBook Pro. The project started around mid-2026, after what he called an out-of-control calling environment: a dozen-plus model subscriptions and API Keys across DeepSeek, NVIDIA NIM, DashScope, Gemini and others, with clients and scripts connecting directly and endpoints hard-coded into the codebase, making monthly spend impossible to account for. He framed the issue as a lack of control over invocations rather than a model-quality problem, and set out three goals: a single entry point so every client needs to be configured only once, intelligent routing that dispatches by task difficulty, and full auditability with a log of every call. The gateway now intercepts all local LLM calls, covering Cursor, Codex CLI, Claude Code and his own Agent content pipeline. A local 4B small model handles semantic routing: easy tasks go to cheap channels, while complex requests are forwarded to top-tier cloud models, and failed channels can be swapped out without users noticing. On the architecture side, the decision gateway listens on port 8081 as a self-written FastAPI service, kept running as a launchd daemon process, and performs five tasks before a request ever reaches a model, including outbound safety checks and local semantic routing. So far this setup is documented only in that single post, with no further developments reported.
AI-generated from 1 reports · updated 3 days ago
- Heat index
- 25
- All sources
- 1
- All reports
- 1
- First seen
- 3 days ago
Reports on this story headlines open the original
A B2B GTM practitioner described on V2EX how he built a personal AI gateway on a MacBook Pro that handles all local LLM calls, including Cursor, Codex CLI and Claude Code. The gateway uses a local 4B model for semantic routing, sends simple tasks to cheaper providers and escalates hard ones to top cloud models, logs every call and swaps providers without disruption.
V2EXAI score 54
Other stories people are talking about
- Heat index 840OpenAI ships Images 2.6 with GIF and SVG output15 sources
- Heat index 675OpenAI says its cyber model pipeline confirmed 1,724 Linux kernel flaws and generated 948 privilege-escalation exploits11 sources
- Heat index 642RisingOpenAI GPT-5.6 Brings Major Agentic and Computer Use Upgrades13 sources
- Heat index 633RisingCat Wu, product lead for Claude Code, joins OpenAI9 sources
- Heat index 630NewSurgeOpenAI releases GPT-6 Cyber cybersecurity model7 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

