# Claude Desktop

Run the Claude desktop app on your OpenDunes balance, with no Claude account.

The app can send its requests to a gateway of your choice instead of Anthropic's. OpenDunes is that gateway: the app sends each message to [`POST /v1/messages`](/docs/reference/messages) with your key, and each one is charged in DA.

1. [Give the app its own key](#1-give-the-app-its-own-key).
2. [Turn on developer mode](#2-turn-on-developer-mode).
3. [Enter OpenDunes as the gateway](#3-enter-opendunes-as-the-gateway).
4. [Restart and pick a model](#4-restart-and-pick-a-model).

## 1. Give the app its own key

Create an API key named *Claude Desktop*, and cap it on *API Keys* ([API keys](/docs/api-keys) shows how). The app keeps the key in its settings on this computer: a key of its own shows on *Activity* what the app spent, and you revoke it without touching your other apps.

## 2. Turn on developer mode

Open the app. There is no need to sign in. Choose *Help*, *Troubleshooting*, *Enable Developer Mode*: a *Developer* menu appears. On Windows, the menu is behind ☰ on the sign-in screen.

## 3. Enter OpenDunes as the gateway

Choose *Developer*, *Configure Third-Party Inference…*. In *Connection*, set *Inference provider* to *Gateway*, then fill in its credentials:

| Field | Set to |
|---|---|
| Gateway base URL | `https://opendunes.com`, without `/v1` |
| Gateway API key | your key |
| Credential kind | *Static API key* |
| Gateway auth scheme | *Bearer* |

Choose *Apply Changes*. The settings hold for this computer only.

## 4. Restart and pick a model

Quit the app fully, not only its window, and open it again. It starts on OpenDunes.

The model picker lists the Claude models OpenDunes sells: the app reads them from [`GET /v1/models`](/docs/reference/models) and keeps the ones with a Claude model ID, such as `anthropic/claude-sonnet-4.5`. Each model is charged at its own rate, shown on its page in [Models](/docs/models).

Send one message, then open *Activity*, in the app on opendunes.com: the message is there, with its charge in DA.

<div class="good-to-know">
<p>The desktop app and Claude Code keep separate settings. The app reads none of Claude Code's variables or <code>settings.json</code>: to run Claude Code on OpenDunes too, see <a href="/docs/cookbook/claude-code">Claude Code</a>.</p>
</div>

## Errors

| You see | Means | Do |
|---|---|---|
| *Gateway was unreachable* | the app did not reach the base URL | set it to `https://opendunes.com`, with no `/v1` |
| 401 | the key is missing, wrong, paused, revoked or expired, or it is a management key | paste an API key, and keep *Bearer* as the scheme |
| 402 | the balance is at zero or below, cannot pay the request's hold, or the key's cap is spent | make a deposit, or raise the cap |
| an empty model picker | the app could not read the models on sale | check the base URL, then quit the app fully and open it again |

Every other status: [Errors and retries](/docs/errors-and-retries).

Next: [Coding agents](/docs/coding-agents) · [MCP servers](/docs/cookbook/mcp-servers)
