#routing

2 bookmarks tagged with #routing · RSS Feed · ← All Tags

I built a 200 line AI router in TypeScript. My monthly bill dropped 41%. - DEV Community

https://dev.to/thegdsks/i-built-a-200-line-ai-router-in-typescript-my-monthly-bill-dropped-41-23ok?context=digest
Wrappers exist because routing AI calls is annoying. It is also the highest leverage thing you can own in your own code. The 200 lines above are not a moat. They are a Tuesday afternoon. The reason to write them is that you cannot improve a bill you cannot see.