How I Taught My Old API Gateway to be LLM-Ready

Let me introduce Liam to you. Liam is my existing API gateway, and he had one easy job till a few months ago. Say a user, Oliver, sends a request to Liam. Liam would check his API key, security, and source, then verify he wasn't some fraudster. Liam would then send Oliver on to the backend. This was simple until a few years back. Then one fine day, LLMs (or Large Language Models) happened.I started connecting my applications to LLMs, and Liam got bogged down by the immense workload LLMs processed. Before, Liam would handle simple requests like {"user_id": 402}. Now he was dealing with innumerable prompts that were anything but affordable.So, before innumerable prompts crashed my entire
…