Deploy Next.js AI app to Vercel with git integration, configure maxDuration for LLM timeouts, add rate limiting and firewall security.