Developer builds multi-model gateway compatible with OpenAI and Anthropic APIs
10/24/2026 — 10/24, 02:27·1 sources (all)·1 reports (all)
Key takeaways
- To cut AI coding costs, a developer built a multi-model gateway with one key for DeepSeek, GLM, Kimi, Claude, GPT, compatible with OpenAI an…
Background & analysis
On October 24, 2026, a developer posted on V2EX about a multi-model gateway they built themselves. The motivation was straightforward: they mainly code with OpenCode / Claude Code, and the monthly subscription and API costs were adding up, while each model required a separate platform and a pile of keys to switch between. Over several months of evenings, they built a small project to solve this.
The gateway accepts a single key and routes requests to DeepSeek, GLM, Kimi, Claude, GPT, and other models. It is compatible with both the OpenAI and Anthropic API formats, so in OpenCode, Claude Code, and Cursor, users only need to change the base URL to start using it. When friends said they did not want to configure a client, the developer added a web chat interface modeled on the Claude web experience, where after signing in you can chat with each model directly and switch between them to compare outputs.
The post highlights several lessons from building it. First, the streaming return formats of the OpenAI and Anthropic APIs differ significantly, and Claude Code is quite picky about format, so it took a long time to stabilize. Second, usage is billed per token in real time; handling duplicate billing caused by interrupted streams and retries turned out to be more work than expected. Third, for login, the developer kept only Google and Telegram sign-in, skipping email verification altogether. Fourth, top-ups currently accept only cryptocurrency, with a minimum of $1 and no expiration on balances; domestic payment methods are not yet supported.
That is where the project stands at present, based on the available material.
AI-generated from 1 reports · updated 2 hours ago
Latest turnA developer built a multi-model gateway that uses one key for DeepSeek, GLM, Kimi, Claude and GPT, with OpenAI- and Anthropic-compatible API formats for OpenCode, Claude Code and Cursor. A web chat UI was added later, and the post covers streaming-format compatibility, token billing and sign-in lessons.
Related AI tools
- Heat index
- 91
- All sources
- 1
- All reports
- 1
- First seen
- 4 hours ago
Reports on this story headlines open the original
A developer built a multi-model gateway that uses one key for DeepSeek, GLM, Kimi, Claude and GPT, with OpenAI- and Anthropic-compatible API formats for OpenCode, Claude Code and Cursor. A web chat UI was added later, and the post covers streaming-format compatibility, token billing and sign-in lessons.
V2EXAI score 52
Other stories people are talking about
- Heat index 86NewContext Hub manages MCP configs and Skills for Claude Code and Codex1 sources
- Heat index 97NewWriting SKILL.md files for Claude Code, Cursor, and other agents1 sources
- Heat index 89NewBuilding a Polymarket paper-trading bot with Claude Code1 sources
- Heat index 79The Verge: Claude fails to produce a scorpion antivenom2 sources
- Heat index 84Anthropic confirms Claude pricing parity across Bedrock and API1 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

