Prompt
Can you help me pick an LLM API that is secure enough for enterprise use and doesn't keep prompts longer than necessary?
Latest observation
Yes — but the “best” choice depends on what you mean by secure, how sensitive the data is, and whether you need strict data-retention controls, compliance, or private networking.
What to look for in an enterprise LLM API
When you say “secure enough” and “doesn’t keep prompts longer than necessary,” I’d prioritize these:
-
No training on your prompts by default
- The vendor should explicitly state that API inputs/outputs are not used to train foundation models unless you opt in.
-
Short retention / configurable retention
- Look for:
- Zero data retention or
- Minimal retention for abuse monitoring only
- Ideally the vendor documents exact retention windows.
- Look for:
-
Encryption
- In transit: TLS 1.2+
- At rest: encryption with strong key management
- Bonus: customer-managed keys or BYOK/KMS integration
-
Enterprise controls
- SSO/SAML, RBAC, audit logs
- Org-level policy controls
- Usage separation by project/environment
-
Private networking
- PrivateLink / VPC peering / private endpoints if available
- Helps keep traffic off the public internet
-
Compliance and contractual protections
- SOC 2 Type II, ISO 27001, possibly HIPAA/PCI/GDPR depending on your needs
- DPA, subprocessors list, data deletion terms
-
Data deletion guarantees
- Clear retention/deletion policy
- Ability to request deletion or ensure automatic expiry
Common enterprise-friendly options
1. Azure OpenAI
Often the safest default for regulated enterprises.
- Strong enterprise controls
- Azure network/security stack
- Can support private networking in many deployments
- Microsoft states prompts/completions are not used to train OpenAI foundation models
- Better fit if your org already uses Azure governance, identity, and logging
Why it’s good: mature enterprise security posture and infrastructure integration.
2. AWS Bedrock
- Enterprise-friendly, good IAM integration
- Can use private networking via AWS architecture
- Data handling varies by model provider, but AWS positions Bedrock as not using your data to train base models
- Good if your environment is AWS-native
Why it’s good: solid control plane and easier integration with AWS security tooling.
3. Google Vertex AI
- Strong security/compliance ecosystem
- Good for organizations already on GCP
- Private networking and IAM controls
- Check model-specific data policies
Why it’s good: enterprise controls and GCP-native governance.
4. Anthropic API / OpenAI API
- Both can be enterprise-appropriate depending on contract and configuration
- You need to review:
- retention defaults
- whether data is used for training
- enterprise plan terms
- deletion and abuse-monitoring windows
- They can be fine for many business uses, but if you want the strongest “least retention” posture, cloud-platform offerings often win.
If minimizing prompt retention is the top priority
I’d generally suggest this order:
-
Private/self-hosted model deployment
- Best for control
- Most operational burden
- Best if prompts are highly sensitive or regulated
-
Cloud provider managed LLM platform with private networking
- Azure OpenAI / Bedrock / Vertex AI
- Best balance of security + convenience
-
Direct vendor API
- Fine if the vendor offers strong enterprise terms, zero/short retention, and no training on your data
Questions to ask vendors before choosing
Ask these directly:
- Do you train on customer prompts or outputs?
- What is the exact retention period for prompts, completions, logs, and metadata?
- Can retention be disabled or minimized?
- Are prompts stored separately from account/billing data?
- Can we use private connectivity?
- Is data encrypted at rest and in transit?
- Do you support SSO/SAML, SCIM, RBAC, and audit logs?
- What certifications do you have?
- Can you provide a DPA and subprocessors list?
- What is your deletion process and SLA?
- Can we opt out of human review for abuse monitoring?
Practical recommendation
If you’re in an enterprise and want the safest easy path:
- Azure OpenAI if you want the most established enterprise governance experience
- AWS Bedrock if you’re AWS-centric
- Vertex AI if you’re on GCP
- Self-hosted open-weight models if minimizing retention and control is paramount
My short answer
If your main requirement is secure enterprise use with minimal prompt retention, I’d start with:
- Azure OpenAI or AWS Bedrock, using private networking and enterprise contracts, or
- Self-hosted if the data is highly sensitive.
If you want, I can also give you:
- a side-by-side comparison table of OpenAI vs Azure OpenAI vs Bedrock vs Vertex AI, or
- a vendor evaluation checklist you can hand to procurement/security.