opencode.json for model and endpoint configuration. Put this configuration in the global config file so OpenCode uses DUIAPI by default.
OpenCode
Configuration guide
Configure OpenCode to use DUIAPI
OpenCode uses