Claude Desktop with a local model
14 min read
Use Claude Desktop with a local model, a model on another machine or Gemini. What Anthropic documents today, the Aventail™ Connect steps and how to check it.
Claude Desktop can use a local model, but the standard app has no setting for it. Something on your computer has to stand between Claude Desktop and the model: Aventail™ Link, Ollama, or a gateway you run.
Anthropic documents a mode called Claude Desktop on third-party (3P) that sends Chat, Cowork and Code to a provider you configure, including any gateway that implements the Anthropic Messages API. Its documentation covers Claude models only. With Aventail™ Connect you serve a model in Aventail™ Link, choose Connect next to Claude and reopen Claude Desktop. The same connection can reach a model on another machine or an approved provider such as Gemini when your routing allows it.
The routes, as of 15 November 2026:
Route | Documented by | Local model | Model on another machine | Gemini or another provider | Platforms |
|---|---|---|---|---|---|
Standard Claude Desktop | Anthropic | No. Inference goes to Anthropic's API | No | No | macOS, Windows, Linux (beta) |
Claude Desktop on 3P | Anthropic | Not covered. The gateway page is written for Claude models | The gateway address can be any host you operate | Not covered. The listed providers serve Claude models | macOS 14 or later and Windows 10 build 19041 or later for Cowork |
Aventail™ Connect | Aventail™ | Yes. Link serves the model on the same computer | Yes, as a backup destination on the same network and account (beta) | Yes, through a provider connection on your own account (beta) | Link packages: Apple Silicon macOS, Windows x64, Linux x64 |
Ollama's Claude Desktop integration | Ollama | Yes | Not covered | Ollama's own cloud models | macOS. Ollama says Windows support is coming soon |
What Anthropic documents today
This is what Anthropic's own pages say about third-party and local models in Claude Desktop and Cowork, read on 15 November 2026.
There is a supported way to change where inference goes. Claude Desktop on third-party (3P) is "a deployment mode of Claude Desktop that routes all model inference through a provider you configure: Google Cloud's Agent Platform, Amazon Bedrock, Microsoft Foundry, any compatible gateway you operate, or the Anthropic API directly." It includes Chat, Cowork and Code. Conversation history is stored on the user's device. Anthropic designed it for organisations that cannot send data through Anthropic's first-party products.
A gateway has to speak Anthropic's API. The gateway must implement the Messages API: POST /v1/messages with streaming and tool use is required, and GET /v1/models is optional. Without the models endpoint, the administrator lists the models by hand. Anthropic also asks gateways to preserve prompt caching.
One machine can be configured in the app. Anthropic's single-machine steps are: install Claude Desktop, launch it without signing in, go to Help, Troubleshooting, Enable Developer Mode, then Developer, Configure Third-Party Inference. Enter the provider, endpoint and credential, choose Apply Changes, then Save & Restart. To return to standard Claude Desktop, choose the Anthropic sign-in option on the sign-in screen. Fleets get the same configuration through MDM, a bootstrap server or Anthropic's Enterprise Admin Console.
The documentation is about Claude models. The gateway page is titled for using "Claude models on a self-hosted gateway". For a model ID the app does not recognise, sessions assume a 200K-token context window and the picker shows no Effort control unless the entry is mapped to a Claude model. For Claude Code, which is the engine behind the Code tab, Anthropic states that it "doesn't support routing Claude Code to non-Claude models through any gateway". Anthropic's Claude Desktop pages do not describe local or open-weight models.
Some features do not exist in 3P mode. Anthropic lists mobile and claude.ai web access, sessions in Anthropic's cloud, sharing between users, voice mode, Claude Security and Claude Tag as unavailable. Crash reports and product analytics go to Anthropic by default, contain no prompt or response content, and can be disabled. Pricing is consumption billed by the provider, with no seat licensing.
So Anthropic documents how to point Claude Desktop at another endpoint. It does not document or support a non-Claude model behind that endpoint. That part rests on the tool that sits in between.
Claude Desktop with a local model through Aventail™ Connect
Aventail™ Connect configures supported apps to send their model requests through Aventail™ Link, the inference engine and gateway that runs on your computer. For Claude Desktop it covers Chat and Cowork.
Before you start
An Aventail™ account and a registered Link device. Install Aventail™ Link and connect it to Control using the quick start. Link packages are published for Apple Silicon macOS, Linux x64 and Windows x64. Check compatibility and versions for your machine.
Claude Desktop installed on the same computer, from Anthropic's download page.
A compatible model that fits your hardware. Link's model library lists the models your device can run.
Link downloads: Windows, 64-bit (x64), .exe, Mac, Apple silicon (arm64), .pkg, Linux, 64-bit (x64), .AppImage.
1. Download a model
In Link, open Models and choose a model from the library. Download it and wait for the download to finish. The walkthrough on the live site uses Gemma4. Your model can differ.
2. Start the model
Select the model and choose Start serving. When the status shows Ready to serve, connected apps can use it. The model is ready to serve and loads on its first request.
3. Set the context length
Open Serving settings for the model. Context length controls how much text the model can work with at once. Link's Auto setting picks a length that fits this device's memory. You can use the slider to adjust it for your workload.
Longer context uses more memory. Check Estimated memory as you adjust it, particularly for longer conversations, documents or code. The live walkthrough shows a 64K-token configuration. The right value depends on your model and available memory.
4. Connect Claude Desktop
Close Claude Desktop first. In Aventail™ Link, open the Connected apps tab and choose Connect next to Claude. If Claude is running, Link asks you to quit it before the change takes effect. Wait for Connected, then reopen Claude Desktop.
"A change is waiting" means Claude has not switched yet. Fully quit Claude Desktop from its menu or tray, because closing a window may only hide it. Link does not quit or restart another app for you. When the change has applied, the Claude row shows Connected, the model name and a Disconnect button.
5. Open Claude and try it
Reopen Claude Desktop. The connected model appears in the model picker. In Aventail™'s capture it reads "Gemma4 via Aventail™". Your model name will differ. Select the connected model if it is not already selected. Ask a harmless question, such as a one-sentence welcome message.
The model label alone does not prove where a request ran. To confirm the actual destination, check Recent usage in Control. In personal Control the Connect docs name the view Requests. The routing guide shows how.
Claude Desktop with a model on another machine
A laptop can use a model installed on a desktop on the same office network. Claude Desktop still talks to Link on the laptop. Link forwards the request, and the other computer executes it. The machines do not pool their memory or split one request across their GPUs.
What you need:
Two computers on the same network that can reach one another. A guest Wi-Fi network or device-isolation setting can prevent that.
The same Aventail™ account on both. Install Link, sign in and register both computers to that account.
A suitable model on the other computer, with Link running and the machine awake.
In the current simple Control workflow, you add the other computer as a backup destination. Link tries it when the destination before it cannot be reached. This setup is available to all accounts.
Open Aventail™ Link on the computer that will provide the model. Sign in to the same account, finish registering it, and download a model that can run on its hardware.
Open Aventail™ Control and select the computer where you use Claude Desktop under Devices.
Open Routing, then Set up routing or Edit routing. Keep or choose the first model for that computer.
At Add a backup?, select Add a backup and Another device.
Choose the other computer under Device, then choose one of the models available on it.
Select Add backup, review the destination order, then Apply to [device].
Wait for Applied on device before testing. If an update is waiting or has failed, the previously applied choices remain active.
Cross-network and cross-account routing are not part of the current setup. Do not expose the model endpoint to the public internet to work around a local connectivity problem. The full procedure and the verification test are in the peer-to-peer routing guide.
Claude Desktop with Gemini or another approved provider
Connect can also bring a hosted model into Claude Desktop. Aventail™'s Connect page shows Claude Desktop with Cowork selected and "gemini-4-argon via Aventail™" in the picker. Aventail™ supports both Gemini 4 Argon and Gemini 4 Carbon. Other supported choices include Anthropic models, Kimi, DeepSeek, Mistral and Qwen, depending on your connection and access.
The provider connection is set in Control, on the routing setup available to all accounts:
Open Aventail™ Control and select your computer under Devices.
Open Routing. Choose Set up routing, or Edit routing if you already have a setup.
At Choose your first model, select Cloud provider, then choose the connection for the model you want.
Use an approved saved connection, or enter the provider API key. Review Allow [device] to use this connection before granting access.
Select Connect provider or, for a saved connection needing permission, Allow this device. Choose an available model, then Continue.
At Add a backup?, you can add a local model on This device as the final backup.
Select Apply to [device] and wait for Applied on device.
These requests run on Google's infrastructure, on your organisation's own Google account, and may incur charges there. Connecting through Aventail™ does not turn Gemini into a locally running model. A consumer chat subscription does not establish that an API key has access to a particular model.
Confirm the result in Claude's model picker and in Requests. The guide to cloud models with a local model as backup covers the test. For choosing between the two Gemini models, see Gemini 4 Argon vs Carbon.
What changes in Claude Desktop when it is connected
It is not Claude. Connecting Claude to a chosen model does not run Anthropic's Claude model weights locally. Answer quality and tool use depend on the model you serve.
claude.ai connectors are unavailable while Claude uses the Connect gateway. Locally configured MCP servers and plugins keep their own settings and data flows.
Feature compatibility depends on the app version and the model. A successful chat does not establish reliable tool use or long-context work.
Quitting Link restores Claude's own configuration for the time being. Link reconnects the previously connected parts when serving resumes. An update restart keeps the connection in place.
Organisation-managed settings can prevent a connection. Ask the administrator. Do not override them.
To go back, open Connected apps in Link and choose Disconnect next to Claude. Link restores the settings it changed while preserving unrelated edits. Reopen Claude and check the restored provider and model before you continue.
What Connect governs
Connect brings the app's model requests into Aventail™ Link, where your routing rules choose an allowed destination: the local model, a peer machine running Link, or an approved hosted API on your organisation's own account. Routing to peers and hosted destinations is currently in beta, and requests sent to an approved hosted API may incur provider charges on that account. Choosing a local model is not proof of local-only processing if your policy permits a remote route or fallback. If no destination is permitted, the request fails.
Connect governs model requests only. The app's other network activity, file access, updates, telemetry and storage remain under the app's own settings and terms. For how Aventail™ handles security, see Security and trust.
The same setup for a team
The steps above suit one person on one machine. An IT or security lead needs the same setup on every laptop, a rule for which work may leave the device, and a record of where each request ran.
Link evaluates routing rules on each device. Hosted Control holds the rules and receives device and routing events, not prompts or responses. In Control for Enterprise, a rule has conditions, a destination and up to three fallback hops, and the first matching enabled rule wins. A team that handles confidential documents can permit only On device for Claude Desktop. If local serving is unavailable, the request fails with an error. It is not sent to a disallowed destination.
The Free plan covers three connected devices, including business use. Starter is £50 a month excluding VAT and includes ten devices. For a rollout plan, read deploying a private AI workspace across laptops and servers.
Frequently asked questions
Can Claude Desktop use a local model?
Yes, with something in between. The standard app sends inference to Anthropic. Aventail™ Connect points Claude Desktop at a model served by Aventail™ Link on the same computer. Ollama documents its own Claude Desktop connection on macOS. Anthropic's 3P mode accepts a gateway that implements the Messages API, but Anthropic documents it for Claude models.
Does Claude Cowork work with a local model?
Anthropic's 3P mode includes Cowork, and Aventail™ Connect covers Chat and Cowork in Claude Desktop. Ollama lists Cowork as a supported feature of its integration. Cowork leans on tool use and long context, so results depend on the model. Test a real task before you rely on it.
Can I use Ollama models in Claude Desktop?
Ollama's docs say yes on macOS: open Ollama, select Apps, connect Claude and restart Claude when prompted. To undo it, disconnect Claude in Ollama's Apps, or run ollama launch claude-desktop --restore.
Can I use Gemini in Claude Desktop?
Through Aventail™, yes. Add a Google provider connection in Control's routing setup and choose a Gemini model. Requests go to Google on your own account. They are not local.
Does a local model in Claude Desktop keep my data on my computer?
Only if the route is local. A local address or a local model name is not proof. Check the destination recorded in Control, and permit only On device if nothing may leave. Claude Desktop's own telemetry, storage and other network activity stay under the app's settings.
Why does Claude not show the model?
Make sure the model still shows Ready to serve in Link, then quit and reopen Claude Desktop. If Link shows the app as not found on this computer, install it first, then return.
How do I change the model or disconnect Claude Desktop?
Choose a compatible model in Aventail™ Link and start serving it. In Claude Desktop, use the connected model shown in the model picker. Quit and reopen the app if it has not updated. You do not edit a provider configuration or paste an API key for the Connect setup. To disconnect, open Connected apps in Link and choose Disconnect next to Claude.
Related guides
Sources
Anthropic, Claude Desktop on 3P overview: https://claude.com/docs/third-party/claude-desktop/overview
Anthropic, Deploy Claude Desktop on 3P with an LLM gateway: https://claude.com/docs/third-party/claude-desktop/gateway
Anthropic, Installation and setup (system requirements, single-machine setup): https://claude.com/docs/third-party/claude-desktop/installation
Anthropic, In-app configuration: https://claude.com/docs/third-party/claude-desktop/in-app-configuration
Anthropic, Models and effort levels: https://claude.com/docs/third-party/claude-desktop/models
Anthropic, Features (Claude Enterprise and Claude Desktop on 3P): https://claude.com/docs/third-party/claude-desktop/feature-matrix
Anthropic, Run Claude Code through a gateway: https://code.claude.com/docs/en/gateways
Anthropic, Connect Claude Code to an LLM gateway, Desktop app section: https://code.claude.com/docs/en/llm-gateway-connect
Anthropic, Claude Desktop on Linux (beta): https://code.claude.com/docs/en/desktop-linux
Ollama, Claude Desktop integration: https://docs.ollama.com/integrations/claude-desktop
Aventail™, Connect overview: https://docs.aventail.co.uk/docs/connect/overview
Aventail™, Connect product page: https://aventail.co.uk/connect
Aventail™, live guide "Use open models in Claude with Aventail™" (21 October 2026): https://aventail.co.uk/guides/claude-code-with-aventail-connect
Aventail™, live guide "Peer-to-peer AI routing" (11 November 2026): https://aventail.co.uk/guides/peer-to-peer-ai-routing
Aventail™, live guide "Use cloud AI models with a local model as backup" (11 November 2026): https://aventail.co.uk/guides/cloud-ai-routing-local-fallback
Aventail™, live guide "Gemini 4 Argon vs Carbon" (11 November 2026): https://aventail.co.uk/guides/gemini-4-argon-vs-carbon
Aventail™, Routing: https://docs.aventail.co.uk/docs/fleet/routing
Aventail™, Compatibility and versions: https://docs.aventail.co.uk/docs/introduction/versions-and-supported-models
Aventail™, plans and prices: https://aventail.co.uk/#pricing
All sources were read on 15 November 2026.