> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.predictionguard.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.predictionguard.com/_mcp/server.

# Security & Self Hosted

> Reliable, future-proof AI predictions

#### [API Reference](/api-reference/api-reference/chat-completions)

Integrate compliant natural language processing and generation into your products with a few lines of code.
\
\
[**Get Started**→](/api-reference/api-reference/chat-completions)

---

\


## About Us

\


Prediction Guard allows you to integrate secure, private GenAI functionality into your software applications via an easy-to-use API. The API can be self-hosted or accessed via our managed cloud offering. These docs are relevant to both the self-hosted and managed cloud offerings (although a self-hosted installation might have a variety of custom models deployed that are not listed throughout these docs).

\


#### Our endpoints offer different ways to interact with our models and offer&#xA;additional value on top of them. From PII protection to Toxicity checks we can help&#xA;you utilize AI in a safe and compliant way.

\


[/EMBEDDINGS →](/api-reference/api-reference/embeddings)

[/INJECTION →](/api-reference/api-reference/injection)

[/TOXICITY →](/api-reference/api-reference/toxicity)

[/PII →](/api-reference/api-reference/pii)

\


Schedule a demo with our team!

Learn More