Before you start
Create an OverControl key in the dashboard withmessages:create. If you use the alias mapping below, allow lume-3.5, lume-3.5-max, and lume-omni on the key. Background requests can use a different alias from the main session. Add models:read only if you enable model discovery.
Keep the key in your own settings or credential environment. Ordinary project file tools do not need OverControl Files scopes. API PDF uploads require separate Files permissions when a client actually uses those endpoints.
Install Claude Code
Use an existing Claude Code installation, or install the npm package with Node.js 22 or later:claude --version. The official setup guide covers native installers and other platforms.
Configure Messages and Lume models
Merge thisenv object into your user settings at ~/.claude/settings.json. On Windows, the path is %USERPROFILE%\.claude\settings.json. Replace your_api_key with the OverControl key. Keep this credential out of shared project settings.
ANTHROPIC_AUTH_TOKEN supplies the bearer credential. Remove stale ANTHROPIC_API_KEY overrides from settings or the launch environment so the request sends one credential. The base URL omits /v1; Claude Code adds /v1/messages. These connection settings follow Claude Code’s gateway configuration.
The mappings choose Lume IDs for Claude Code’s aliases. They do not turn Lume into a Claude model. Lume 3.5 is the default session, Lume 3.5 Max is the Opus selection, and Lume Omni is the Haiku selection in this example.
All three mapped models have 400,000 tokens of context and up to 32,768 output tokens. The client context override declares that window; the earlier 350,000-token compaction boundary leaves room for subsequent work. A client setting does not change the server’s limits. Claude Code documents these controls in model configuration and its environment-variable reference.
Verify the connection
Restart Claude Code after changing provider settings. Start a new session from a project directory. If an old API-key variable is set in the shell, clear it before launching:/status and check that the base URL is https://api.overcontrolgroup.com. A successful text answer confirms the basic connection. Then ask Claude Code to read one small project file and explain it to check a client-tool round trip.
Choose a model
For images or PDFs, select
lume-omni as the active session model, for example by launching claude --model lume-omni. Mapping the background Haiku alias to Omni does not make a text-only main session accept media. The client must also send a supported document/image format. Messages does not accept audio.
If you switch the setup to Lume 2, change the context override to 200000, use an earlier compaction window such as 175000, and cap output at 16384. Allow the new ID on the key. Avoid [1m] suffixes: they do not describe Lume’s context limits or model IDs.
Compatibility and tools
Messages accepts an optional validanthropic-version date hint; it does not require a single pinned client date. Strict client tools and JSON Schema output are supported. Reasoning controls map to Lume’s none or high effort, and replies do not include hidden thinking text.
A client tool_use can omit caller or send exactly {"type":"direct"}. toolset_name may be absent or null on tool-use/result blocks. Named toolsets and programmatic tool callers are unsupported. Function results must match preceding calls; PDF blocks cannot appear inside a client tool_result.
Client MCP connections, file reads, and commands can be presented as ordinary client functions when their schemas and results fit the API. OverControl does not host arbitrary MCP tools or code execution. A client command with a web-related name is not automatically the API’s server-side search or fetch. Large tool collections must fit the API’s 64-tool and schema-size limits.
The client chooses which files, messages, and tool results it sends. Multi-step tasks can make several inference requests and consume more usage than a short conversation. Your account allowance is shared with other API clients and OverControl Chat. Pricing explains usage; the client may also have separate services or charges.
Check Messages directly
Set your key in the terminal, then send a small request to the same API. This needsmessages:create and access to lume-3.5.
type: "message" and text in its content blocks. If this works but the client fails, check its provider format, model settings, and optional request fields.
Troubleshooting
If an optional client feature requires a request shape the API does not support, disable that feature or adjust the client configuration. Do not treat compatibility with basic Messages as support for every Claude Code feature. Keep
X-Request-Id or request-id for a failed API call.
Migrate from Anthropic
Review Messages fields, reasoning, media, and response handling.
Coding tools
Compare other editor and terminal clients.

