Short answer. Build the pipeline in four parts: retrieval over your own policies and product terms, generation from retrieved context only, tool calls into permissioned internal services, and telemetry that records what the model saw. Scope one API key per service, keep raw customer records behind your own authorization layer, and deploy in a VPC, on-premises or air-gapped when licensing or regulators require it. SOC 2 alignment; no certification is claimed. This page is informational, not financial or legal advice.
Key facts
| Item | What is true on 20 November 2026 |
|---|---|
| API surface | OpenAI-compatible POST https://api.plugsky.com/v1/chat/completions with streaming and JSON mode; embeddings at /v1/embeddings. |
| Data grounding | Embeddings and RAG are live. The embedding family serves an 8,192-token context and returns 2,048-dimension vectors. |
| Tool use | Function calling is live for internal APIs and enrichment services. |
| Model context | Main text models serve 262,144 tokens. mistral-medium and the vision family serve 131,072. |
| Access control | Scoped API keys, rotation and usage analytics; enterprise SSO and RBAC options. |
| Deployment | Cloud in Frankfurt, UAE, Singapore or Virginia; private VPC or dedicated endpoint; on-premises; air-gapped. Private modes are contract-led. |
| Trust evidence | SOC 2 alignment; no certification is claimed. Confirm scope and any exceptions during vendor review. A DPA with EU SCCs is available on paid plans. |
| Pricing model | Flat monthly self-serve plans with no per-token billing on self-serve; annual billing is 20% off. |
| Uptime target | 99.9% uptime target; plan-level terms and exclusions apply. Hobby is not in the SLA table. |
TL;DR
- Use one OpenAI-compatible API for chat, embeddings and function calling.
- Ground answers in your own data with RAG instead of fine-tuning first.
- Scope API keys per service and keep an audit trail of every call.
- Deploy in your VPC or on-premises when licensing or regulators require it.
- Validate on the free plan, then scale with flat monthly self-serve plans.
- Design so card data and raw customer records never reach the prompt.
How it works, step by step
- Classify each planned workflow by data sensitivity: public, internal, confidential or regulated.
- Stand up a retrieval pipeline: chunk documents, generate embeddings, store vectors in your own database.
- Write a refusal rule so the assistant answers only from retrieved context above a relevance threshold.
- Separate credentials per service and environment, with rotation and no shared production keys.
- Add function calling for balances, transaction lookup or ticketing only through permissioned internal APIs.
- Log request IDs, model names and outcomes, and alert on error-rate and latency shifts.
- Run a red-team pass with prompt-injection and data-exfiltration attempts before launch.
Try it yourself
Use the RAG sandbox to test chunking, retrieval and citation behaviour against sample text. It does not connect to your customer records, which is the point: prove the flow before you give it production data.
The secure fintech AI pattern
Most production fintech AI comes down to four components:
- Retrieval: embeddings over policies, transaction metadata and product terms, stored in infrastructure you control.
- Generation: an OpenAI-compatible chat call that answers strictly from retrieved context.
- Tools: function calling into permissioned internal services for live data.
- Telemetry: request logs, evaluation results and cost attribution per feature.
Streaming improves the user experience; JSON mode makes downstream processing reliable. Both are live on Plugsky. Telemetry closes the loop: without logs and evaluations you cannot tell whether a prompt change improved or degraded answers, and you cannot reconstruct what a customer saw when a complaint arrives.
The components are ordinary application engineering. The fintech-specific part is the boundary: what data is allowed into retrieval, which service may call which tool, and what evidence survives after the request finishes.
A reference request flow
The example below keeps retrieval and generation separate. Your service decides which passages the user may see, then passes only those passages to the model. The model never queries the database directly.
import os, httpx
BASE = "https://api.plugsky.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['PLUGSKY_API_KEY']}"}
def embed(texts):
r = httpx.post(f"{BASE}/embeddings", headers=HEADERS,
json={"model": "plugsky-embed", "input": texts})
r.raise_for_status()
return [d["embedding"] for d in r.json()["data"]]
def answer(question, passages):
context = "\n\n".join(f"[{i}] {p}" for i, p in enumerate(passages, 1))
r = httpx.post(f"{BASE}/chat/completions", headers=HEADERS, json={
"model": "plugsky-plus",
"messages": [
{"role": "system", "content": (
"Answer only from the numbered passages. Cite [n]. "
"If the passages do not support an answer, say you cannot answer."
)},
{"role": "user", "content": f"Passages:\n{context}\n\nQuestion: {question}"},
],
"temperature": 0,
})
r.raise_for_status()
return r.json()["choices"][0]["message"]["content"]
Host note. This page uses
https://api.plugsky.com/v1, the approved API host. Plugsky’s public documentation also showshttps://plugsky.com/v1in examples. Both responded on 20 November 2026; choose one host and use it consistently for chat and embeddings.
Two details matter more than the SDK. First, passages must already be filtered by the user’s entitlements; the model is not an authorization layer. Second, the system prompt is a request, not an enforcement mechanism. If a tool can move money or expose a record, validate the call server-side and require a human action for anything irreversible.
Why RAG beats fine-tuning for a first release
Regulated answers change constantly: rates, limits, policies and disclosures. Retrieval updates the moment a document changes, and every answer can cite its source. Fine-tuning, which is coming soon, bakes knowledge into weights and makes provenance harder.
Start with RAG plus a strict system prompt. Reserve fine-tuning for style and format consistency once you have a large, clean dataset of reviewed examples. Retrieval also gives you a natural update path: change the document, re-index, and the next answer reflects it without a deployment. The RAG API guide covers the retrieval surface in more detail.
Matching workload to model class
Model choice should follow the job, not the other way around. The table uses the public catalogue and the serving class; it is not a benchmark ranking.
| Workload | Public IDs | Serving engine and context | Why |
|---|---|---|---|
| Long policy and filing analysis | plugsky-frontier, plugsky-pro, plugsky-longctx | NVIDIA Nemotron 3 Ultra 550B MoE (A55B), 262,144 | Long documents and multi-step analysis in one call |
| High-volume support and extraction | plugsky-micro, plugsky-lite, plugsky-plus | NVIDIA Nemotron 3 Nano Omni 30B (A3B), 262,144 | High-volume classification, routing and short answers |
| Document and screenshot review | plugsky-vision-fast, plugsky-qwen-vl | NVIDIA Nemotron 3.5 Super VL 120B (A12B), 131,072 | Statements, forms and UI captures |
| Retrieval and semantic search | plugsky-embed, plugsky-embed-multilingual | NVIDIA Nemotron 3.5 Embed 1B, 8,192 | 2,048-dimension vectors for your vector store |
Two cautions. A legacy model ID may be served by a different engine than its name suggests; the live API’s served_by field and the x-plugsky-served-model response header are authoritative. And context length is not a licence to paste a customer file: retrieval still decides what the model is allowed to see.
Keys, boundaries and audit evidence
Treat model access like any other production credential. Issue separate keys per service and environment, store them in a secrets manager, rotate on schedule, and revoke immediately on team changes. Enterprise deployments can integrate SSO and role-based access for the console side.
When licensing or regulators require it, deploy in your VPC, on-premises or air-gapped. The API shape stays identical, so your application code does not change between sandbox, cloud and private environments. For regulated workloads, keep model calls behind an internal gateway that enforces rate limits, redaction and per-service budgets.
| Control | Implementation | Evidence |
|---|---|---|
| Identity | SSO, RBAC, per-service keys | Role matrix, key inventory, rotation log |
| Data minimisation | Redaction before the model call; field-level retrieval | Data-flow diagram, redaction test results |
| Tool authority | Narrow scopes; server-side validation; human approval for irreversible actions | Tool permission table, approval workflow |
| Audit trail | Request IDs, model name, retrieved passage IDs and outcome | Sample log, retention policy, SIEM export |
| Change control | Versioned prompts, model IDs and index snapshots | Release record, evaluation results per change |
| Vendor evidence | SOC 2 alignment statement under NDA, DPA and SCCs, subprocessor list | Signed DPA, current report, review notes |
The API security guide covers key design in more depth, and the DPA checklist lists the clauses to compare before signature.
Prompt injection and tool abuse
Retrieved documents are untrusted input. A vendor contract, a customer email or a support ticket can contain text that tells the model to ignore its instructions, call a tool or reveal another record. The defence is architectural, not a stronger sentence in the system prompt.
- Constrain tools to narrow permissions. A “look up my own account” tool should not accept an arbitrary account ID.
- Validate every tool call server-side. Check the caller, the object and the action against your own policy before executing.
- Never place secrets in the prompt. The model should not hold credentials it could be persuaded to repeat.
- Label retrieved content as data. Delimit passages and instruct the model to treat them as source material, then test with adversarial documents.
- Keep an egress path closed. If the model can call a URL, it can exfiltrate. Allowlist destinations and log every call.
The OWASP Top 10 for LLM Applications is a useful test checklist, not a certification. Map each risk to a control you can show, and record the ones you accepted.
What a bank partner will ask for
A fintech vendor review usually combines security, resilience and outsourcing questions. The exact list depends on your regulator and your partner, but the categories are predictable.
- Security report: a SOC 2 alignment statement under NDA, with the audit period, scope and exceptions. No certification badge substitutes for the report.
- Data protection: DPA with GDPR Article 28 terms and EU SCCs, subprocessor list and notification process.
- Resilience: 99.9% uptime target, plan-level exclusions, incident-response plan and business-continuity evidence.
- Deployment boundary: a data-flow map naming processing, storage, backup, support access and disaster recovery.
- Model change control: how a model version reaches production, how it is evaluated and how it is rolled back.
- Exit: export format, deletion timeline and confirmation that data is removed from backups on the agreed schedule.
The Plugsky security page is the starting point for the vendor-review pack. The data-residency decision page covers the region questions that usually follow.
Honest comparison
| Capability | Plugsky | Per-token hosted API | Self-hosted open model |
|---|---|---|---|
| API compatibility | OpenAI-compatible chat, embeddings and tools | Usually compatible | You build the serving layer |
| Data control | Cloud, VPC, on-premises, air-gapped | Vendor cloud only | Your hardware, your operations |
| Model range | 39 model IDs behind one API | Vendor catalogue | Only what you can host |
| Grounding | RAG and embeddings are live | Varies by vendor | You assemble the stack |
| Cost predictability | Flat monthly plans on self-serve | Per-token fluctuations | Fixed GPU capacity |
| Time to first release | Days | Days | Weeks to months |
A per-token hosted API can be the better fit for a small, genuinely spiky prototype where flat-plan capacity would sit idle. Self-hosting is the better fit when the model must never leave hardware you control and you can operate the serving stack. The table describes operating models; it is not a claim that one is cheaper for your workload.
What we did not verify
- No SOC 2 report, penetration test, DPA or subprocessor list was reviewed for this page. Request each document and check its date and scope.
- No PCI DSS attestation is presented here, and this page makes no PCI DSS certification claim. Confirm the current scope before designing a cardholder-data flow.
- No production fintech workload was benchmarked. The model-class table maps jobs to serving classes, not to measured accuracy.
- No regulator or bank partner has reviewed this architecture. Suitability is jurisdiction-specific and requires your own risk and compliance review.
- The code sample is illustrative; error handling, retries and idempotency must be adapted to your environment.
- Nothing here is financial, investment or legal advice.
Frequently asked questions
How do we keep prompts free of customer data?
Redact or tokenize identifiers before they leave your services, retrieve only the fields required for the answer, and keep raw records behind your own authorization checks. Private deployment removes the external data path entirely.
Should we fine-tune or use RAG?
Use RAG first. It grounds answers in current documents and provides citations. Fine-tuning is coming soon and is better suited to tone and output format than to frequently changing facts.
What stops prompt injection from leaking data?
Constrain tools to narrow permissions, validate every tool call server-side, never place secrets in the prompt, and treat retrieved text as untrusted input. Test with adversarial documents before launch.
Can we meter usage per customer?
Use separate API keys or a deployment per customer and export usage analytics for attribution. That keeps cost allocation clear without per-token billing on self-serve plans.
Is there an SLA?
Enterprise and private deployments are covered by the service agreement; see the SLA and status pages for current commitments and live component health.
What is available today versus coming soon?
Chat, streaming, JSON mode, function calling, embeddings, RAG, agents, image generation and editing, and AI Video Studio are live. Audio, moderation, files, batch, assistants, the Responses API and fine-tuning are coming soon.
How do we evaluate quality?
Build a labelled set of real questions with correct answers, measure retrieval hit rate and answer accuracy, and re-run it on every model or prompt change.
Is Plugsky PCI DSS certified?
This page makes no PCI DSS certification claim. For card workflows, keep card data out of prompts and confirm the current scope with Plugsky and your acquirer before designing a cardholder-data flow.
Can the model make a credit decision?
No. Use the model to retrieve policy, summarize a file or draft an explanation for a human reviewer. Credit, pricing and adverse-action decisions require your own governance, fair-lending analysis and a named accountable person.
Is this page financial advice?
No. This page is informational and describes an engineering pattern. It is not financial, investment, legal or regulatory advice, and it does not replace review by your risk, compliance or counsel teams.
Sources
- PCI Security Standards Council — Document Library, including PCI DSS v4.0.1 (checked 20 November 2026).
- NIST — AI Risk Management Framework (checked 20 November 2026).
- EUR-Lex — Regulation (EU) 2024/1689 (Artificial Intelligence Act) (checked 20 November 2026).
- OWASP — Top 10 for Large Language Model Applications (checked 20 November 2026).
Related
Plugsky (2026). “AI for Fintech: Secure LLM APIs and RAG”. Plugsky. Available at: https://plugsky.com/articles/ai-for-fintech-secure-llm-apis-and-rag (last updated 20 November 2026).