Designing API Gateways for AI Service Delivery: Patterns That Scale