Privacy Policy

Effective Date:October 13, 2026

CodeGateway respects your privacy. This Privacy Policy explains what information we collect, how we use it, how we protect it, and the rights you have under data-protection laws such as the GDPR and UK GDPR. The Service is a jurisdiction-aware AI Gateway. For questions about this policy, contact support@codegateway.dev.

1. Data Controller

Data Controller: CodeGateway (WHITEDIT LTD). Registered Address: United Kingdom (WHITEDIT LTD, registered in England and Wales). Contact Email: support@codegateway.dev. If you have any questions about how we handle your data, please contact us at the email above.

2. What Information We Collect

We only collect the minimum information necessary to provide our services:

  • Account Information: Your email address provided during registration.
  • Usage Data: API call logs (model ID, token usage, timestamps) for billing and service monitoring.
  • Technical Data: Browser type, IP address (used solely for security and abuse prevention).

We do NOT collect: Your real name, phone number, physical address, or payment card details (payments are processed by our third-party payment provider Stripe, Inc.; we never store card numbers).

3. We Never Store Your Conversation Content

Our core commitment: CodeGateway operates as a jurisdiction-aware AI Gateway aggregating multiple AI model providers (e.g., Anthropic, OpenAI), routing requests based on the user's jurisdictional context and selected model. For content transmitted through our service, we NEVER store, log, or cache your conversation content (prompts) or model responses (completions).

Specifically:

  • We do not store your prompt or completion text
  • We do not use your conversation data to train any models
  • We do not sell your conversation data or use it for advertising
  • To generate your response, we send your prompt to the model provider you selected (Anthropic, OpenAI or Google) through Cloudflare's AI Gateway. That provider receives the prompt to return the response and is listed in Section 6 (Data Processors)
  • Apart from those model providers and the data processors listed in Section 6 (including Cloudflare), we do not disclose your conversation data to third parties, except where the law requires it or where needed to protect the Service
  • API requests are purged from memory immediately after forwarding

We only log request metadata (model ID, token counts, timestamps) for billing purposes.

4. Legal Basis for Data Processing (GDPR)

Under the General Data Protection Regulation (GDPR), our legal bases for processing your data are:

  • Contract Performance (Art. 6(1)(b)): Processing your account information and API usage data to fulfill our service contract.
  • Legitimate Interest (Art. 6(1)(f)): IP address and browser data used for security and abuse prevention.
  • Consent (Art. 6(1)(a)): Non-essential cookies require your explicit consent.

Regarding special category data: We do not process any special categories of personal data as defined in GDPR Article 9.

We may send product update and service announcement emails to registered account holders on the basis of legitimate interest (Art. 6(1)(f)); every such email includes a one-click unsubscribe link that takes effect immediately.

5. Your Rights (GDPR Data Subject Rights)

Under GDPR and other applicable data protection laws, you have the following rights:

  • Right of Access (Art. 15): You have the right to know what personal data we hold about you.
  • Right to Rectification (Art. 16): You have the right to request correction of inaccurate personal data.
  • Right to Erasure (Art. 17): You have the right to request deletion of your personal data ("right to be forgotten").
  • Right to Restriction (Art. 18): In certain circumstances, you can request that we restrict processing of your data.
  • Right to Data Portability (Art. 20): You have the right to receive your data in a structured format.
  • Right to Object (Art. 21): You have the right to object to processing based on legitimate interests.
  • Right to Withdraw Consent: You may withdraw consent for non-essential cookies at any time.

To exercise your rights: Please email support@codegateway.dev. We will respond to your request within 30 days.

6. Data Processors

For user-facing inference requests, we route solely through Cloudflare AI Gateway and do not hold upstream provider API keys. Accordingly, our data processors are layered into "Direct Data Processors" and "Sub-Processors via Cloudflare AI Gateway" under GDPR Article 28 / UK GDPR Article 28.

6.1 Direct Data Processors (with whom we have entered into DPAs or equivalent contractual arrangements):

  • Cloudflare, Inc. (Delaware, USA) and Cloudflare Pte. Ltd. (Singapore) — Role: Data Processor. Purpose: AI Gateway routing and Unified Billing (initiating calls to upstream AI model providers on our behalf and settling billing), edge compute (Workers), D1 database and KV storage, CDN, WAF, DDoS protection, DNS. Scope: request/response traffic, usage metadata, billing data. Deployment: US / EEA / Singapore / global edge.
  • Stripe, Inc. (Delaware, USA) and Stripe Payments Europe Ltd (Dublin, Ireland) — Role: Data Processor. Purpose: processes subscriptions, top-ups, refunds and maintains transaction records (see Refund Policy). Stripe Payments Europe Ltd serves as contracting counterparty for UK/EEA users. Stripe independently stores cardholder data under its own privacy policy and PCI-DSS controls; we do not handle card numbers.

6.2 Sub-Processors via Cloudflare AI Gateway (transparent disclosure):

Our current list of subprocessors, including processing locations and transfer safeguards, is published at /legal/subprocessors.

6.3 Other Direct Processors (where applicable):

  • Google LLC (United States) — Google Tag Manager (GTM) and Google Analytics, consent-gated (see Cookie Policy §4).
  • (This sub-section will be updated as we add other direct processors.)

All Direct Data Processors above are bound by written contracts (DPAs, SCCs, or equivalent). Cloudflare's compliance obligations toward its sub-processors (§6.2) are backstopped by the Cloudflare Customer DPA.

7. Data Retention

  • Account Data: Retained for the duration of your account and deleted within 30 days after account deletion.
  • API Request Logs: Success logs are retained for 90 days and error logs for 180 days, then deleted automatically by a daily scheduled job.
  • Conversation Content: NOT retained (see "We Never Store Your Conversation Content" section).
  • Cookie Data: Managed per our Cookie Policy; you can clear them at any time.

Detailed retention schedule:

Data categoryRetention periodPurpose
Account informationFor the life of the account, then deleted within 30 days after closureProviding the account and workspace services
API request metadata (no Prompt / Completion content)Success requests: 90 days; error requests: 180 days; then deletedBilling, reconciliation, troubleshooting and abuse prevention
Prompt / Completion contentNot retained — purged from memory immediately after forwardingNot applicable
Billing and financial recordsAt least 7 years, as required by UK tax record-keeping obligations (HMRC Corporation Tax rules under FA 1998 / TMA 1970; see also Companies Act 2006 s.388 for the underlying accounting-records duty)Tax, accounting and dispute handling
Support communicationsUp to 24 monthsHandling support requests and service quality
Workspace audit logs (workspace_audit_logs)7–365 days depending on the workspace tier (Tier 1: 7 days; Tier 2: 30 days; Tier 3: 90 days; Tier 4: 180 days; Tier 5: 365 days), then deletedWorkspace security, member-action traceability and compliance auditing
Security and abuse-prevention audit events (audit_events)Raw IP and User-Agent are kept for up to 90 days, then set to NULL by a daily job; account-linked event records are kept for the life of the account and deleted with the account on closure (except where required by law or for legal claims)Login and account security, abuse prevention, fraud and attack investigation, legal claims
Salted IP hash for feedback (user_feedback.ip_hash)Kept with the feedback record; no raw IP is storedFeedback de-duplication and abuse prevention

IP address handling: Sanction-hit logs record only country/region, path, method and timestamp, with no IP. The request_logs table has no IP column. Workspace audit logs and security audit events may store the raw IP address and User-Agent; the feedback form stores only a salted hash of the IP address and no raw IP. We use these data only for the security and abuse-prevention purposes listed in the table above. Retention of raw IP and User-Agent follows that table; IP and User-Agent in workspace audit logs are deleted with the row at the end of its tier-based retention period.

Longer retention may apply where required by law, or for the establishment, exercise, or defence of legal claims.

8. International Data Transfers

Our servers are deployed on Cloudflare's global network. Your data may be processed outside your country of residence.

European Economic Area (EEA). For personal data transferred from the EEA to the United States, we rely on:

  • the EU-US Data Privacy Framework (EU-US DPF), where the recipient holds a valid certification; or
  • the EU Standard Contractual Clauses (EU SCCs), where the recipient does not hold a valid certification.

United Kingdom (UK). For personal data transferred from the UK to the United States, we rely on:

  • the UK-US data bridge (the UK Extension to the EU-US DPF), where the recipient holds a valid certification under that extension; or
  • the UK International Data Transfer Agreement (UK IDTA) or the UK Addendum to the EU SCCs, where the recipient does not hold a valid certification under the UK Extension.

The EU-US DPF does not cover transfers from the UK. We do not rely on the EU-US DPF for UK data.

Recipients:

  • Cloudflare, Inc. (United States): Cloudflare is certified under the EU-US DPF, the UK Extension to the EU-US DPF and the Swiss-US DPF. We rely on the EU-US DPF for EEA data and the UK Extension for UK data. If a certification lapses or is invalidated, we rely on the EU SCCs and the UK IDTA/Addendum.
  • Anthropic, PBC (United States): EU SCCs and UK IDTA/Addendum. We rely on the EU-US DPF or the UK Extension only where Anthropic holds a valid certification for the relevant framework.
  • OpenAI OpCo, LLC (Delaware, USA): transfers from OpenAI Ireland Limited to OpenAI OpCo, LLC. EU SCCs and UK IDTA/Addendum. We rely on the EU-US DPF or the UK Extension only where OpenAI holds a valid certification for the relevant framework.
  • Stripe, Inc. (Delaware, USA): transfers from Stripe Payments Europe Ltd to Stripe, Inc. EU SCCs and UK IDTA/Addendum. We rely on the EU-US DPF or the UK Extension only where Stripe holds a valid certification for the relevant framework.
  • Google LLC (United States): EU SCCs and UK IDTA/Addendum. We rely on the EU-US DPF or the UK Extension only where Google holds a valid certification for the relevant framework.

If a certification lapses or is invalidated, the relevant transfer falls back to the EU SCCs and the UK IDTA/Addendum.

Data residency scope: CodeGateway does not currently operate any service node within mainland China, nor does it offer the Services to data subjects in mainland China (see Terms of Service "Geographic Restrictions"). If, in the future, services are launched under mainland China jurisdiction, we will separately publish, under Phase 4 (Issue #95), the lawful bases for cross-border transfer under the Personal Information Protection Law (PIPL) — one of: security assessment, personal-information-protection certification, or standard contract (PIPL Article 38).

9. Data Security

We take reasonable technical and organizational measures to protect your data:

  • All data in transit is encrypted using TLS (HTTPS)
  • API keys are stored only as SHA-256 hashes, never in plaintext (shown once at creation)
  • Access controls limit data access permissions
  • Regular security audits and vulnerability assessments

While we strive to protect your data, no method of Internet transmission or storage is 100% secure.

10. Children's Privacy

Our services are not directed to children under 16. We do not knowingly collect personal information from children. If we discover we have collected data from a child, we will delete it immediately.

11. Changes to This Privacy Policy

We may update this Privacy Policy from time to time. For significant changes, we will notify you via email or a notice on our website. Continued use of our services constitutes acceptance of the updated policy.

The most recent update date is shown at the top of this page. This clarificatory correction takes effect upon publication on October 13, 2026.

12. Contact Us

If you have any questions or concerns about this Privacy Policy, please contact us:

  • Email: support@codegateway.dev

If you believe we have mishandled your data, you have the right to lodge a complaint with the data protection authority in your jurisdiction (EU users: your member-state DPA; UK users: the ICO).

Data Protection Officer (DPO): We have assessed whether Article 37(1) UK GDPR and EU GDPR require us to appoint a DPO. We are not a public authority. Our core activities are providing the AI gateway and billing for it. We do not carry out regular and systematic monitoring of data subjects on a large scale. We do not process special-category data or criminal-offence data on a large scale as a core activity. We are therefore not required to appoint a DPO. We still provide a privacy contact for data protection enquiries and rights requests: support@codegateway.dev.

13. PIPL (Personal Information Protection Law of the PRC) — Reserved Section

As of the effective date of this Privacy Policy, CodeGateway does not offer the Services to data subjects located in mainland China (see Terms of Service "Geographic Restrictions"). Accordingly, this Privacy Policy does not, at present, set out PIPL-specific compliance terms.

When CodeGateway formally launches mainland-China-jurisdiction services under Phase 4 (see transformation roadmap Issue #95), specific PIPL clauses will be added to this Section, including without limitation:

  • Separate consent mechanisms (PIPL Articles 14, 23, 39);
  • Minimum-necessary disclosure of purposes, methods, scope, and retention of personal information processing (PIPL Article 17);
  • Lawful bases for cross-border provision of personal information (PIPL Article 38: one of security assessment / personal-information-protection certification / standard contract, with the specific pathway determined by the then-applicable data scale and sensitivity);
  • Obligations of the personal information processor, and a summary of the Personal Information Protection Impact Assessment (PIPIA);
  • Data subject rights to access, copy, correct, delete, port, and obtain explanation of personal information (PIPL Articles 44–50);
  • Establishment of a mainland-China representative and contact information (if applicable).

Until Phase 4 is implemented, the Services are not offered to data subjects in mainland China, and the Terms of Service "Geographic Restrictions" clause shall apply.

Privacy Policy | CodeGateway