Feature × Audience

How do developers build RAG with Plugsky's architecture?

RAG for developers is three API calls: embed text, store vectors in a collection, and query with top_k to get ranked chunks plus source attribution. Plugsky ships that on an OpenAI-compatible API with plugsky-embed-v1 (1536 dimensions) and plugsky-embed-large (3072 dimensions), hybrid retrieval with optional reranking, and the option to call the embeddings endpoint standalone with your own vector store.

Key facts

RAG endpointsPOST /v1/embeddings, POST /v1/rag/collections and POST /v1/rag/query
Embedding modelsplugsky-embed-v1 (1536 dimensions, OpenAI-ada compatible) and plugsky-embed-large (3072 dimensions)
Retrieval modesKeyword, vector and hybrid search with optional cross-encoder reranking
CitationsEvery query returns ranked chunks with source attribution
IngestionDocuments are chunked, embedded and indexed automatically per collection
Batch limitsUp to 2,048 inputs per embeddings request, max 8,191 tokens each
Data handlingPer-collection encryption at rest; API data is not used to train models
DeploymentHosted, VPC, on-prem and air-gapped options; 30+ models behind one API

TL;DR

  • Embed, store and query with three OpenAI-compatible endpoints.
  • Use managed collections for speed, or standalone embeddings with your own vector store.
  • Batch up to 2,048 inputs per request at 8,191 tokens each.
  • Compare vector-only and hybrid retrieval on a real evaluation set before shipping.
  • Prototype on the free plan, then scale when retrieval quality holds.

How it works, step by step

  1. Chunk a sample corpus and create a collection with POST /v1/rag/collections.
  2. Ingest documents and confirm chunking matches the document structure.
  3. Query with POST /v1/rag/query and inspect top_k results and citation sources.
  4. Switch between vector, keyword and hybrid modes to find the best recall.
  5. Add reranking and re-run the evaluation set to measure the difference.
  6. Move to production with scoped keys per environment and audit logging.
  7. Re-embed only when the embedding model changes; keep model names pinned in config.
1Chunk a samplecorpus and create acollection with2Ingest documentsand confirmchunking matches3Query with POST/v1/rag/query andinspect top_k4Switch betweenvector, keyword andhybrid modes to5Add reranking andre-run theevaluation set to6Move to productionwith scoped keysper environment and

Original data

POST /v1/embedRAG endpointsplugsky-embed-Embedding modelsUp to 2,048 inBatch limitsHosted, VPC, oDeploymentSource: Plugsky facts table · updated 2026-09-26

Try it yourself

Open the RAG sandbox →

Why developers need RAG grounded in their own content

The shortest path from documents to answers is: chunk the source, embed the chunks, store them, then retrieve the best matches for each question and pass them to a chat model. Plugsky gives you that loop as managed endpoints instead of a weekend of glue code, and the client is the OpenAI SDK you already have — just point base_url at https://api.plugsky.com/v1.

You still make the decisions that matter: chunk size for your document type, which retrieval mode fits the queries, how many chunks top_k should return, and what your evaluation set looks like before you ship.

The Plugsky RAG stack: embeddings, collections, queries

Plugsky collapses the usual multi-vendor RAG stack into three OpenAI-compatible endpoints: POST /v1/embeddings turns text into vectors, POST /v1/rag/collections creates and manages collections, and POST /v1/rag/query returns ranked chunks with citations. Ingestion is automatic — documents are chunked, embedded and indexed per collection — and retrieval supports keyword, vector and hybrid modes with optional cross-encoder reranking. The embedding models are plugsky-embed-v1 (1536 dimensions, OpenAI-ada compatible) and plugsky-embed-large (3072 dimensions). For developers the useful part is that the same SDK and auth work here as everywhere else, so the retrieval path is code you write once rather than a platform you operate.

The controls developers should configure first

There are two integration paths. Managed collections are fastest: create a collection, ingest documents, query, and take chunks with citations — Plugsky handles chunking, indexing and encryption. The standalone path suits teams that already run pgvector, Pinecone, Qdrant or another store: call POST /v1/embeddings and keep retrieval in your own code.

The endpoint accepts arrays of inputs, up to 2,048 strings per request at a maximum of 8,191 tokens each, so large corpora need client-side batching. Because the embeddings format is OpenAI-compatible, switching between the managed and self-managed paths is not a rewrite.

A practical pilot path

Before shipping, build a small evaluation set of questions and expected source documents, then compare vector-only search against hybrid with reranking. Watch retrieval recall first — a fluent answer built on the wrong chunk is worse than no answer — and only then tune prompts and model choice. The free plan includes plugsky-micro and plugsky-lite, so you can prototype end to end at no cost. See the live pricing page for current plans.

Honest comparison

CapabilityPlugskyAssembling your own stackKeyword search only
RetrievalKeyword, vector and hybrid with optional rerankingYou integrate and tune each componentKeyword matching, no semantics
CitationsRanked chunks with source attributionYou build attribution yourselfDocument links, not passages
Embeddingsplugsky-embed-v1 (1536d) and plugsky-embed-large (3072d)Model choice spread across vendorsNot applicable
DeploymentHosted, VPC, on-prem and air-gappedDepends on every componentUsually on-prem already
Data handlingPer-collection encryption; API data not used to train modelsYou audit every vendorExisting controls apply
Time to first answerOne collection and a query callWeeks of integration workDays, with lower answer quality

Frequently asked questions

Can I use my own vector database?

Yes. Call the embeddings endpoint standalone and store vectors in pgvector, Pinecone, Qdrant or any other store; the OpenAI-compatible format works with existing tooling.

Where can I try RAG before writing code?

Open the RAG sandbox to create a collection, ingest a document and query it in the browser, then copy the same calls into your application.

Do we have to change our application code?

No. The RAG endpoints are OpenAI-compatible, so existing SDKs, prompts and evaluation harnesses keep working when you point the base URL at Plugsky.

Is there a free plan?

Yes — plugsky-micro and plugsky-lite with 2 API keys and no credit card. A 14-day full-access trial is also available.

How is pricing structured?

Self-serve plans are flat monthly with unlimited fair-use usage and no per-token charges or overage fees. See the live pricing page for current plans.

Does Plugsky train on our data?

Plugsky states that API data is not used to train models, and collections are encrypted at rest; on Enterprise you can keep everything inside your own VPC.