Security Policy & Architecture
Toknix operates as a high-performance, zero-persistence gateway. We enforce zero data retention on inference streams, eliminate financial card liability through crypto settlement, and anonymize all traffic routed to upstream intelligence providers.
1. Zero Data Retention (ZDR) & Ephemeral Processing
Toknix is engineered around a strict Zero Data Retention philosophy. When your application sends inference requests to https://api.toknix.in/v1, the data payload travels through our low-latency edge gateway in-memory:
- No Prompt Logging: User messages, system prompts, function calls, and attachments are never written to disk or stored in databases.
- No Model Training: Your data is never used to train, fine-tune, or improve any foundational AI model, whether on Toknix or upstream providers.
- Ephemeral In-Memory Buffers: All token buffers are cleared immediately from memory as soon as the HTTP SSE (Server-Sent Events) stream terminates.
2. Upstream Provider Anonymization & Data Isolation
When routing requests to upstream frontier providers (Anthropic, OpenAI, Google, DeepSeek, GLM, Kimi), Toknix acts as a protective shield:
- IP & Identity Masking: Upstream providers receive traffic strictly from Toknix gateway IP addresses with sanitized headers. Your origin server IP, user IDs, and client fingerprints are completely stripped.
- Zero-Retention Enterprise Contracts: We route inference through commercial enterprise API endpoints that guarantee commercial confidentiality and non-training policies.
3. Cryptographic Financial Safety (No Cards, No KYC)
Traditional API providers require credit cards that expose developers to recurring subscription charges, surprise overages, and credit card breaches. Toknix solves this at the architectural level:
- Zero Card Data Held: Toknix does not collect, process, or store credit card numbers, CVVs, expiration dates, or bank accounts. There is zero cardholder data on our servers.
- Prepaid Crypto Balances: All accounts are funded through direct cryptocurrency transfers (BTC, ETH, SOL, USDT, LTC) or non-custodial merchant gateways. Once your balance is depleted, requests pause—no surprise debt.
- Zero KYC Obligation: We do not ask for government IDs, phone numbers, or corporate registrations to access AI models.
4. API Key Security & Key Lifecycle
Every Toknix API key begins with tk_live_ followed by high-entropy cryptographic randomness:
- SHA-256 Hashed at Rest: We only store a cryptographic hash of your API key in the database. Plaintext keys are shown exactly once during generation.
- Instant Revocation: In the event of an accidental leak, you can revoke and cycle any key instantly from the Toknix Console with immediate global edge invalidation.
5. Transport Layer Encryption & Edge Hardening
All communications between your client applications, the Toknix Gateway, and upstream clusters are protected by modern transport security:
- TLS 1.3 with Perfect Forward Secrecy: In-transit traffic enforces TLS 1.3 with modern AEAD cipher suites. Insecure legacy protocols (TLS 1.0, 1.1) are strictly rejected.
- HSTS Preloaded: HTTP Strict Transport Security is served with maximum age and preload flags to prevent SSL stripping attacks.
- Edge DDoS & WAF Protection: Traffic is scrubbed across Cloudflare's global network, shielding endpoints from volumetric DDoS attacks and malformed HTTP vectors.
6. Vulnerability Disclosure & Safe Harbor
We welcome and value reports from security researchers and ethical hackers who assist us in maintaining the integrity of our infrastructure.
If you discover a potential vulnerability in Toknix infrastructure, please report it directly to:
Safe Harbor Commitment: Toknix will not pursue legal action against researchers who disclose security bugs in good faith, avoid privacy violations, and provide reasonable time for remediation before public disclosure.
Do you have questions about our security?
You are very valuable to us. Create your free account and ask our support team directly. Our core engineering team is always ready to answer your technical questions, assist with enterprise compliance, or explain our zero-retention routing architecture.