The Short Version
Mako is private by design. Your prompts are never stored, never used for training, and never shared. When you self-host, your data never leaves your machine.What Mako Does With Your Data
| Data Type | Stored? | Details |
|---|---|---|
| Prompts & responses | ❌ Never | Conversations are ephemeral — processed in memory, never written to disk |
| Conversation history | ❌ Never | The gateway is stateless. History is managed client-side only |
| Training data | ❌ Never | Mako is a static fine-tune. Your conversations are never used to train or improve the model |
| Telemetry & analytics | ❌ None | No tracking pixels, no usage analytics, no third-party reporting |
| Usage metadata | ⚡ Optional | Token counts and credit charges per request. Disabled in privacy mode |
| Wallet address | ✅ Minimal | Stored for credit tracking only. No personal information is linked |
| API keys | 🔒 Hashed | API keys are SHA-256 hashed before storage. The plaintext key is shown once on creation and never stored |
Privacy Mode
SetPRIVACY_MODE=true in your environment to enable zero-retention mode:
- Usage logs are disabled — no per-request metadata is written to the database
- Console logs are redacted — tool arguments, URLs, and search queries are replaced with
[redacted] - Privacy headers are set — API responses include
X-Mako-Privacy: zero-retention
Privacy Response Headers
Every API response includes these headers so your client can programmatically verify the gateway’s posture:| Header | Standard Mode | Privacy Mode |
|---|---|---|
X-Mako-Privacy | standard | zero-retention |
X-Mako-Data-Stored | usage-metadata-only | none |
X-Mako-Prompt-Storage | none | none |
X-Mako-Training-Data | never | never |
Usage Log Retention
Even in standard mode, you can limit how long usage logs are kept:0 (default) to keep logs indefinitely, or any positive number to enable automatic hourly purging.
Self-Hosting: Maximum Privacy
When you run Mako on your own infrastructure, you get the strongest privacy guarantee possible:- Prompts never leave your machine — inference happens locally on your GPU
- No third parties involved — no proxy, no relay, no cloud provider sees your data
- Fully auditable — Mako is open source. Every line of code is inspectable at github.com/DeepMako/mako
- You control the data — the SQLite database is on your disk, under your control
Hosted Gateway
When using the hosted gateway atgateway.deepmako.com:
- Prompts are not stored and not logged
- Prompts are forwarded to the inference backend over HTTPS/TLS
- The inference backend processes your request and returns a response — no data is retained after the response is sent
- Usage metadata (token counts, credit charges) is stored for billing purposes unless privacy mode is enabled
API Key Security
API keys are hashed with SHA-256 before storage. When you create a key viaPOST /auth/api-keys, the plaintext key is returned once in the response. After that, only the hash exists in the database.
Environment Variables
| Variable | Default | Description |
|---|---|---|
PRIVACY_MODE | false | Enable zero-retention mode (no usage logs, redacted console output) |
USAGE_LOG_RETENTION_HOURS | 0 | Hours to retain usage logs before auto-purge. 0 = keep forever |
Open Source Verification
Don’t take our word for it. Mako’s gateway is fully open source:- Gateway server:
server.js - Database layer:
db.js - Inference proxy:
inference.js - Auth middleware:
auth.js