Get started
Make your first request with Voyageage
Start with your account, balance, and API key.
Recommended — Prefer a graphical setup?
Use CC Switch to configure VoyageAge for Claude Code and Codex without manually editing configuration files.
New to VoyageAge? Follow the screenshots to create an account, create a key and prepare your balance, then open the guide for your client.
The screenshots below show the English interface. Button labels may vary slightly by version.
Note: Last reviewed on
2026-10-14. Screens can change; follow the buttons and available models on the current page.
1. Open VoyageAge
Open the VoyageAge website and click Log in in the top-right corner.

Click Sign up at the bottom of the login window.

2. Register a VoyageAge account
Already have an account? Sign in directly; you do not need to register again.
You can sign in or register with GitHub, Google, or email. Choose one method.

To register by email:
- Enter your Email address.
- Set a Password.
- Enter the same password again in Confirm password.
- Click Send code.
- Check your email and enter the 6-digit verification code. Check your spam folder if it has not arrived.
- Enter a Referral code (optional) if you have one. Leave it blank if you do not.
- Complete the security check requested on the page.
- Click Sign up.
For GitHub or Google, click that provider's button and follow the prompts. You do not also need to complete the email registration steps.
3. Open Console
After registering or signing in, open VoyageAge Console. If you are still on the homepage and a Console button appears in the top-right corner, click it.
Select API Keys in the left navigation. On a phone, open the navigation menu first if the sidebar is hidden.

4. Create an API key
On the API Keys page, click Create Key in the top-right corner. An empty list may also show a Create Key button in the middle of the page. Both open the same form.

5. Fill in the key details

Name: Use a name such as WorkBuddy-OpenAI, WorkBuddy-Claude or Codex. It only helps you organize and recognize keys; it does not select a model.
Provider: Select OpenAI for GPT models, Anthropic for Claude models, or the matching provider for other models, such as Domestic Models or Other. This choice affects the available groups and their model range, so choose for your intended use.
Group: Choose a group available to your account that supports the target model. OpenAI 1x in the screenshot is an example, not a required group for every user.
Custom key, IP restrictions, quota limits and rate limits: These advanced options let you set a key value, restrict request sources or control usage. New users can keep the defaults without configuring every option.
Click Create in the bottom-right corner when ready.
6. Save your API key
After creating your API key, click the copy icon next to the key to copy it. Find it by the name you entered. The list masks the key on screen, but the icon copies the full value. You can return to this list to copy it again.

An API key is like a password for accessing VoyageAge model services. Keep it private and do not share it. A password manager is a good place to save it.
Note:
YOUR_VOYAGEAGE_API_KEYis a placeholder. Never upload a real key to GitHub, post it in public chats, include it in public screenshots or put it in browser code.
7. Prepare your balance and connect a client
Click Top Up in the top-right corner of the Console to add balance before making API requests. You can also open Wallet in the left navigation. Use an available payment method, then refresh the page to confirm the updated balance. The balance shown in the screenshot is only an example.

