惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Hackread – Cybersecurity News, Data Breaches, AI and More
U
Unit 42
Vercel News
Vercel News
Martin Fowler
Martin Fowler
云风的 BLOG
云风的 BLOG
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
J
Java Code Geeks
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
C
Check Point Blog
N
Netflix TechBlog - Medium
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
博客园_首页
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
Last Week in AI
Last Week in AI
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
Jina AI
Jina AI
V
Visual Studio Blog
小众软件
小众软件

Pinecone

Pinecone Assistant: A Managed Knowledge Layer for Production AI Applications Multi-domain RAG in n8n: why one knowledge base is not enough Allspice Transforms the Culinary Experience with Semantic Search Powered by Pinecone | Pinecone Building RAG workflows in n8n: choosing the right Pinecone node Knowledge needs a meta-knowledge layer Garbage Day: How Pinecone Safely Deletes Billions of Objects at Scale When "Performance" Means Two Different Things Pinecone BYOC: Pinecone in your AWS, GCP, or Azure account, no vendor access True, Relevant, and Wrong: The Applicability Problem in RAG Use the Pinecone Plugin for Claude Code to develop AI Applications Faster Millions at Stake: How Melange's High-Recall Retrieval Prevents Litigation Collapse Powering High-stakes Patent Search at Scale: How Melange Built a Reliable AI System on Pinecone | Pinecone Pinecone Assistant Node in n8n: Turn Any Data Source Into Knowledge RAG with Access Control Pinecone Dedicated Read Nodes are now in Public Preview Inside Pinecone: Slab Architecture New Bulk Data Operations: Update, Delete, and Fetch by Metadata The Hidden Cost of Building: Lessons from Aquant Simplifying Vector Embeddings with Pinecone Integrated Inference Capabilities Pinecone joins Microsoft Marketplace as a Launch Partner GTM Engineering: Clay + Pinecone for AI-powered Sales Outbound Build an AI knowledge assistant with Google Docs and Pinecone Moving Pinecone forward with Ash Ashutosh as CEO and Edo spearheading our growing AI ambitions as Chief Scientist Pinecone Founder Edo Liberty to Spearhead Pinecone’s Growing AI Ambitions; Appoints Ash Ashutosh as CEO to Expand Vector Database Market Leadership Fast, Accurate Retrieval for Creators at Scale: Delphi’s Path Toward a Million Conversational Agents with Pinecone | Pinecone Announcing Pinecone Pioneers: A Program for Builders, Organizers, and Community Leaders What is Context Engineering? Chunking Strategies for LLM Applications Beyond the hype: Why RAG remains essential for modern AI Obviant Makes 30% More Accurate Defense Acquisition Recommendations Combining Sparse and Dense Retrieval with Pinecone | Pinecone
Manage Serverless Costs with Read Units
Audrey Sage · 2024-02-01 · via Pinecone

📌 Heads up: This article may be out of date. For the latest pricing, please refer to the docs.

With Pinecone serverless, you only pay for what you use. The separation of read and write paths inside the DB enables this dynamic cost structure. This article illustrates how Read Units (RUs) work, so you can better understand billing and monitor your usage.

In the future, we will take a deep dive into understanding RUs’ counterparts: Write Units and Storage.

Jump to the code to explore the information in this article live.

What are Read Units (RUs)?

RUs measure the resources consumed by read operations such as query, fetch, and list.

An example of a query request would be sending a question to the DB (e.g., “What is a dog?”) and getting vectors (and, optionally, metadata) returned. An example of a fetch request would be sending a string of vector IDs to the DB to get their associated vectors returned; and an example of a list request would be requesting `n` number of vector IDs be returned.

Usage notes per endpoint:

How to inspect RUs

Every read operation will have its associated RUs returned in its response. An example response would look like this:

{'matches': [{'id': 'c1eb2875-bd4e-449d-a059-232edb62c62a',
              'metadata': None,
              'score': 0.0,
              'sparse_values': {'indices': [], 'values': []},
              'values': []}],
'namespace': '50k',
 'usage': {'read_units': 5}}  # >>> Here are your RUs!

You can see above that whatever read operation produced the above result, it consumed 5 RUs (“usage”: {“read_units”: 5}}).

See our example notebook to gain a deeper understanding of how different query configurations lead to different RU spend.

To project future overall costs, use our cost calculator.

Sublinear cost growth

While RUs are a function of the size of your namespace (the sheer number of vectors, the dimensionality of those vectors, and the presence of any metadata), they grow sublinearly with your namespace.

For example, if it costs 5 RUs to query a namespace with 50k, 1536-dimensional vectors, the cost of querying an index 4x that size is not 20 RUs. Instead, it will be approximately 8 RUs. This sublinear growth keeps costs low while allowing you to scale quickly.

Pinecone’s specialized indexing and retrieval algorithms enable this sublinear growth by clustering similar vectors together. At query time, only a subset of the total namespace is searched. The result is sublinear growth of RU cost as the total number of vectors in the namespace increases.


Let us know what you think at community.pinecone.io.