Store and retrieve context
AI applications need specialized storage for vector embeddings, conversation history, training data, and cached responses. Cloudflare Vectorize stores and queries embeddings for Retrieval Augmented Generation (RAG), D1 provides SQL storage for structured data, R2 stores documents and assets, and KV caches frequent responses at the edge.
Vector database for storing and querying embeddings. Learn more about Vectorize.
- Vector search - Store embeddings and find semantically similar content for Retrieval Augmented Generation (RAG) and recommendation features
Serverless SQL database built on SQLite, with global read replication. Learn more about D1.
- Structured storage - Structured Query Language (SQL) database for conversation history, user data, and application metadata
S3-compatible object storage with zero egress fees. Learn more about R2.
- Object storage - Store documents, training data, and generated assets with no egress fees
Globally distributed key-value storage for low-latency reads. Learn more about KV.
- Edge caching - Cache frequent AI responses at the edge to reduce inference costs and latency