With your account, key and balance ready, follow the WorkBuddy, Codex Desktop or Claude Code guide. The address, model lookup and test-request sections below are available if you need them.
8. Choose the correct API address
Different clients can require different API addresses. Follow the guide for your client and do not append paths yourself.
| Where you enter it | Value |
|---|---|
OpenAI SDK or a Base URL field that expects /v1 |
https://api.voyageage.com/v1 |
A graphical client that appends /v1/chat/completions |
https://api.voyageage.com |
| Claude / Claude Code Anthropic Base URL | https://api.voyageage.com |
| Current model list | https://api.voyageage.com/v1/models |
The WorkBuddy guide uses the full https://api.voyageage.com/v1/chat/completions in its address field. Do not apply that setting to other clients without checking their guides.
9. Get a current model ID
Copy a model ID from Console or request the model list instead of copying an old screenshot.
Windows PowerShell
$headers = @{ Authorization = "Bearer YOUR_VOYAGEAGE_API_KEY" }
Invoke-RestMethod -Uri "https://api.voyageage.com/v1/models" -Headers $headers
macOS / Linux
curl "https://api.voyageage.com/v1/models" \
-H "Authorization: Bearer YOUR_VOYAGEAGE_API_KEY"
Examples from the shared OpenAI model data are gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna. Availability still depends on your API key.
10. Send a first test request
Windows PowerShell
$headers = @{
Authorization = "Bearer YOUR_VOYAGEAGE_API_KEY"
"Content-Type" = "application/json"
}
$body = @{
model = "gpt-5.6-sol"
messages = @(@{ role = "user"; content = "Reply only: VoyageAge connected" })
} | ConvertTo-Json -Depth 4
Invoke-RestMethod -Method Post -Uri "https://api.voyageage.com/v1/chat/completions" -Headers $headers -Body $body
macOS / Linux
curl "https://api.voyageage.com/v1/chat/completions" \
-H "Authorization: Bearer YOUR_VOYAGEAGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.6-sol","messages":[{"role":"user","content":"Reply only: VoyageAge connected"}]}'
Success: The terminal returns a model response and a new request appears in VoyageAge Console usage. This confirms the request passed through VoyageAge.
Common errors
- 401 Unauthorized: The key is invalid, deleted, or contains spaces. Create a new key and replace the entire placeholder.
- 403 Forbidden: The account or key cannot access the selected group or model. Check key scope and account status.
- 404 Endpoint Not Found: A Base URL and a full endpoint were mixed. Use the exact value in the selected client guide.
- Model Not Found: Request
https://api.voyageage.com/v1/modelsagain and copy the complete model ID. - Insufficient Balance: Add balance, then retry.
- 429 Too Many Requests: Reduce request rate or concurrency and retry later.
- Success but no usage record: Confirm the client is not still using
api.openai.com, then check the Console account and time range.
Choose your client from the left navigation to continue.
Get started
Use VoyageAge with CC Switch
Configure Claude Code, Codex, and other coding agents without manually editing configuration files.
CC Switch is the recommended graphical path for configuring VoyageAge across coding agents. It manages provider settings for you while the existing Codex and Claude Code guides remain available for manual configuration.
Recommended
Best for Claude Code, Codex, developers switching between multiple AI providers, and anyone who prefers a graphical interface.
Step 1 — Install CC Switch
CC Switch is a cross-platform GUI provider manager for Claude Code, Codex, Gemini CLI, OpenCode, and other coding agents.
- Open the official CC Switch website for the current installation options.
- Use the official GitHub repository or its Releases page if you prefer to inspect and download releases directly.
Install the current version for Windows, macOS, or Linux, then open CC Switch. Avoid third-party download sites.
Step 2 — Add VoyageAge
Create an App-specific Provider for each client you use. In CC Switch, select the client at the top, click +, and choose Custom Configuration.
Claude Code
Fill the Claude Code provider form with:
| CC Switch field | Value |
|---|---|
| Provider Name | VoyageAge |
| API Key | YOUR_VOYAGEAGE_API_KEY |
| API Endpoint | https://api.voyageage.com |
| Upstream Format | Anthropic Messages (Native) |
| Auth Field | ANTHROPIC_AUTH_TOKEN (Default) |
| Main Model | Select a current model; claude-opus-5 is only an example |
Keep the native Anthropic format: VoyageAge already exposes the Anthropic-compatible endpoint Claude Code expects, so local protocol conversion is not required.
Codex
Fill the Codex provider form with:
| CC Switch field | Value |
|---|---|
| Provider Name | VoyageAge |
| API Key | YOUR_VOYAGEAGE_API_KEY |
| API Request URL | https://api.voyageage.com/v1 |
| Default Model | Select a current model; gpt-5.6-sol is only an example |
| Upstream Format | OpenAI Responses API (Native) |
| Needs Local Routing | Off |
VoyageAge supports the OpenAI Responses API. Select the native Responses format so Codex connects directly; no Chat Completions → Responses protocol conversion is required.
Do not mix the Base URLs
| Client | Base URL |
|---|---|
| Claude Code | https://api.voyageage.com |
| Codex | https://api.voyageage.com/v1 |
Claude Code needs the API origin. Codex needs the /v1 Base URL. Do not append /v1/messages or /responses yourself.
Step 3 — Select a model
After entering the API Key and endpoint, use Fetch Models beside the model field. CC Switch requests the provider's OpenAI-compatible /v1/models list and lets you choose from the returned IDs.
- OpenAI / Codex examples:
gpt-5.6-sol,gpt-5.6-terra,gpt-5.6-luna - Anthropic / Claude Code examples:
claude-opus-5,claude-fable-5,claude-opus-4-8
These are examples, not permanent requirements. Model availability may change and depends on your API key. Use VoyageAge Console or request https://api.voyageage.com/v1/models to see what is currently available. If Fetch Models cannot reach the endpoint, enter an exact model ID from that list manually.
Step 4 — Enable VoyageAge
Save the provider, find VoyageAge on the provider card, and click Enable.
- Claude Code: CC Switch applies provider changes immediately. If a session does not pick up the change, open a new terminal and start Claude Code again.
- Codex: close the running Codex client or terminal, reopen it, and start a new session. Codex reads the provider and model catalog at startup.
Step 5 — Verify the connection
Start the configured client and send:
Reply only: VoyageAge connected
Then open VoyageAge Console → Usage and confirm that a new request appears with the selected model. The Console record is the evidence that the request actually passed through VoyageAge.
Success: The client replies with “VoyageAge connected” and VoyageAge Console shows the matching request.
Manual configuration is still available
Prefer direct control over your files and environment? Continue with the Codex CLI manual configuration or Claude Code CLI manual configuration. CC Switch is the easiest path, not a requirement.
Note: Never put a real API key in a URL, deep link, screenshot, repository, analytics event, or console log. Enter it only in CC Switch's API Key field.
Desktop clients
Codex Desktop
Configure Voyageage for Codex in the ChatGPT desktop app.
Configure VoyageAge through the user-level Codex files using either Legacy or API Key Mode. Reviewed on 2026-10-14. The sample model is gpt-5.5; first confirm your VoyageAge group supports it through Responses.
1. Before you start
Install the appropriate build from the official download page. Record both the desktop app and its bundled Codex runtime version: codex --version in a terminal may describe a separate CLI. On Linux, use these paths only with a compatible desktop distribution already installed; consult the official download page for availability, or use Codex CLI.
Prepare a dedicated VoyageAge API key and available balance, then quit the desktop app completely. Connecting does not require relaxing sandbox or approval settings.
| Mode | Credential location | When to use it |
|---|---|---|
| Legacy | User-level auth.json |
Sub2API's traditional manual setup or an existing compatible authentication flow |
| API Key Mode | Provider experimental_bearer_token |
Explicit custom-provider credentials, desktop environment inheritance problems, or the local image executor setup |
Choose one TOML example. These names follow Sub2API's setup UI; both use the same API endpoint. Changing authentication mode does not grant additional model access.
2. Back up and choose your operating system
These are default paths. If you configured CODEX_HOME, edit that actual directory instead.
| OS | config.toml | Legacy auth.json |
|---|---|---|
| Windows | %USERPROFILE%\.codex\config.toml |
%USERPROFILE%\.codex\auth.json |
| macOS | ~/.codex/config.toml |
~/.codex/auth.json |
| Linux | ~/.codex/config.toml |
~/.codex/auth.json |
Windows: back up and open the file
Run in PowerShell. This creates a directory and timestamped backups; merge edits manually in Notepad, save as UTF-8, and check that the filename has no extra .txt extension.
New-Item -ItemType Directory -Force -Path "$HOME\.codex" | Out-Null
$backupStamp = Get-Date -Format "yyyyMMdd-HHmmss"
foreach ($fileName in @("config.toml", "auth.json")) {
$sourcePath = Join-Path "$HOME\.codex" $fileName
if (Test-Path -LiteralPath $sourcePath) {
Copy-Item -LiteralPath $sourcePath -Destination "$sourcePath.$backupStamp.bak"
}
}
notepad "$HOME\.codex\config.toml"
For Legacy, also open or create auth.json in the same directory. You can paste %USERPROFILE%\.codex into Explorer's address bar. PowerShell's $env: and $HOME syntax does not work in CMD.
macOS / Linux: back up and open the file
Run in Bash / Zsh, then edit with your preferred text editor:
mkdir -p ~/.codex
backup_stamp=$(date +%Y%m%d-%H%M%S)
for file_name in config.toml auth.json; do
if [ -f "$HOME/.codex/$file_name" ]; then
cp "$HOME/.codex/$file_name" "$HOME/.codex/$file_name.$backup_stamp.bak"
fi
done
nano ~/.codex/config.toml
Backups can contain credentials too. Protect them and keep them out of public or shared directories.
3. Choose a mode and merge TOML
Preserve MCP servers, other providers, projects, and permissions. Put top-level keys before the first table header. Edit existing keys/tables in place; do not append duplicate [features] or [model_providers.OpenAI] tables. OpenAI is a case-sensitive custom provider ID and must match model_provider. If that ID already serves another purpose, rename both references together.
Legacy mode
model_provider = "OpenAI"
model = "gpt-5.5"
review_model = "gpt-5.5"
[model_providers.OpenAI]
name = "OpenAI"
base_url = "https://api.voyageage.com/v1"
model_catalog_url = "https://api.voyageage.com/v1/models"
wire_api = "responses"
requires_openai_auth = true
[features]
goals = true
api_key_model_discovery = true
requires_openai_auth = true selects Codex's OpenAI authentication flow. Sub2API's Legacy recipe supplies a VoyageAge key through auth.json; it does not require an OpenAI subscription. Back up any existing official login first. If authentication sources conflict, use explicit API Key Mode rather than mixing old OAuth token fields into the example.
API Key Mode
model_provider = "OpenAI"
model = "gpt-5.5"
review_model = "gpt-5.5"
[model_providers.OpenAI]
name = "OpenAI"
base_url = "https://api.voyageage.com/v1"
model_catalog_url = "https://api.voyageage.com/v1/models"
wire_api = "responses"
requires_openai_auth = false
experimental_bearer_token = "YOUR_VOYAGEAGE_API_KEY"
http_headers = { "x-openai-actor-authorization" = "local-image-extension" }
[features]
goals = true
api_key_model_discovery = true
requires_openai_auth = false removes the requirement for the OpenAI authentication flow; VoyageAge still requires a key. experimental_bearer_token supplies the provider's Bearer credential. This example already contains that credential, so it needs no additional example auth.json. Keep existing official authentication backed up rather than deleting it as a prerequisite.
http_headers adds static provider headers. The actor value local-image-extension comes from the Sub2API local image executor integration; it is neither your VoyageAge key nor a universal image capability switch.
Inline credentials make the TOML file and backups sensitive. Never commit them, attach them to issues, or expose them in screenshots. The official reference generally prefers env_key; desktop environment inheritance depends on how the app starts. This page retains Sub2API's explicit credential method; see Codex CLI for environment-based setup.
4. Set the API key
Legacy only: use this auth.json in the same directory. Back up official credentials before intentionally switching authentication; do not blindly merge two complete authentication objects.
{
"OPENAI_API_KEY": "YOUR_VOYAGEAGE_API_KEY"
}
Replace the placeholder with your dedicated VoyageAge key. In API Key Mode, replace only the TOML credential above. On macOS / Linux, restrict existing credential files to your user:
chmod 600 ~/.codex/config.toml
if [ -f ~/.codex/auth.json ]; then chmod 600 ~/.codex/auth.json; fi
On Windows, review access in the file's Security properties. Do not print entire credential files or environment variables during troubleshooting.
5. Verify
- Quit the app and related launchers completely, restart, and create a new task.
- Check the selected provider/model and send a short text request.
- Match the time, key, model, and Responses request in VoyageAge Console. A listed model is not proof that inference works.
- In a disposable directory, ask: “Read the current directory and report the file count without changing files.” Observe the tool call and subsequent answer.
- If you need editing, separately test one small edit and one test command in that directory. Text, tool use, and complete task execution are separate checks.
These checks may incur charges. This documentation update verifies source and configuration syntax, with no real-key end-to-end test.
6. Image executor and version boundaries
Sub2API #4253 distinguishes the hosted image_generation request tool from a client-registered local image_gen executor. Gateway support alone cannot install a missing client executor.
The issue's Responses Lite recipe uses API Key Mode, the actor header above, and this flag merged into the existing features table:
[features]
image_generation = true
Do not create a second features table. The flag exists in the checked rust-v0.159.0 and current main schemas. Schema acceptance does not establish that a desktop build ships the executor. The issue supplies no complete version matrix or verified minimum desktop version. Sub2API's current generator emits goals but does not emit this image flag by default.
For a build with the local executor, follow the issue's flag/header/API Key Mode combination. Legacy has different authentication and tool-registration conditions; adding a header alone is not guaranteed to make it equivalent. Restart and create a new task to rebuild session configuration and the tool registry. If the tool is absent, check runtime, model capabilities, routing, and client plugins before retrying paid generation. Not every model supports image generation.
7. Remote and local model catalogs
Both examples include model_catalog_url and features.api_key_model_discovery = true. The latter is valid in the checked rust-v0.159.0 schema. Reports about discovery changes in 0.156+ come from Codex #50282 and CC Switch #7694, describing 0.159.0-alpha.12.1 and 0.158.0-alpha.2 API-key runtimes that need both settings. They do not establish compatibility for every desktop release or its model picker.
Codex sends authentication and client_version and expects a Codex-native top-level models array with capability metadata. An ordinary OpenAI {"object":"list","data":[...]} result is not that catalog. This repository's Sub2API routes select a native manifest when client_version is present; deployed group settings and responses still need verification. Invalid data, HTML, or 401 responses can cause a silent fallback to bundled models.
If remote discovery fails, obtain a complete, runtime-compatible, credential-free Codex-native JSON catalog from your administrator. Do not rename an ordinary model ID list. Add one absolute path at the TOML top level, choosing the example for your OS:
# Windows
model_catalog_json = 'C:\Users\YOUR_USERNAME\.codex\voyageage-models.json'
# macOS / Linux: replace with your real absolute home path
model_catalog_json = "/home/YOUR_USERNAME/.codex/voyageage-models.json"
On macOS, the home path is typically /Users/YOUR_USERNAME. The local catalog is read at startup and takes precedence over remote discovery. Restart after changes; remove this key to restore remote discovery. No incomplete “universal catalog” is supplied here.
8. Restore and historical fields
Restore or merge the backed-up config.toml and auth.json, retaining newer MCP or other settings, then restart with your previous provider/login.
Sub2API's UI also emits disable_response_storage = true, top-level network_access = "enabled", and windows_wsl_setup_acknowledged = true. The first two are absent from the checked 0.159 top-level schema, so the copyable examples omit them; they are not a verified privacy or network-permission guarantee. The last is a Windows onboarding acknowledgement, not a connection requirement. goals is an optional client feature.
Troubleshooting
- 401 Unauthorized: check the selected mode's credential source, whitespace, key group/permissions, and actual user directory. Avoid conflicting credential sources.
- 404: use
https://api.voyageage.com/v1; the client appends/responses. Do not duplicate/v1. - 400 / model not found: verify the exact ID, Responses support, and parameters. Discovery alone does not verify inference.
- Missing catalog: check runtime, both discovery settings, native manifest format, and a local catalog override.
- Changes ignored: check top-level placement, duplicate tables,
CODEX_HOME, and launch process, then restart and create a task.
Fix: approval_policy="untrusted" is no longer supported
Some historical Codex Desktop 0.149.0 builds reported:
Codex Exec exited with code 1:
Error: approval_policy="untrusted" is no longer supported; remove this setting
If your actual build reports this, back up the config and remove the rejected legacy setting. A startup configuration error does not establish an API failure. Choose an approval policy supported by that build if needed, for example:
approval_policy = "on-request"
sandbox_mode = "workspace-write"
This is not an equivalent replacement for the old policy. Do not weaken approvals to fix connectivity.
Fix: Codex Desktop 0.149.0 401 Unauthorized after upgrading
This historical anchor remains available. A post-upgrade 401 can reflect environment inheritance or authentication-source changes; the version alone does not identify the cause. Check explicit provider credentials in API Key Mode above, use the canonical /v1 base URL, restart, and verify Console records. Do not start by rotating keys or adding unverified authentication fields.
References: Codex configuration and 0.159 schema. Actual installed-version support takes precedence.
Desktop clients
Cherry Studio
Add an OpenAI-compatible provider, fetch models, and test the connection.
Cherry Studio is a graphical multi-model client. Add VoyageAge as a custom OpenAI provider to fetch models, test the connection, and select a model in chat.
Note: Last reviewed on
2026-07-31. Depending on the version, “Model Services” may be labeled “Providers”.
1. Before you start
- Create a dedicated VoyageAge API key and make sure the account has balance.
- Install the current Cherry Studio.
- Provider type:
OpenAI - API address:
https://api.voyageage.com - Model list:
https://api.voyageage.com/v1/models - Chat endpoint:
https://api.voyageage.com/v1/chat/completions
Enter only the root API address. Cherry Studio appends /v1/chat/completions automatically.
2. Add the provider
- Open Cherry Studio and select the gear icon.
- Open Model Services.
- Select Add below the provider list.
- Name it
VoyageAgeand choose provider type OpenAI.

