Configure the provider
Add Valkyrie to your Opencode config, either global at~/.config/opencode/opencode.json or per-project at ./opencode.json:
The
baseURL ends in /v1. Use your deployment slug (deployment-{id}) or an
alias in place of {deployment_slug}, and set your-model-id
to the model your deployment serves. {env:VAR} reads the key from the environment
so it never lands in the config file.A real example
Against Valkyrie’s shared Qwen deployment (aliasqwen, model
RadixArk/Qwen3.8-27B-NVFP4):