Docs · Guide

OpenChamber on any model

OpenChamber is a desktop, web and VS Code front end for OpenCode. It runs an OpenCode of its own (the desktop app bundles OpenCode 2) on your OpenCode config. packinggoods sets OpenChamber's default model to one of packinggoods's and puts packinggoods's provider in the OpenCode config, so OpenChamber runs on any model you have in packinggoods: DeepSeek, GLM, Kimi, Qwen, an OpenAI or Anthropic key, or a ChatGPT or Copilot subscription.

Set up OpenChamber

  1. Add a provider in packinggoodsAdd an API key on the Providers page, or sign in to a subscription.
  2. Pick a model on OpenChamber's rowOn the Agents page, pick OpenChamber's default model, and a small model if you like.
  3. Start a new sessionOpenChamber takes the new model for new sessions.
Terminal
packinggoods openchamber deepseek/deepseek-v4-pro          # new sessions
packinggoods openchamber small deepseek/deepseek-v4-flash  # titles, commit messages

OpenChamber's settings are under $OPENCHAMBER_DATA_DIR, ~/.config/openchamber by default (not moved by XDG_CONFIG_HOME). packinggoods writes its profile, preferences.json, and the copy in settings.json that older builds read, where that file is:

Terminal
// ~/.config/openchamber/preferences.json
{"version": 1, "fields": {
  "defaultModel": {"value": "packinggoods/deepseek/deepseek-v4-pro", "updatedAt": …},
  "smallModelUseDefault": {"value": false, …},
  "smallModelOverride": {"value": "packinggoods/deepseek/deepseek-v4-flash", …}
}}

Which model a session gets

OpenChamber sends each new session the model it picks, in this order: the project's defaultModel (settings.json's projects), the profile's defaultModel, the agent's own, and only then OpenCode's model. So setting OpenCode's model alone doesn't reach OpenChamber; packinggoods sets the profile's defaultModel. A project with a default model of its own keeps it there, and packinggoods names the project and its model. On a new model packinggoods also clears the old one's defaultVariant, as OpenChamber's own picker does.

The small model

OpenChamber's small model writes session titles and commit messages. It is smallModelOverride once smallModelUseDefault is false, else OpenCode's small_model. Picking a small model in packinggoods writes those two keys; switching back takes both out and leaves it to OpenCode.

The OpenCode config

A model in OpenChamber is OpenCode's provider/model, so one of packinggoods's needs packinggoods's provider in the OpenCode config: $OPENCODE_CONFIG_DIR, else $XDG_CONFIG_HOME/opencode. A provider of your own that already sends that model to packinggoods's gateway is used instead of a second list of the same models. An OpenCode 2 config is written in OpenCode 2's words. Once OpenChamber steps off packinggoods, packinggoods's provider goes too, when nothing else in the OpenCode config names one of its models. Its requests count as OpenCode's, since OpenChamber's OpenCode sends them.

New and open sessions

OpenChamber takes the new model for new sessions; sessions already open keep theirs. packinggoods says so while OpenChamber is running.

Switching back

Set the row back to default in packinggoods: packinggoods takes out the profile's defaultModel and defaultVariant, and OpenChamber goes back to the OpenCode config's model.

Terminal
packinggoods openchamber default

FAQ

Can OpenChamber use DeepSeek, GLM, Kimi or Qwen?

Yes. packinggoods sets OpenChamber's default model to the one you pick in packinggoods and puts packinggoods's provider in the OpenCode config.

OpenCode is on packinggoods already; why is OpenChamber still on my old model?

OpenChamber takes a project's and its profile's own defaultModel before OpenCode's model. Pick a model on OpenChamber's own row in packinggoods.

One project is still on the old model?

That project has a default model of its own in settings.json, which goes first there. packinggoods names the project.

Which model writes session titles and commit messages?

The small model: smallModelOverride once smallModelUseDefault is false, else OpenCode's small_model.

More agents on the same models: Models in OpenCode, T3 Code on any model and Craft Agents on any model. Something fails? See Fixing common errors, or ask on Discord.