3. Enter the API values
| Field | Value |
|---|---|
| Provider name | VoyageAge |
| Provider type | OpenAI |
| API key | YOUR_VOYAGEAGE_API_KEY |
| API address | https://api.voyageage.com |
The request preview should resolve to https://api.voyageage.com/v1/chat/completions. Do not paste that full endpoint into the API address field.
4. Fetch and select models
- Select Get model list or Manage.
- Cherry Studio requests
https://api.voyageage.com/v1/models. - Select
+beside each model you want to add. - If fetching fails, use
+to enter a complete Console model ID manually. - Enable the provider switch in the upper-right corner.
Suggested chat models from shared data are gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna. Do not select an embedding-only model for chat.
5. Test and verify
- Select Check beside the API key.
- If it fails, make the last model in the list a known chat model and retry.
- In chat, select the VoyageAge provider and model.
- Send:
Reply only: VoyageAge connected. - Confirm a matching
chat/completionsrequest appears in VoyageAge Console.
Success: The Check button passes, chat replies, and Console records the same model request.
6. Endpoint compatibility
| Endpoint | VoyageAge route | Cherry Studio use |
|---|---|---|
/v1/chat/completions |
Present | Custom OpenAI provider chat |
/v1/responses |
Present | Not used by normal Cherry Studio chat; used by Codex |
/v1/embeddings |
Present | Only with an embeddings-capable model |
A route being present does not mean every model supports it. Follow Console and https://api.voyageage.com/v1/models.
Troubleshooting
- Check fails: Verify provider type OpenAI, API address
https://api.voyageage.com, and a supported chat model. - 401 Unauthorized: Paste the key again without spaces and confirm it is active.
- 403 Forbidden: Check key group, account status, and model permission.
- 404 Endpoint Not Found: Remove duplicate
/v1or/chat/completions; the API address must behttps://api.voyageage.com. - Cannot fetch models: Test
https://api.voyageage.com/v1/modelsin a terminal, then add the model manually if only the client fetch fails. - Model Not Found: Remove IDs copied from old screenshots and fetch the current list.
- Model missing from chat: Add it with
+and enable the provider switch. - Embedding model selected for chat: Remove it and choose a Chat Completions model.
- Reply but no Console usage: Confirm the current conversation is actually using the VoyageAge provider.
Desktop clients
Claude Desktop
Connect Claude Desktop through Gateway.
Claude Desktop can connect to VoyageAge through its Anthropic-compatible Gateway. This guide applies to versions that expose “Configure third-party inference”.
Note: Gateway guidance reviewed on
2026-10-14. The official connection guide still documents this form. Organization-distributed configuration takes precedence and can make it read-only. Check the version and organization policy if it is missing; an update does not guarantee access.
Desktop reads its dedicated third-party inference configuration, not Claude Code CLI's ANTHROPIC_BASE_URL or user settings.json for desktop routing. Do not apply CLI instructions to ordinary chat when this interface is absent. This guide applies only to clients exposing that feature and has not been tested with a real key.
1. Before you start
- Create a dedicated VoyageAge API key and make sure your account has balance.
- Install the current Claude Desktop.
- Gateway base URL:
https://api.voyageage.com - Get model IDs from Console or
https://api.voyageage.com/v1/models.
2. Open third-party inference
- On macOS choose
Help → Troubleshooting → Enable Developer mode. - On Windows enable Developer mode from the current app menu.
- Choose
Developer → Configure third-party inference.

