Agent Runners adds OpenCode and AI model controls
August 6, 2026
Through a new partnership with OpenRouter, you can now choose OpenCode as an AI agent with Agent Runners. OpenCode allows you to choose many different AI models, including Kimi, DeepSeek, and GLM.
Learn more about our OpenRouter partnership through the Netlify blog on open models.
Previously, you could only choose Claude, Gemini, or Codex as your AI agent, but now you can choose the OpenCode agent, which offers even more models from different AI providers.
Requests made through OpenCode are only routed to model providers with a Zero Data Retention (ZDR) policy, so your prompts and outputs are never stored.
AI model selection
As part of this release, you can now also specify which model any agent uses with Agent Runners. Previously, Claude, Gemini, and Codex agents all automatically chose a model for the task you prompted with Agent Runners.
Agents can still auto-select a model for you, but now you can also choose different models for your agents, with these preferences saved just for you on your device.
This means you can experiment with which AI models best fit your needs.
To open your AI model options for Agent Runners, select agent near your prompt box.
Choosing the best AI model for your needs
To help you choose the best AI model for your needs, within Agent Runners you can browse details about each model, including a link to learn more, a visual way to compare cost across all supported models with a 1-5 dot scale, and the option to set an effort level for that model.
To get the most out of your credits, consider the following strategies:
- Use a more expensive, capable model to help you plan your project updates and design a clear prompt with Agent Runners’ ask mode, then switch to a cheaper model to implement the changes.
- Experiment with using different AI models for different tasks.
- Be explicit about the functionality you want when using models that are cheaper or set to a lower effort level. These models may fill in placeholder functionality. For example, a model might render a contact page without fully setting up working Netlify Forms, so the page looks complete but doesn’t actually work as expected.
Learn more
To learn more, check out our docs: