deeprelay launch opencode
Run one OpenCode session on deeprelay (nothing persisted, receipt on exit)
Run one OpenCode session on deeprelay (nothing persisted, receipt on exit)
Synopsis
Runs one OpenCode session on deeprelay. The session is configured through OPENCODE_CONFIG_CONTENT, OpenCode's inline-config environment variable, which overrides both the global and the project opencode.json for this process only: a deeprelay provider against the OpenAI-compatible /v1/chat/completions endpoint, your key as an {env:DEEPRELAY_API_KEY} reference, every recommended deeprelay coding model in the /models picker, and a session header for the receipt. The session is locked to the deeprelay provider (enabled_providers), so other providers configured on the machine stay out of it. No config file is touched.
The default model is the catalog's recommended coding model; pick another with --model, and set OpenCode's background-task model with --small-model.
deeprelay launch opencode
deeprelay launch opencode --model deeprelay/glm-5.3
deeprelay launch opencode run "summarize the architecture of this repo"
deeprelay launch opencode [-- <opencode args>] [flags]
Options
-h, --help help for opencode
--model string Model to run (default: the recommended coding model)
--no-receipt Skip the session cost receipt on exit
--print Show the command and environment that would run, without launching (the key is redacted)
--small-model string Model for background tasks such as titles (OpenCode small_model; default: OpenCode's own choice)
Options inherited from parent commands
--api-base string API base URL (override with DEEPRELAY_API_BASE env) (default "https://api.deeprelay.ai/v1")
--debug Enable debug logging to stderr
--no-preflight Skip the plan/credit check before inference requests (override with DEEPRELAY_NO_PREFLIGHT env)
-o, --output string Output format: table|json (default table on TTY, json otherwise) (default "table")
SEE ALSO
- deeprelay launch - Run a coding tool on deeprelay for one session, with a cost receipt on exit