Supported Providers
Free Models
These models work without any API key:Setting Up a Provider
- API Key
- OAuth
1
Open Settings
Navigate to Settings in the sidebar.
2
Select provider
Choose your provider from the list.
3
Enter API key
Paste your API key. It is stored locally via OpenCode’s configuration.
Model Selection
Select which model to use for execution:- Open the Model Selector dropdown in the project config panel (top of the kanban board)
- Browse connected providers and their available models
- Select a model — it applies to all subsequent executions
Permission System
During execution, the AI agent may request permission to use certain tools (e.g., executing shell commands, writing files). These appear as permission requests in the task detail view.Permission Responses
Responding to Permissions
In the UI, permission requests appear as actionable cards in the task detail view. Via API:Provider Status
Check which providers are connected:ready field is true when at least one provider is authenticated.