3. Configure Gateway
| Field | Value |
|---|---|
| Connection | Gateway |
| Gateway base URL | https://api.voyageage.com |
| Gateway API key | YOUR_VOYAGEAGE_API_KEY |
| Other settings | Keep existing values |

Do not append /v1/messages. Save, fully quit Claude Desktop, and reopen it.
4. Add models
Under Identity & Models, add exact Anthropic model IDs returned by VoyageAge. Shared examples are claude-opus-5, claude-fable-5, claude-opus-4-8.


Restart the app after changing model entries.
5. Verify
Select the added model, send Reply only: VoyageAge connected, and confirm a matching request appears in VoyageAge Console.
Success: The app replies and Console records the same model request through VoyageAge.
Troubleshooting
- No third-party inference entry: Update Claude Desktop and re-enable Developer mode; the current version/account may not expose it.
- 401 Unauthorized: Paste the key again without spaces and confirm it is active.
- 404 Endpoint Not Found: Use only
https://api.voyageage.comas Gateway base URL. - Model Not Found: Copy an exact current model ID from Console.
- Model missing from picker: Save Identity & Models and fully restart the app.
- Reply but no Console record: Confirm the selected model belongs to the VoyageAge Gateway rather than a built-in provider.
Desktop clients
OpenCode
Add Voyageage as a custom provider.
OpenCode supports Anthropic Messages, OpenAI Responses, or Chat Completions depending on its provider SDK and model configuration. Changing a package name is not a protocol conversion. Reviewed on 2026-10-14 against public documentation and OpenCode v1.19.0 provider/parameter source; no real-key end-to-end tests were performed.
1. Create the user configuration
Install from the official guide and record opencode --version.
| OS | Default user file |
|---|---|
| macOS / Linux | ~/.config/opencode/opencode.json |
| Native Windows | %USERPROFILE%\.config\opencode\opencode.json |
| Windows WSL | The Linux user's ~/.config/opencode/opencode.json |
opencode.jsonc also supports comments. The examples below are strict JSON and work in either file; choose one to avoid conflicting copies. Check overridden XDG paths, OPENCODE_CONFIG, or OPENCODE_CONFIG_DIR if configured.
Make a dated backup. To create a missing directory, use Bash / Zsh mkdir -p ~/.config/opencode or PowerShell New-Item -ItemType Directory -Force "$HOME\.config\opencode", then create the file in an editor. On Windows, save UTF-8 without an extra .txt extension.
User configuration supplies personal defaults. A project-root opencode.json / opencode.jsonc merges with those settings and overrides conflicts. Preserve existing providers, plugins, keybindings, and permissions. See configuration rules and Windows paths.
2. Choose the provider and protocol
| Configuration | Protocol and implications |
|---|---|
Built-in provider.anthropic with @ai-sdk/anthropic |
Anthropic Messages; shares that provider's identity and credentials, so avoid disrupting an existing official setup |
Custom voyageage-anthropic with @ai-sdk/anthropic |
Anthropic Messages; used below to separate VoyageAge credentials |
@ai-sdk/openai |
Supports Responses and Chat; the current SDK defaults to Responses, but OpenCode's provider/model selection also affects the path |
@ai-sdk/openai-compatible |
OpenAI-compatible Chat Completions; not a substitute for Messages or a guarantee of Responses support |
The Anthropic SDK appends /messages to baseURL, so use https://api.voyageage.com/v1, producing https://api.voyageage.com/v1/messages. Claude Code's ANTHROPIC_BASE_URL uses the root instead; do not copy these values interchangeably.
References: OpenCode providers, Anthropic SDK, OpenAI SDK, and OpenAI-compatible SDK.
3. Recommended: save credentials with /connect
- Run
/connectin OpenCode and select Other / custom provider. - Enter
voyageage-anthropicas the provider ID, then your VoyageAge key when prompted. - Merge the next example into your user file. The JSON provider ID must exactly match the connected ID.
- Restart/reload OpenCode and select
voyageage-anthropic/claude-sonnet-5-5in/models. - Use
opencode auth listor the connected status in/connectto check credential registration. A saved credential is not proof the server accepts it.
If you choose built-in Anthropic, consistently use anthropic for the JSON key, model prefix, and credential entry.
Credentials normally live in ~/.local/share/opencode/auth.json, or %USERPROFILE%\.local\share\opencode\auth.json on Windows. /connect keeps secrets out of project configuration; it does not imply OS-keychain encryption. Protect that file and backups without printing their contents.
4. Minimal connection configuration
First confirm your VoyageAge group exposes claude-sonnet-5-5. Otherwise replace both model references with a supported Claude ID. With /connect completed, no complex variants are required:
{
"$schema": "https://opencode.ai/config.json",
"model": "voyageage-anthropic/claude-sonnet-5-5",
"provider": {
"voyageage-anthropic": {
"npm": "@ai-sdk/anthropic",
"name": "VoyageAge Anthropic",
"options": {
"baseURL": "https://api.voyageage.com/v1"
},
"models": {
"claude-sonnet-5-5": {
"name": "Claude Sonnet 5.5"
}
}
}
}
}
Alternatives: inline or environment credentials
These are merge fragments, not replacements for the complete example. Choose one only if not using /connect, avoiding conflicting credential sources. Inline option:
{
"provider": {
"voyageage-anthropic": {
"options": {
"baseURL": "https://api.voyageage.com/v1",
"apiKey": "YOUR_VOYAGEAGE_API_KEY"
}
}
}
}
Or reference the launching process's environment:
{
"provider": {
"voyageage-anthropic": {
"options": {
"baseURL": "https://api.voyageage.com/v1",
"apiKey": "{env:VOYAGEAGE_API_KEY}"
}
}
}
}
Set it with Bash / Zsh export VOYAGEAGE_API_KEY="YOUR_VOYAGEAGE_API_KEY", PowerShell $env:VOYAGEAGE_API_KEY="YOUR_VOYAGEAGE_API_KEY", or CMD set "VOYAGEAGE_API_KEY=YOUR_VOYAGEAGE_API_KEY". GUI processes may not inherit terminal variables, so prefer /connect.
Real keys in files, shell history, or backups can leak. Never commit them to GitHub or include them in shared project settings or screenshots.
5. Optional advanced configuration: thinking and multimodal input
Anthropic's model overview lists claude-opus-5-5, claude-sonnet-5-5, a 1M context window, and 128K maximum output. These are supplier specifications, not verification of your VoyageAge key, route, or client. Use this complete configuration only after confirming those capabilities; it still reads the key from /connect:
{
"$schema": "https://opencode.ai/config.json",
"model": "voyageage-anthropic/claude-sonnet-5-5",
"provider": {
"voyageage-anthropic": {
"npm": "@ai-sdk/anthropic",
"name": "VoyageAge Anthropic",
"options": {
"baseURL": "https://api.voyageage.com/v1"
},
"models": {
"claude-opus-5-5": {
"name": "Claude Opus 5.5",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"options": {
"thinking": {
"type": "adaptive"
},
"effort": "medium"
},
"variants": {
"low": {
"effort": "low"
},
"medium": {
"effort": "medium"
},
"high": {
"effort": "high"
},
"xhigh": {
"effort": "xhigh"
},
"max": {
"effort": "max"
}
}
},
"claude-sonnet-5-5": {
"name": "Claude Sonnet 5.5",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"options": {
"thinking": {
"type": "adaptive"
},
"effort": "high"
},
"variants": {
"low": {
"effort": "low"
},
"medium": {
"effort": "medium"
},
"high": {
"effort": "high"
},
"xhigh": {
"effort": "xhigh"
},
"max": {
"effort": "max"
}
}
}
}
}
}
}
thinking.type = "adaptive"selects a thinking mode;effortsteers effort across reasoning, answers, and tools rather than setting an exact token budget. OpenCode options/variants reachoutput_config.effortthrough the Anthropic SDK. Do not copy them into an OpenAI SDK configuration.- The current official effort table lists low, medium, high, xhigh, and max for these two 5.5 models. This does not apply to every Claude model; Sonnet 4.6, for example, is not in the xhigh list.
- Neither Opus 5.5 nor Sonnet 5.5 can simply have thinking disabled. Use each model's supported modes. For ordinary coding, start with its default effort: medium for Opus, high for Sonnet, then evaluate latency and cost.
- Select a model, then switch variants using the client's shortcut shown in
/help/ keybindings. Variants are optional presets, not connection requirements. limitdescribes model ceilings and affects client context management. It neither grants quota nor limits your bill. Do not copy 1M/128K values to differently specified models.- image / pdf declare input capabilities. File handling and size must also be supported by the client and gateway. Separately test a small non-sensitive image or single-page PDF before relying on them; the minimal text setup is sufficient until then.
- Older OpenCode or bundled SDK releases may not understand new IDs or parameters. Verify the installed version; server availability alone does not establish client support. Do not automatically test maximum-output or long-context workloads.
6. Verify
Choose the matching provider/model through /models, send a short text request, and match the time, key, and model in VoyageAge Console. In a disposable project, separately test read-only tools, an edit, and tool-result continuation. If needed, then test the selected variant and multimodal input.
Credential registration, model selection, text success, and tool success are separate checks. This update verifies source and configuration only, not live API access, tools, or a 1M-token workload.
7. Troubleshooting
- 401: match the
/connectID and JSON provider ID, and check for oldoptions.apiKeyor environment overrides. - 404: Anthropic SDK baseURL ends in
/v1; it is neither the root nor the full/v1/messagesURL. - 400 / adaptive / effort: check exact model, SDK, route, and parameters. Return to the minimal configuration before forcing max/xhigh on other models.
- Missing model: check syntax, loaded user/project files, provider ID, the models object, and
/models; restart if necessary. - Image/PDF or tools fail: text success does not prove these capabilities. Keep a sanitized error, Request ID, and client version.
- Restore: restore a backup or remove only this provider/model selection. Use
opencode auth logoutto select its credential for removal rather than deleting the entire auth file.
Version references: OpenCode v1.19.0 provider and parameter conversion. Development and later releases may change configuration mechanisms; check your actual version if they differ.
Desktop clients
WorkBuddy
Connect GPT and Claude as custom models; verify protocols and tools.
Add a VoyageAge model in WorkBuddy, save it, then select GPT or Claude to start chatting.
Last reviewed:
2026-10-14. This guide covers WorkBuddy desktop, not CodeBuddy IDE / CLI. The screenshots show Chinese interfaces from different operating systems or versions. Button labels and locations may vary with your language and version; use the configuration values in this guide.
1. Before connecting
Need a VoyageAge API key?
Register, create a key and prepare your balance first, then return to this guide.
Install WorkBuddy and have the model ID you want to use ready.
2. Use OpenAI models through VoyageAge
Step 1: Open WorkBuddy Settings
Open WorkBuddy, click your avatar in the bottom-left corner, then choose Settings (设置).

