Pydantic AI Gateway: Supplemental Terms
1. Relationship to the Base Terms, Acceptance & Order of Precedence
These Pydantic AI Gateway Supplemental Terms (the "Gateway Terms") supplement and incorporate the Pydantic Logfire – Terms of Service (the "Base Terms") located at terms of service page. By enabling or signing up to the Gateway, requesting or using a Gateway API key, or routing any request through the Gateway, you agree to be bound by these Gateway Terms and the Base Terms. Capitalized terms not defined here have the meanings given in the Base Terms.
If there is a conflict between these Gateway Terms and the Base Terms, these Gateway Terms control for the Gateway.
2. Definitions
Gateway means Pydantic's hosted AI gateway that authenticates, routes, and monitors API calls to third‑party AI/LLM providers and exposes related features (for example, API‑key delegation, usage/cost limits, routing/fallback, and optional caching).
Customer Content means prompts, inputs, files and attachments, tool/function metadata, and other content you or your end users send to the Gateway, as well as the model outputs returned by providers.
Usage Data means operational and telemetry data generated by the Gateway (e.g., timestamps, endpoint, model/provider name, token/cost estimates, latency, status codes, rate‑limit events) and aggregated statistics derived from Customer Content that do not contain Customer Content.
Provider(s) means third‑party AI/LLM or related services you select and configure for use through the Gateway (for example, model APIs), and Provider Terms means your separate agreements with those providers.
Hosted Service vs. OSS. Pydantic publishes open‑source components for an AI gateway under an open‑source license. These Gateway Terms govern only the hosted service and do not alter rights granted under any open‑source license for self‑hosting.
3. Service Changes & Support
3.1 Service Changes. The Gateway is provided as is and as available. Features may change, be rate‑limited, or be withdrawn without notice. No service‑level agreement or uptime commitment applies unless set out in an Order.
3.2 Security & Compliance (Scope). While Pydantic maintains commercially reasonable safeguards consistent with the Base Terms, the AI Gateway is not currently included in any Pydantic SOC 2 attestation scope. You must not use the AI Gateway to process regulated or high‑risk data (including, without limitation, PHI, PCI cardholder data, export‑controlled data, or government‑classified information) unless and until Pydantic explicitly designates the AI Gateway as suitable for such data in writing.
3.3 Support. Support is best‑effort unless set out in an Order.
4. Providers; Flow‑Down Terms; Accounts and Keys
4.1 Your Selection. You choose the Provider(s) to use and are responsible for obtaining and maintaining any Provider accounts, credentials, and configurations.
4.2 Pass‑Through Processing. The Gateway forwards Customer Content to the Provider(s) you configure and returns their outputs. Provider Terms govern Provider processing, retention, and use of Customer Content. Pydantic does not control Provider behavior, data use, availability, or output quality, and is not liable for Provider outages, throttling, changes, or terms.
4.3 Key Delegation and Budgets. The Gateway may allow API‑key delegation and usage/cost limits. Limits are "soft" (actual costs often are known only after completion) and rely on Gateway state. You remain responsible for all usage and charges, including Provider charges.
4.4 No Schema Harmonization Guarantee. Different Providers may return different request/response formats or fields. The Gateway does not guarantee cross‑provider harmonization.
5. Data Handling
5.1 Ownership. As between you and Pydantic, you retain ownership of Customer Content. Pydantic does not claim ownership of Customer Content.
5.2 License to Operate the Service. You grant Pydantic a limited, non‑exclusive license to process Customer Content solely to provide, secure, troubleshoot, and improve the Gateway; to operate routing, cost estimation, rate‑limit enforcement, and abuse prevention; and to generate Usage Data and de‑identified or aggregated statistics.
5.3 No Pydantic Model Training. Pydantic will not use Customer Content sent through the Gateway to train Pydantic‑owned machine‑learning models for general product improvement. (Provider training, if any, is governed by your settings and the Provider Terms.)
5.4 Logging and Retention. For operability and cost tracking, the Gateway may log requests/responses (including prompts and outputs) and Usage Data. Unless you configure stricter retention in the product (if available) or an Order states otherwise, Pydantic targets deletion of Customer‑Content logs within 30 days and may retain Usage Data for a longer period for security, billing, and reporting. Cached entries (if you enable caching) may be stored in edge or worker storage with TTL‑based eviction and are not intended for durable storage; Pydantic may purge cache entries at any time.
5.5 Deletion on Request. Upon verified request, Pydantic will delete Customer Content it controls within a reasonable period (target: 30 days), except where retention is required by law or legitimate business need, or where copies persist at Providers under the Provider Terms.
5.6 Personal Data & DPA. If Customer Content includes personal data, Pydantic will act as a processor under the Data Processing Addendum referenced in the Base Terms (to the extent executed with you). Model Providers you direct are your vendors and are not Pydantic sub‑processors.
6. Acceptable Use (Gateway‑Specific)
In addition to the Base Terms' unacceptable use provisions, you agree not to:
- circumvent Provider safety systems, rate limits, or usage caps;
- probe, scan, or test the Gateway except with Pydantic's prior written consent;
- use the Gateway to violate Provider Terms or applicable AI/content laws;
- process PHI, PCI, export‑controlled, or other regulated data unless Pydantic explicitly designates the AI Gateway as suitable for such data in writing; or
- use the Gateway in life‑critical or safety‑critical contexts without appropriate human review and safeguards.
Pydantic may throttle, suspend, or revoke access for violations or service risk.
7. Credentials, Access & Rate Limiting
7.1 Keys and Credentials. You are responsible for safeguarding all Gateway and Provider keys and for promptly rotating, de‑scoping, and revoking them as appropriate.
7.2 Rate Limits & Throttling. Pydantic may impose, adjust, or enforce rate limits or request budgets to preserve service stability or respond to Provider constraints.
8. Fees and Payment
Unless otherwise specified in an Order or the product UI, you are responsible for (a) Pydantic's Gateway fees and (b) all Provider fees and taxes. Pydantic may modify Gateway pricing prospectively; any changes will be communicated in‑product or via an Order and take effect as stated there. The Base Terms govern payment, taxes, late fees, suspension for non‑payment, and non‑refundable charges.
9. Open‑Source and Self‑Hosting
If you self‑host using Pydantic's open‑source code, your use of that code is governed by its open‑source license. These Gateway Terms govern only Pydantic's hosted Gateway.
10. Term, Suspension & Termination
These Gateway Terms apply while you access or use the AI Gateway. Either party may terminate Gateway access as permitted by the Base Terms. Pydantic may suspend or terminate access immediately for security risk, abuse, non‑payment, or Provider‑required reasons. Upon termination, Pydantic may delete associated Gateway data as described in Section 5.
11. Warranties, Disclaimers & Limitation of Liability
11.1 As‑Is. The AI Gateway is provided as is and as available without warranties of any kind, and without SLA or credits unless set out in an Order.
11.2 Outputs. AI outputs may be inaccurate, incomplete, or unsafe. You are responsible for human review and validation.
11.3 Liability. The Base Terms' exclusions and liability caps apply to the Gateway. Pydantic is not liable for Provider actions, outages, or terms.
12. Export, Sanctions & Government Use
You must comply with all applicable export control and sanctions laws in connection with your use of the Gateway and your chosen Provider(s). The Base Terms' export provisions apply.
13. Updates to These Gateway Terms
Pydantic may update these Gateway Terms from time to time. Updates will be posted on this page and apply prospectively to Gateway use after the stated effective date (or as set out in an Order). If you continue to use the Gateway after the effective date, you agree to the updated terms.
14. Contact
For questions about these Gateway Terms, contact legal@pydantic.dev.
Explore Logfire.
Explore our open source packages