> ## Documentation Index
> Fetch the complete documentation index at: https://braintrust.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Playground gateway error despite valid API keys

export const plans_0 = "Any"

export const deployments_0 = "Any"

export const data_plane_version_0 = undefined

export const use_case_0 = "Use case - Users who see gateway 'unknown model or provider' errors in the playground despite having valid API keys configured for OpenAI and Anthropic"

<Note>
  **Applies to:**

  * Plan - {plans_0}
  * Deployment - {deployments_0}
  * {data_plane_version_0}
  * {use_case_0}
</Note>

## Summary

**Issue:** The playground returns `Braintrust gateway error: unknown model or provider not configured` for all model selections from both OpenAI and Anthropic, even when valid API keys are configured in **Organization Settings → AI Providers**.

**Cause:** Stale browser cache or cookies cause the UI to send outdated provider or model configuration state to the gateway.

**Resolution:** Clear browser cookies and cache, then log out and back in.

## Resolution steps

### If the error occurs for all models across both providers and other users on the same org are unaffected

#### Step 1: Clear browser cookies and cache

In your browser settings, clear cookies and cached data for `braintrust.dev`.

#### Step 2: Log out and log back in

Sign out of Braintrust, restart the browser, then sign back in.

#### Step 3: Verify in the playground

Open the affected playground and run a prompt using any model. The error should no longer appear.

### Otherwise, if the issue persists after clearing cache or the issue affects all users in the org, contact Braintrust support.
