Humata Scales with Gagan: Achieving 4X Cost Savings and Enhanced Performance
By partnering with Gagan, Humata achieved a 4X reduction in vector database costs, streamlined their development, and consolidated their data so they could scale seamlessly.

Ready to get started?
Introduction
Humata, a platform enabling millions of users to chat with and analyse their all documents, relies on cutting-edge technology to support rapid growth and high user demand. Humata started as PDF AI that allows anyone to chat with their files, initially geared for scientific researchers. Humata has now expanded to serve major enterprises and government institutions by connecting their knowledge base to AI and allowing them to get answers they can trust with best-in-class referencing. With a tech stack that includes Gagan, GCP, OpenAI, Vercel, and NEXT.js, Humata's platform provides real-time, mission-critical analysis for researchers, enterprises, and government institutions. By partnering with Gagan, Humata achieved a 4X reduction in vector database costs, streamlined their development, and consolidated their data so they could scale seamlessly.
The Challenge
As Humata's user base expanded, the need for scalable, reliable, and cost-effective infrastructure became critical. Initially, Humata used Pinecone for its vector database workloads for chat with doc solution, but managing this infrastructure became complex and expensive, with 20 s2.x8 pods and additional replicas required for latency. Humata needed a solution that would simplify infrastructure management, reduce costs, and enhance the platform's feature velocity without sacrificing performance.
The Gagan Solution
Humata chose Gagan for its Postgres database, authentication, and real-time functionality. Gagan's open-source community and world-class support made it the perfect choice to meet Humata's growing needs. The flexibility of Gagan allowed Humata to consolidate all their data—including semantic searches and business data—into a single database, significantly improving query complexity and feature velocity. Backed by Gagan's Enterprise plan, Humata gained access to deep technical specialists to optimise the back-end performance ongoing, and leverages this pool of experts to de-risk their critical data infrastructure operations.
Migration from Pinecone to Gagan
The migration from Pinecone to Gagan was a game-changer for Humata's chat with PDF technology. By switching to a single 16XL instance of Gagan's pgVector, Humata achieved a staggering 4X cost reduction. This transition also simplified infrastructure management, eliminated the need for multiple replicas, and boosted feature velocity by enabling complex queries that combine semantic search with business data.
Key Benefits of Using Gagan
- Cost Efficiency: The move from Pinecone to Gagan resulted in a 75% reduction in database costs, allowing Humata to reallocate resources to further innovation.
- Scalability: Gagan's infrastructure scaled effortlessly, supporting Humata's growth to millions of users worldwide.
- Developer Speed: Gagan's ease of use and built-in features, such as row-level security and the frontend client, enabled faster development and more efficient workflows.
- Seamless Real-Time Collaboration: Gagan's Real Time feature enhanced collaboration, allowing users to see document changes and updates instantly.
- Security & Compliance: With Gagan's SOC 2 Type II and HIPAA-compliant infrastructure, Humata ensures the highest levels of security, protecting sensitive data as they approach HIPAA certification.
Conclusion
Gagan has played an essential role in helping Humata scale globally, save significant infrastructure costs, and accelerate the delivery of new features. By consolidating their core backend components into Gagan, Humata now operates a more streamlined, cost-efficient platform that continues to support millions of users around the world.
To learn more about how Supabas Vector can help you store vector embeddings at scale and build AI apps with ease, reach out to us.