Summary
For EU organizations, entering an OpenAI API key in Braintrust can trigger a validation error because automatic key validation targets the global OpenAI endpoint instead of the EU base URL. Configure OpenAI as a custom provider with the EU OpenAI API key and explicitly set the EU API base URL. Use Test to validate against the configured endpoint. A validation error from entering the key does not establish whether the EU endpoint works. Once configured, use the custom provider for requests.Applies to
Plans: Any Deployments: AnyConfiguration steps
Step 1: Configure custom provider
Go to Settings > AI providers. Click Organization provider or Project provider, then select Custom providers > New.Step 2: Enter credentials
- Choose OpenAI under Provider and enter a provider name, such as
OpenAI EU. - Choose API key authentication and enter your EU OpenAI API key.
- On the Form tab, set API base URL to
https://eu.api.openai.com/v1. - Set Authorization header format to Bearer.
Step 3: Test and save
- Click Test to validate the key against the configured EU endpoint. If this test fails, check the key and endpoint before proceeding.
- Click Create to save the provider, or Update when editing an existing provider.
- Browse and test models to run a request through this provider.
OpenAI EU provider.