Is anyone else also facing the problem of increasing bundle size after upgrading vercel AI SDK to v5?
Hi @cipherohit, welcome to the Vercel Community!
Can you share some before and after measurements of your bundle size? There’s a minimal change in the size:
ai@v5:
ai v5.0.59 ❘ Bundlephobia - 67.5kB
ai@v4
ai v4.3.19 ❘ Bundlephobia - 53.8kB
Looking forward to hearing from you.
In case this is helpful: