Custom Models
Add any AI provider or model that you want
Dyad lets you use any AI model or provider, as long as they offer an OpenAI-compatible API.
Add a provider
Go to Settings, find the AI Providers section, and click Add Custom Provider. This will open a dialog where you can fill in the required information:
- ID: This is used internally and cannot be changed later. You can choose any value.
- Display Name: This is what will appear in the Dyad UI.
You can usually find the API Base URL in the provider’s documentation.
Add a model
In the AI Providers section of Settings, click on the provider you want to add a model for. On the provider’s page, scroll to the bottom and click Add Custom Model.
Fill in the following:
- Model ID: This must match exactly what's specified in the provider’s API documentation. It’s the identifier sent to the API.
- Name: A user-friendly label shown in the Dyad UI.
- Description: Optional information displayed in a tooltip—e.g., noting if the model is free.
- Max Output Tokens and Context Window: Set these based on the provider’s documentation. If left blank, Dyad will use default values, which may be smaller than optimal.