FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I built a self-hosted LLM proxy that supports 12 providers (Claude, GPT-4o, Gemini, Ollama...)
NewsMachine Learning

I built a self-hosted LLM proxy that supports 12 providers (Claude, GPT-4o, Gemini, Ollama...)

via Dev.toSabahattin Kalkan2h ago

Every time a new LLM comes out, someone on your team adds a new SDK, a new API key in .env, and a new set of error handling logic. Repeat for OpenAI, Anthropic, Gemini, Groq, Mistral, Ollama... I got tired of this. So I built llm-gateway . What it does llm-gateway is a single Go binary that sits between your app and every LLM provider. Your code sends one request format (OpenAI-compatible), and the gateway routes it to the right provider based on the model name. # One endpoint for all providers curl http://localhost:8080/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{"model": "claude-sonnet-4-20250514", "messages": [{"role": "user", "content": "hello"}]}' # Switch provider by changing the model name — zero code changes curl http://localhost:8080/v1/chat/completions \ -d '{"model": "gpt-4o", "messages": [...]}' # Local model — no API key needed curl http://localhost:8080/v1/chat/completions \ -d '{"model": "llama3.2", "messages": [...]}' Model routing is automatic: cla

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

News

MRCAPTION49 | MEDIUM49

Medium Programming • 48m ago

These retro-style speakers brought new life to my audio library - and they look great
News

These retro-style speakers brought new life to my audio library - and they look great

ZDNet • 1h ago

A century after the first rocket launch, Ars staffers pick their favorites
News

A century after the first rocket launch, Ars staffers pick their favorites

Ars Technica • 1h ago

MacBook Neo vs. Mac Mini: I compared Apple's $599 models, and the choice is easy for me
News

MacBook Neo vs. Mac Mini: I compared Apple's $599 models, and the choice is easy for me

ZDNet • 1h ago

Best 4 BHK Flats In Bangalore For Luxury Lifestyle & Investment
News

Best 4 BHK Flats In Bangalore For Luxury Lifestyle & Investment

Medium Programming • 1h ago

Discover More Articles