Irish-founded payments group Stripe has agreed to acquire the AI model gateway and routing platform OpenRouter in a deal reportedly worth more than $8bn.