AWS acts as the secure orchestration and routing layer. It manages the cryptographic OAuth tokens, hosts the gateway that dynamically decides whether a prompt goes to Groq, Gemini, OpenAI, Meta, or xAI based on latency/cost, and securely executes the final API calls to third-party services on your behalf.