Overview
Workshop supports three AI model providers — Anthropic (Claude), OpenAI (GPT), and Google Gemini. For each provider you can choose between two connection modes:| Mode | API Key | Billing | Setup |
|---|---|---|---|
| Workshop-managed | None needed | Workshop credits | One-click enable |
| BYOK (Bring Your Own Key) | Your own key | Directly by the provider | Paste your API key |
Workshop-Managed Connectors
Workshop-managed connectors (memex-anthropic, memex-openai, memex-gemini) let you add AI features to your apps without creating accounts at each provider or managing API keys.
How They Work
- Click the provider tile in the Connectors tab (under AI Models)
- Click Create Connection
- Workshop generates a secure API key behind the scenes, tests the connection, and activates the connector
Disabling a Managed Connector
Open the provider tile and click Delete Connection. The associated API key is automatically revoked and the connector is removed.Available Models
- Anthropic (Claude)
- OpenAI (GPT)
- Gemini
| Model | Description |
|---|---|
claude-haiku-4-5-20251001 | Fast, cost-effective |
claude-sonnet-4-5-20250929 | Balanced |
claude-sonnet-4-6 | Latest balanced |
claude-opus-4-6 | Most capable |
Publishing with Managed Connectors
When you publish an app that uses a Workshop-managed connector, Workshop generates fresh API keys for the deployed environment. Visitors to your published app consume your Workshop credits — you don’t need to manage or expose any API keys.Credit Usage
Each API call consumes Workshop credits based on the model used and the number of tokens processed. Monitor your usage in Settings > Usage and Billing.BYOK (Bring Your Own Key)
If you already have an API key from Anthropic, OpenAI, or Google, you can use it directly. Usage is billed by the provider, not Workshop.| Provider | Setup Guide |
|---|---|
| Anthropic | Anthropic BYOK Guide |
| OpenAI | OpenAI BYOK Guide |
| Google Gemini | Gemini BYOK Guide |
When to Use Each Mode
Use Workshop-managed when...
Use Workshop-managed when...
- You want the simplest setup with no external accounts to manage
- You’re prototyping or building apps for personal use
- You want a single billing source (Workshop credits)
- You’re publishing apps where you want Workshop to handle key lifecycle
Use BYOK when...
Use BYOK when...
- You already have a provider account with credits or a billing agreement
- You need access to models not available through Workshop-managed connectors
- You want usage billed directly to your provider account
- Your organization requires direct provider relationships for compliance
Choosing a Provider
All three providers work the same way within Workshop. The main differences are the models available and their strengths:- Anthropic (Claude): Strong at careful reasoning, long-form writing, and nuanced instruction following.
- OpenAI (GPT): Broad general-purpose capabilities including image generation and function calling.
- Google Gemini: Excellent at multimodal tasks, very long context windows, and grounded responses.
Switching providers: Each provider has a different SDK and API format. If you want to switch an app from one provider to another, ask the Workshop agent — for example, “Switch this app from OpenAI to Anthropic” — and it will handle the code migration.
Security
Workshop handles API key management for managed connectors automatically:- Keys are generated securely on your behalf
- Keys are stored encrypted (SHA-256 hashed server-side)
- Keys are automatically revoked when you delete a connector
- You never need to manage or rotate keys manually
Troubleshooting
”Connection Failed” Error
- Verify your internet connection
- For managed connectors, try deleting and re-enabling the connector
- For BYOK, verify your API key is valid and has not been revoked
”Insufficient Credits” Error
- For managed connectors: check your Workshop credit balance in Settings > Usage and Billing
- For BYOK: check your balance with the provider (Anthropic console, OpenAI platform, or Google Cloud console)