VS Code and JetBrains IDEs
/ API docs← API quickstartView as Markdown
OpenCheese works inside your editor through the official Claude Code and Codex integrations. Each one reads the same settings as its command-line tool, so set up the CLI once and the IDE follows.
| IDE | Integration | Settings it reads |
|---|---|---|
| VS Code, Cursor and other VS Code forks | Claude Code extension | ~/.claude/settings.json |
| VS Code, Cursor and other VS Code forks | Codex IDE extension | ~/.codex/config.toml |
| IntelliJ IDEA, PyCharm, WebStorm, GoLand and other JetBrains IDEs | Claude Code plugin | ~/.claude/settings.json |
On Windows, ~ is your user folder, %USERPROFILE%.
Claude Code in VS Code and Cursor
- Set up Claude Code: its
envblock in~/.claude/settings.jsonholdsANTHROPIC_BASE_URLand your OpenCheese key. - Install the Claude Code extension from the Extensions view.
- Open VS Code settings, search for Claude Code login and check Disable Login Prompt,
so the extension uses your settings instead of asking you to sign in to Anthropic. In VS
Code's own
settings.jsonthat is:
{
"claudeCode.disableLoginPrompt": true
}
The extension and the CLI share the settings file, the conversation history and the model
aliases, so /model opus works the same way in both. Keep the variables in the settings file
rather than in your shell: VS Code does not always pass the shell's environment to the
extension.
Claude Code in JetBrains IDEs
The JetBrains plugin runs the claude command in the IDE's terminal and connects to it, so it
uses the CLI's settings unchanged:
- Set up Claude Code and check that
clauderuns in a terminal. - Install the Claude Code plugin from the JetBrains Marketplace and restart the IDE.
- Run
claudein the IDE's terminal, or run/idein an external terminal to connect.
If the IDE cannot find claude, set its full path under Settings → Tools → Claude Code.
Codex in VS Code and Cursor
- Set up Codex: the
opencheesemodel provider in~/.codex/config.toml. - Install the Codex extension from the Extensions view.
The extension reads the same config.toml as the CLI, including model and
model_provider. If you keep the key in env_key rather than in the file, the variable must
be set in the environment VS Code starts from: launch it from a terminal with code ., or use
the generated file's experimental_bearer_token.
Other tools
- OpenCode and Zed have their own guides.
- Any other extension that lets you set a custom OpenAI-compatible address works with
https://api.opencheese.dev/v1and your API key; one with an Anthropic mode useshttps://api.opencheese.dev.
Usage from every IDE appears in the dashboard under Transactions, grouped as one session per conversation.