When you build an AI app that searches by meaning — "find documents like this one" — you need a vector database. Pinecone is a managed one: you send it vectors, and it answers nearest-neighbour queries in milliseconds, without you running or tuning a database server.
The workflow has three steps. First, create an index in the Pinecone dashboard and pick a dimension that matches your embedding model. Second, upsert vectors with an id and some metadata:

await index.upsert([ { id: "doc-1", values: [0.12, -0.03, 0.45 /* ... */], metadata: { title: "Saving guide", topic: "finance" }, }, ]); 

Third, query with a new vector and get the closest matches back:

const results = await index.query({ vector: queryVector, topK: 5, includeMetadata: true, }); 

You never see the embedding model in this code — you generate the vectors with a model of your choice, and Pinecone only stores and searches them. Metadata filters let you narrow a search, for example to one topic or one user, which is how real apps keep different users' data apart.
Pinecone is for you if you are building semantic search, a recommendation feature, or a RAG app and you do not want to operate infrastructure. It scales without you re-sharding anything, and its free tier is enough to learn on.
But know its limits. Pinecone is a paid service once you outgrow the free tier, and its pricing is based on storage and usage, so a careless loop can cost real money. It also only stores vectors — your actual documents live somewhere else, and you have to keep the two in sync yourself.
Start today: create a free Pinecone index, embed ten short sentences with any embedding model, upsert them, and query with a sentence that means the same thing as one of them. If the right sentence comes back first, you understand vector search.