Skip to main content
OpenAIChatModel speaks Chat Completions, which is what every OpenAI-compatible provider in Pydantic AI uses. The OPENAI_BASE_URL and OPENAI_API_KEY environment variables are the alternative to passing base_url and api_key.

Privacy

Use a catalog ID, not an OpenAI name. Every catalog ID runs in attested hardware; GET /v1/models lists them. End-to-end encryption needs client-side encryption and extra headers, which these frameworks do not add. See How Privacy Works.

Framework Integrations

The shared pattern.

OpenAI Compatibility

What differs.

How Privacy Works

Privacy-preserving hardware on every call.