Step 2: Select Models
In the left sidebar of Settings, click Models (模型).

Step 3: Add a custom model
Click Add Model (添加模型), then choose Custom (自定义) in the provider list. Some versions call it OpenAI Compatible. Select Custom rather than the third-party preset shown in the screenshot.

Step 4: Enter your model details
Find the three highlighted fields: API URL, API Key and Model Name.

API URL (接口地址): copy this address and replace the example shown in the field.
https://api.voyageage.com/v1
API Key: open API Keys in the VoyageAge Console. Find a key in the OpenAI group, click the copy icon on that row, then paste it into WorkBuddy's API Key field.

Use an OpenAI group key for GPT, rather than an Anthropic group key. If you need a key, use the Get Your VoyageAge API Key button above for the full walkthrough. Store your key securely and do not share it publicly.
Model Name (模型名称): enter the model ID you want to use. You can copy either example below.
gpt-6-astra
gpt-6.1-sol
These are configuration examples. Check VoyageAge's current model list and your key's permissions before using them. The model must support the Chat Completions interface used by WorkBuddy.
Keep Advanced settings simple for your first connection:
- Custom Protocol: Off.
- Tool Calling: leave it on if enabled by default and supported by the model.
- Image Input and Reasoning: leave these off for now.
- Context Window / input capacity and Max Output Tokens / output capacity: keep the defaults.
Step 5: Save and test
- Click Save and return to the main WorkBuddy window.
- Open the model picker below the message box and select your new GPT model.
- Send a simple message, such as “Hello, please briefly introduce yourself.”
If your version has a Test Connection button, you can use it first. Otherwise, save and send a message to test.
Full configuration example: replace the API key placeholder and choose a model ID your key can access.
Provider: Custom / OpenAI Compatible
Base URL: https://api.voyageage.com/v1
API Key: YOUR_VOYAGEAGE_OPENAI_API_KEY
Model ID: gpt-6-astra
Custom Protocol: Off
3. Use Claude models through VoyageAge
Add Claude the same way as GPT. Only the API key and model name change. Use the screenshots above to locate the settings and fields.
- Open Settings → Models in WorkBuddy.
- Click Add Model and choose Custom.
- Keep API URL set to
https://api.voyageage.com/v1. - For API Key, copy the key from an Anthropic group row in the VoyageAge Console and paste it into WorkBuddy.
- Enter your Claude model ID in Model Name. Keep Custom Protocol Off and leave other settings at their defaults.
- Click Save, select the new Claude model in the main window, and send a test message.

