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.
Dr. Dobb's | Ant Colony Algorithms | August 3, 2006
http://www.ddj.com/dept/ai/191800178?pgno=1
"Among other complex problems, Ant Colony optimizers can be used to simulate routing problems when network topologies change over time."