[DOCS] Unclear how to configure LLM gateway on Claude Desktop for Linux

Open 💬 1 comment Opened Jul 2, 2026 by superm1

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/desktop-linux

Section/Topic

3P LLM Gateway

Current Documentation

The LLM gateway page talks about how to set up Windows and Mac, but not Linux.

https://claude.com/docs/third-party/claude-desktop/configuration

What's Wrong or Missing?

The path used for Linux should be documented. The keys that are supported should be documented.

Suggested Improvement

Add the file path used for Linux and explain schema of values that go into it.

Impact

High - Prevents users from using a feature

Additional Context

I experimented with trying to put keys in ~/.config/Claude/config.json but the schema kept getting rejected and my keys erased. So then I tried ~/.config/claude_desktop_config.json but the keys don't seem to be effective.

This is the format I tried to add:

  "deploymentMode": "3p",
  "enterpriseConfig": {
    "inferenceProvider": "gateway",
    "inferenceGatewayBaseUrl": "<redacted>",
    "inferenceGatewayHeaders": "<redacted>",
    "inferenceGatewayApiKey": "<redacted>"
  }

For reference these same values when in ~/.claude/settings.json work in the CLI.

  "env": {
    "ANTHROPIC_API_KEY": "dummy",
    "ANTHROPIC_BASE_URL": "<redacted>",
    "ANTHROPIC_CUSTOM_HEADERS": "<redacted>",

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