In this screenshot, OpenAI groups are for GPT; Anthropic groups are for Claude. Choose a key with permission for your target model. Models within the same group can share a key with the required permissions; you do not need a new key for every model.
Example Claude model IDs (check current availability and key permissions):
claude-opus-5-5
claude-sonnet-5-5
Full configuration example: replace the API key placeholder and confirm the model ID is available before saving.
Provider: Custom / OpenAI Compatible
Base URL: https://api.voyageage.com/v1
API Key: YOUR_VOYAGEAGE_ANTHROPIC_API_KEY
Model ID: claude-sonnet-5-5
Custom Protocol: Off
Even for Claude, select Custom / OpenAI Compatible in WorkBuddy and connect to VoyageAge with the settings above. No Claude Code configuration files or environment variables are needed.
4. Verify the connection
- Select your newly added model in WorkBuddy's model picker, rather than Auto or a built-in model.
- Send “Hello, please briefly introduce yourself.” and check that you receive a reply.
- Open Usage in the VoyageAge Console and look for a successful request matching the time, key and model. Compare the Request ID too, if available.
Optional checks: ask a follow-up about your previous message to test conversation history. To test tasks, use a folder containing only test files and ask the model to list files, read one and summarize it. Check actual tool results. A chat reply alone does not confirm that tools work.
These checks incur API usage charged to your VoyageAge balance. This documentation update did not run real client requests or inspect real account records.
5. Advanced settings and local storage
You do not need to edit models.json for your first connection. Save and edit models in WorkBuddy's settings.
Once basic chat works, adjust advanced options only as needed. Change one at a time and test:
- Tool Calling: enable only if the model supports it, then check actual results from a file task.
- Image Input: requires a model that supports images; leave it off for the initial connection.
- Reasoning: enable only for supported models; restore defaults if requests fail.
- Context Window / input capacity and Max Output Tokens / output capacity: keep defaults unless you need to change them within model and route limits. Max mode's context compression is a separate setting.
Optional: backup and recovery
The official docs mention workbuddy/models.json; some versions show ~/.workbuddy/models.json and support the legacy ~/.codebuddy/models.json. Check your current settings for the actual location and format. You do not need to create a file for this guide.
Before backing up, confirm the location shown in Settings and exit WorkBuddy. Restore from your own backup, keeping other models and existing providers. Restart and select the model again to verify it.
Configuration and backups may contain API keys. Protect file access and keep them out of GitHub and public chats. Local storage does not mean keys are encrypted.
6. Troubleshooting
- 401 Unauthorized: check that the key is valid, not revoked and has no extra spaces. Use an OpenAI group key for GPT or an Anthropic group key for Claude, with permission for the target model.
- 404 Endpoint Not Found: set Base URL to
https://api.voyageage.com/v1, keep Custom Protocol Off and do not append paths. - 400 Invalid Request: restore defaults and disable any image or reasoning options you enabled. Check model support for the requested feature and your WorkBuddy version.
- Model Not Found: copy the exact ID from the current model list and check key group permissions. For example, use
gpt-6.1-sol. - Chat works but tasks fail: check tool support, WorkBuddy's file permissions and actual tool execution records.
- New model missing or settings not taking effect: confirm you saved, reopen the picker and, if needed, restart WorkBuddy. Start a new task and select the model you added.
- No VoyageAge usage record: confirm you selected your custom model, then check the address, key, account, time filters and whether the message was sent successfully.
Remove API keys, Authorization headers and other credentials from diagnostics and screenshots before sharing.
Sources: WorkBuddy model documentation (English) and Chinese documentation. Follow the actual button labels and fields if the interface changes.
Command-line tools
Codex CLI
Configure separate Responses providers for OpenAI and Anthropic groups.
Codex CLI is a terminal coding agent. Choose between OpenAI models and Claude models in a VoyageAge Anthropic group. This is a Codex custom-provider setup, not Claude Code configuration or a requirement to reuse the Desktop authentication files.
Recommended — Prefer a GUI?
Configure VoyageAge with CC Switch instead of editing
config.tomlmanually. The manual setup below remains available.
Reviewed on 2026-10-14. Fast path: Codex custom API provider guide.
1. Install and find your config
Follow the official Codex CLI installation guide. With Node.js/npm installed:
npm install -g @openai/codex
codex --version
The same npm commands work in Windows PowerShell / CMD. Native Windows and WSL have separate user directories and environments.
| OS | User configuration |
|---|---|
| Windows | %USERPROFILE%\.codex\config.toml |
| macOS / Linux | ~/.codex/config.toml |
Use your actual CODEX_HOME if overridden. Create a missing directory with PowerShell New-Item -ItemType Directory -Force "$HOME\.codex" or Bash / Zsh mkdir -p ~/.codex, then create the file in an editor. Make a dated backup first and preserve MCP, permissions, and other providers.
Choose one complete configuration below. Put top-level keys before tables and merge duplicate keys/tables in place. To retain multiple providers, switch the top-level selection and matching model; do not paste both sets of top-level keys.
2. OpenAI models
Set the key in the terminal that will launch Codex.
macOS / Linux (Bash / Zsh)
export VOYAGEAGE_API_KEY="YOUR_VOYAGEAGE_API_KEY"
Windows PowerShell
$env:VOYAGEAGE_API_KEY="YOUR_VOYAGEAGE_API_KEY"
Windows CMD
set "VOYAGEAGE_API_KEY=YOUR_VOYAGEAGE_API_KEY"
Merge into your user-level TOML:
model_provider = "voyageage"
model = "gpt-5.5"
review_model = "gpt-5.5"
[model_providers.voyageage]
name = "VoyageAge OpenAI"
base_url = "https://api.voyageage.com/v1"
model_catalog_url = "https://api.voyageage.com/v1/models"
env_key = "VOYAGEAGE_API_KEY"
wire_api = "responses"
requires_openai_auth = false
[features]
api_key_model_discovery = true
3. Claude models (Anthropic group)
Confirm your VoyageAge key's group permits Claude and actually exposes claude-sonnet-4-6. Discovery does not establish complete Codex task compatibility.
macOS / Linux (Bash / Zsh)
export SUB2API_API_KEY="YOUR_VOYAGEAGE_API_KEY"
Windows PowerShell
$env:SUB2API_API_KEY="YOUR_VOYAGEAGE_API_KEY"
Windows CMD
set "SUB2API_API_KEY=YOUR_VOYAGEAGE_API_KEY"
model_provider = "sub2api"
model = "claude-sonnet-4-6"
review_model = "claude-sonnet-4-6"
[model_providers.sub2api]
name = "VoyageAge Anthropic"
base_url = "https://api.voyageage.com/v1"
model_catalog_url = "https://api.voyageage.com/v1/models"
env_key = "SUB2API_API_KEY"
wire_api = "responses"
requires_openai_auth = false
supports_websockets = false
[features]
api_key_model_discovery = true
sub2apiis a custom provider ID matching the table, not an SDK to install.env_keyreads the credential from the environment.requires_openai_auth = falseavoids requiring OpenAI login; VoyageAge still authenticates the Bearer key.wire_api = "responses"means Codex sends OpenAI Responses format. Anthropic's native API does not accept that format.supports_websockets = falseremoves this provider's WebSocket capability declaration and selects the HTTP Responses path for this recipe. It does not disable streaming SSE.- This repository's Sub2API has Anthropic-group Responses → Messages conversion, response conversion, and tool mappings. Their existence does not verify every deployed channel or Codex-specific tool.
- The supplied model ID is retained, but
disable_response_storageis omitted because the checked current schema does not confirm it. It is not a data-retention guarantee.
4. Catalogs and credential lifetime
See the Desktop catalog section for runtime requirements, native models format, api_key_model_discovery, and the model_catalog_json fallback. The 0.159 schema was checked; review older client support before use. An ordinary API data list does not establish that Codex loaded its catalog.
Temporary variables belong to the terminal and its child processes and disappear when it closes. For persistence, use your secret manager or protected user environment configuration. Keep keys out of project files, committed shell examples, and screenshots. This recipe needs no extra auth.json. Inline shell assignments can also remain in terminal history.
5. Verify text, tools, and tasks separately
Run codex in the same terminal and start a task in a disposable folder:
- Inspect the model with
/modeland send a short text request. - Match the time, key, model, and Responses record in VoyageAge Console.
- Ask Codex to list files without edits. Confirm the tool runs and the agent uses its result.
- Separately test a small disposable-file edit, a test command, and a multi-turn tool-result exchange.
HTTP 200 or chat success does not verify function/custom tools, patches, images, compaction, web search, or long tasks. For unsupported-tool/schema errors, retain the sanitized error, runtime version, and Request ID; use supported tools or a compatible client. Do not remove permission controls blindly. No real API or client tool end-to-end tests were run for this update.
6. Troubleshoot and restore
- 401: check the selected provider's exact
env_keyand key permissions without printing the secret. - 404: use
https://api.voyageage.com/v1without appending/responses. - 400 / thinking / tool errors: check model, runtime, and conversion support. Remove extra reasoning options before a disposable-task retry.
- Missing model: check the key group and native catalog. A manually entered ID cannot bypass server permissions.
- Restore: merge back the original provider/model, clear this setup's variables, and restart the CLI.
Bash / Zsh: unset VOYAGEAGE_API_KEY SUB2API_API_KEY. PowerShell: Remove-Item Env:VOYAGEAGE_API_KEY, Env:SUB2API_API_KEY -ErrorAction SilentlyContinue. CMD: run set "VOYAGEAGE_API_KEY=" and set "SUB2API_API_KEY=" separately. These affect only the current terminal; remove persistent values at their original source too.
References: Codex configuration and Sub2API Responses handler. Deployed group capabilities await dedicated-key verification.
Command-line tools
Claude Code CLI
Connect with temporary variables or user-level settings.json.
Claude Code is a terminal coding agent using VoyageAge's Anthropic Messages-compatible gateway. Choose temporary environment variables or user-level settings.json. Reviewed on 2026-10-14.
Recommended — Prefer a GUI?
Configure VoyageAge with CC Switch if you prefer not to manage environment variables manually. The manual setup below remains available.
Fast path: Claude Code custom API endpoint guide. Claude Desktop third-party inference has a separate setup; CLI variables are not configuration for ordinary desktop chat.
1. Installation and prerequisites
Use the official installation guide, then check claude --version and claude doctor. The macOS / Linux commands below use Bash / Zsh. Native Windows installations must meet the official runtime requirements, including Git for Windows as applicable; WSL is another option with its own files and environment.
Prepare a dedicated VoyageAge key, balance, and an exact Claude model ID supported by that key's group. claude-sonnet-4-6 is an example, not a guarantee of platform access.
2. Method A: temporary environment variables
Choose your shell and launch Claude in the same window. Closing it clears temporary variables; an already-running process does not reload them. First check and back up conflicting ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, apiKeyHelper, or other cloud-provider switches at their original sources.
macOS / Linux (Bash / Zsh)
export ANTHROPIC_BASE_URL="https://api.voyageage.com"
export ANTHROPIC_AUTH_TOKEN="YOUR_VOYAGEAGE_API_KEY"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
claude --model "claude-sonnet-4-6"
Windows CMD
set "ANTHROPIC_BASE_URL=https://api.voyageage.com"
set "ANTHROPIC_AUTH_TOKEN=YOUR_VOYAGEAGE_API_KEY"
set "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1"
claude --model "claude-sonnet-4-6"
CMD's outer quotes in set "NAME=value" prevent accidental trailing spaces and are not part of the value.
Windows PowerShell
$env:ANTHROPIC_BASE_URL="https://api.voyageage.com"
$env:ANTHROPIC_AUTH_TOKEN="YOUR_VOYAGEAGE_API_KEY"
$env:CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="1"
claude --model "claude-sonnet-4-6"
What the variables do
| Variable | Meaning |
|---|---|
ANTHROPIC_BASE_URL |
Gateway root; Claude appends /v1/messages, so omit /v1 here |
ANTHROPIC_AUTH_TOKEN |
Sends Authorization: Bearer …; this guide supplies a VoyageAge key |
ANTHROPIC_API_KEY |
Alternative supported source sending x-api-key; do not set it alongside this Token recipe |
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC |
Optional background-traffic restriction, not required to connect |
The official environment reference lists auto-updates, telemetry, error reporting, feedback, release notes, and some status/availability checks among the disabled traffic. Current versions also affect remote features and background plugin commands. This is not a universal “no networking” or “zero telemetry” guarantee: inference, tools, and configured external services can still connect. Maintain client updates yourself if you enable it.
With the Gateway address and its credential active, requests are billed through VoyageAge, not your personal Claude subscription allowance. Changing only the URL does not replace a saved official credential or establish a billing change. See the official gateway guide.
3. Method B: user-level settings.json
This file applies across projects for the current OS user:
- macOS / Linux:
~/.claude/settings.json - Windows:
%USERPROFILE%\.claude\settings.json
Copy an existing file to a dated backup first. If missing, create the directory and save a UTF-8 JSON file in your editor. Start with {} only for a new file; never overwrite existing settings.
macOS / Linux
mkdir -p ~/.claude
nano ~/.claude/settings.json
Windows CMD
if not exist "%USERPROFILE%\.claude" mkdir "%USERPROFILE%\.claude"
notepad "%USERPROFILE%\.claude\settings.json"
Windows PowerShell
New-Item -ItemType Directory -Force -Path "$HOME\.claude" | Out-Null
notepad "$HOME\.claude\settings.json"
Merge these entries into env. Retain other environment entries, permissions, hooks, and unrelated settings. Preserve existing MCP configuration and any mcpServers in other files; do not move or overwrite it. This example does not configure MCP.
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"env": {
"ANTHROPIC_BASE_URL": "https://api.voyageage.com",
"ANTHROPIC_AUTH_TOKEN": "YOUR_VOYAGEAGE_API_KEY",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}
JSON disallows comments, trailing commas, and duplicate keys. $schema helps your editor and is not sent to VoyageAge. These values persist across restarts; avoid maintaining a different key in the terminal.
Project .claude/settings.json is shareable; .claude/settings.local.json is for local project settings. These, user settings, and managed policies merge according to the official precedence rules and can change effective values. Never commit real keys to GitHub; a filename containing “local” is not a substitute for checking Git ignores. User files and backups also contain plaintext secrets: restrict access and public syncing.
4. Verify loading and routing
- Restart Claude Code. For persistent setup, use a fresh terminal to verify that it does not depend on the previous window.
- Use
/statusto inspect the model and loaded configuration sources. Do not share credential-bearing diagnostic output. - Select an exact supported ID with
/modelorclaude --model "claude-sonnet-4-6". Official aliases can resolve to models your group does not expose. - Send a short prompt and match its time, key, model, and usage in VoyageAge Console.
- In a disposable directory, test a read-only file task, then separately test a small edit and tool-result exchange.
Track syntax, client startup, model selection, API response, and tool use separately. A list entry, login status, or HTTP success does not establish all of them. Real requests incur charges and were not run for this update.
5. Troubleshooting
- 401 / 403: check the effective key, permissions, group, official credentials, and
apiKeyHelper. A local Claude login does not prove gateway authentication. - 404: use
https://api.voyageage.comwithout/v1or the full Messages path. - 400 / thinking / adaptive / effort: check exact model, client version, and route parameters. Remove custom reasoning overrides first. Do not force adaptive, max, or xhigh on every model, or disable thinking on a model that requires it.
- Unsupported beta / tool: compare gateway requirements, including Messages, token counting, streaming, and headers. Chat success does not establish all feature pass-through.
- Official route or wrong model: inspect
/status, project overrides, other provider variables, and Console records. - Missing updates / remote features: check whether the optional nonessential-traffic switch disabled them.
Retain a sanitized error code, Request ID, timestamp, model, and client version for support. Never include the key.
6. Restore official configuration
Back up your current file, then remove only these three additions from user env or restore their previous values. Keep permissions, hooks, and unrelated entries. Also undo matching settings in shell profiles, project files, and persistent user variables.
macOS / Linux
unset ANTHROPIC_BASE_URL ANTHROPIC_AUTH_TOKEN CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC
Windows CMD
set "ANTHROPIC_BASE_URL="
set "ANTHROPIC_AUTH_TOKEN="
set "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="
Windows PowerShell
Remove-Item Env:ANTHROPIC_BASE_URL, Env:ANTHROPIC_AUTH_TOKEN, Env:CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC -ErrorAction SilentlyContinue
These commands affect only the current terminal. If you changed ANTHROPIC_API_KEY or apiKeyHelper for the gateway, restore them at their source too. Restart, select official authentication with /login or restore your official API credentials, and check /status. Do not delete all settings or the entire Claude user directory.
References: Settings and Gateway connection. Organization policies can take precedence over user settings.
IDE extensions
VS Code + Cline
Set up Cline with OpenAI Compatible.
Cline is a coding agent for VS Code. Select OpenAI Compatible, then enter the VoyageAge address, API key, and model ID.
Note: Last reviewed on
2026-07-31. The settings entry can move between Cline versions, but the provider fields remain the same.
1. Before you start
- Create a dedicated VoyageAge API key and make sure your account has balance.
- Install VS Code.
- Install the Cline extension published by saoudrizwan.
- API address:
https://api.voyageage.com - Get model IDs from
https://api.voyageage.com/v1/models.
2. Open Cline API settings
- Open Extensions with
Command + Shift + Xon macOS orCtrl + Shift + Xon Windows/Linux. - Install Cline and open its sidebar.
- Choose Bring my own API key during onboarding.
- Open the settings icon and API Configuration.


