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

推荐订阅源

S
SegmentFault 最新的问题
G
Google Developers Blog
H
Help Net Security
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog RSS Feed
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 三生石上(FineUI控件)
大猫的无限游戏
大猫的无限游戏
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
D
Docker
Hugging Face - Blog
Hugging Face - Blog
I
InfoQ
博客园 - 司徒正美
Last Week in AI
Last Week in AI
Microsoft Security Blog
Microsoft Security Blog
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence

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.