# Don't use vector. Use halvec instead and save 50% of your storage cost

DevFeed: [Don't use vector. Use halvec instead and save 50% of your storage cost](<https://devfeed.tech/articles/don-t-use-vector-use-halvec-instead-and-save-50-of-your-storage-cost-5211.md>)

Original publisher: [Read original article](<https://neon.com/blog/dont-use-vector-use-halvec-instead-and-save-50-of-your-storage-cost>)

Author: Raouf Chebri

Published: 2024-07-31T16:47:12Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [compression and generalization](<https://devfeed.tech/topics/compression-and-generalization.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>)

Tags: [compression](<https://devfeed.tech/tags/compression.md>), [cost](<https://devfeed.tech/tags/cost.md>), [database](<https://devfeed.tech/tags/database.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [performance](<https://devfeed.tech/tags/performance.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [product](<https://devfeed.tech/tags/product.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [rag](<https://devfeed.tech/tags/rag.md>), [storage](<https://devfeed.tech/tags/storage.md>), [testing](<https://devfeed.tech/tags/testing.md>), [types](<https://devfeed.tech/tags/types.md>), [vector](<https://devfeed.tech/tags/vector.md>)

## AI overview

The article tests pgvector half-precision vectors and binary quantization to reduce vector and index storage. It reports nearly 50% lower vector storage costs, faster index builds and prewarming, and comparable query time and recall in its experiment.

## Source excerpt

pgvector's latest release includes quantization features that help reduce your vector and index footprint while speeding up index builds and prewarming times for RAG applications. All Neon Postgres databases come with pgvector--spin up a free database here. In this blog post, we w...