3. Enter VoyageAge values
| Field | Value |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://api.voyageage.com |
| OpenAI Compatible API Key | YOUR_VOYAGEAGE_API_KEY |
| Model ID | gpt-5.6-sol or an exact Console ID |
| Custom Headers | Leave empty |
Do not enable Azure API version or Azure Identity Authentication. Save and reopen the Cline panel.
4. Configure and verify the model
Cline accepts a manually entered model ID. Shared OpenAI examples are gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, but use https://api.voyageage.com/v1/models for the current list.
Do not choose an embedding-only model for chat. For Anthropic-specific Claude behavior, prefer Claude Code.
Ask Cline to Read the project name without changing files, then confirm a matching chat/completions request in VoyageAge Console.
Success: Cline replies and Console records the same model request, confirming it did not call the official OpenAI endpoint.
Troubleshooting
- 401 Unauthorized: Paste the key again without spaces.
- 404 Endpoint Not Found: Confirm OpenAI Compatible and Base URL
https://api.voyageage.com; do not paste a full endpoint. - Empty model list: Enter a model ID manually after checking
https://api.voyageage.com/v1/models. - Model Not Found: Replace the ID with one returned for the current key.
- Still using OpenAI: Reopen API Configuration and confirm the active conversation uses the custom provider.
- Changes do not apply: Reload the VS Code window or reopen Cline.
- No Console record: Check the provider selected in the current conversation and the Console time range.