1
0 Comments

One app, 3 AI providers, 3 SDKs, 3 sets of keys — how are you keeping this sane?

One app, 3 AI providers, 3 SDKs, 3 sets of keys — how are you keeping this sane?

Hey IH — a build-in-public confession about the part of our stack that quietly turned into a mess.

When we started, using one model was simple. Then reality happened:

  • one workflow ran best on Claude
  • another on GPT
  • a few experiments on Gemini
  • and some cheap/fast tasks on smaller models

None of that was a "decision." It just accumulated.

Six months in, here's what our codebase actually looked like:

  • 3 different SDKs, each with its own request/response shape
  • 3 sets of API keys in 3 dashboards
  • per-provider retry and error handling, written 3 slightly different ways
  • and every time we wanted to try a new model, another integration

The annoying part wasn't any single provider. Each one is fine on its own. The annoying part was that adding the 4th model meant touching code in four places, and nobody on the team could answer "what would it take to swap this workflow to a different model?" without opening the editor.

At some point we stopped adding models we wanted to try, just because the integration tax wasn't worth it. That's the part that actually bothered me — the friction was quietly shaping our product decisions.

So I'm genuinely curious how others are handling this, because I don't think we're special here:

  • Do you wrap everything behind your own internal abstraction layer?
  • Use an aggregator / gateway?
  • Or just standardize on one provider and accept the lock-in to keep things simple?

What does your multi-provider setup actually look like right now — and at what point did it start to hurt?

(For context on where I'm coming from: we ended up routing everything through one OpenAI-compatible API so the rest of the app only talks to a single endpoint — that's what we're building at EvoLink. But I'm more interested in how you're solving it, especially if you went the build-it-yourself route.)

posted to Icon for group Building in Public
Building in Public
on June 10, 2026
Trending on Indie Hackers
6 weeks solo, 2 rejections, finally live but nobody told me marketing would be this hard User Avatar 118 comments Building ExpenseSpy solo, no funding — launching June 17 on iOS & Android User Avatar 46 comments I built a $5/1k-listing CRE data API because CoStar is overkill for first-pass scans User Avatar 18 comments Building LinkCover – Day 3: Payment is live. No more building, time to sell. User Avatar 15 comments I just wanted to taste AI coding tools. A week passed. User Avatar 14 comments I Was Bypassing Every App Blocker, So I Built One That Fights Back User Avatar 11 comments