gateway inference provider.
Model scope
When you use the AIOHub API with Claude Cowork 3P, model access is not limited to Anthropic or Claude models. If the model is visible to the group assigned to your API key and AIOHub currently supports it through the Claude Messages-compatible gateway, you can also choose OpenAI, open-source, and other models. If your API key includes theauto group, the Cowork 3P model selector can show multiple model families in the user interface. The actual list still depends on the models visible to the current API key; check the console or /v1/models first when you need an exact model ID.
Prerequisites
- Claude Desktop with Cowork 3P support installed
- An AIOHub API key
- A group assigned to the API key that can access Claude-compatible models
- A positive account balance
Minimum settings
To configure AIOHub, you only need two fields:| Field | Value |
|---|---|
| Gateway base URL | https://api.aiohub.org |
| Gateway API key | sk-your-api-key |
Set
inferenceGatewayBaseUrl to the gateway root. Do not add /v1. Cowork 3P calls POST /v1/messages itself; if the base URL is https://api.aiohub.org/v1, the client may call the wrong path.Gateway auth scheme and Model list at their defaults. If your API key includes the auto group, the model selector can show the models visible to the current API key.
Configure model web access
If you want models in Claude Cowork 3P to access the internet, configure Allowed egress hosts. The managed configuration key iscoworkEgressAllowedHosts; it controls which hosts the Cowork sandbox can reach for web fetch, shell commands, and package installs.
Common configurations:
| Goal | coworkEgressAllowedHosts |
|---|---|
| Allow all URLs | ["*"] |
| Allow only selected hosts | ["docs.aiohub.org", "api.github.com"] |
| Allow a domain and its subdomains | ["*.example.com"] |
coworkEgressAllowedHosts controls external website access from tools inside the Cowork sandbox. It is not the AIOHub inference gateway Base URL. The configured inference endpoint is allowed implicitly.Use the in-app configuration flow
Open third-party inference configuration
Open Claude Desktop, then go to Developer -> Configure third-party inference.
Choose Gateway
Select Gateway as the inference provider. Use this mode for gateways that implement the Anthropic Messages API.
Enter AIOHub settings
Fill in only these two fields:
Keep
| Field | Value |
|---|---|
| Gateway base URL | https://api.aiohub.org |
| Gateway API key | sk-your-api-key |
Gateway auth scheme and Model list at their defaults. If your API key uses the auto group, the model selector can show multiple models visible to the current API key.If you want the model to access external websites, configure Allowed egress hosts. To allow any URL, set it to *. To allow only specific websites, list hostnames such as docs.aiohub.org or *.example.com.Export configuration
Export a macOS
.mobileconfig profile or Windows .reg policy from the wizard. For single-machine testing, you can also use the local user configuration file.Local user configuration example
If you are not deploying configuration through MDM, addenterpriseConfig to the local user config. This is useful for personal testing, not for distributing real API keys across a team.
- macOS
- Windows
Config file location:Minimum example:To allow model web access to all URLs, add:
Verify the gateway
First verify that the AIOHub API key and model work:Troubleshooting
Claude Desktop still opens the normal Claude login
Claude Desktop still opens the normal Claude login
Confirm
inferenceProvider is set to gateway, and that inferenceGatewayBaseUrl and inferenceGatewayApiKey are both present. Cowork 3P activates only when the provider and required credentials are valid.Connection or path errors
Connection or path errors
Confirm the Gateway base URL is
https://api.aiohub.org, without /v1. Cowork 3P appends /v1/messages itself.Model list is empty
Model list is empty
AIOHub supports
/v1/models, but visible models still depend on the group assigned to the API key. Usually keep Model list at its default. Only set inferenceModels explicitly, for example claude-sonnet-4-20250514, if the client does not show models correctly.Authentication fails
Authentication fails
Usually keep Gateway auth scheme at its default. If your Claude Desktop build does not infer the
sk- API key header correctly, set it explicitly to auto, or try x-api-key.There is no Chat tab
There is no Chat tab
This is expected in Cowork 3P. The third-party inference mode is centered on the Cowork and Code tabs, and is not the same as standard Claude Chat.
The model cannot access a website
The model cannot access a website
Check whether Allowed egress hosts includes the target hostname. To allow all URLs, set it to
*; in JSON configuration, use "coworkEgressAllowedHosts": ["*"].