Anthropic / Claude Code
Website: anthropic.com
Dline offers two ways to use Claude:
- Anthropic: use an Anthropic API key, billed per token.
- Claude Code: sign in with a Claude Pro / Max subscription and consume its quota.
Anthropic API key
Section titled “Anthropic API key”Get an API key
Section titled “Get an API key”-
Go to the Anthropic Console and sign up or sign in.
-
Open the API keys page.
-
Click Create Key and give the key a recognizable name, such as
Dline. -
Copy the key immediately and store it securely. You cannot view it again after closing the page.
Configure Dline
Section titled “Configure Dline”See Model configuration for the general flow.
-
Click the Settings button in the Dline panel title bar.
-
Set Provider to Anthropic.
-
Paste the key into the Anthropic API Key field.
-
Search for or select a Claude model under Model.
-
(Optional) To route requests through a gateway, set a custom base URL. See the next section.
Custom base URL
Section titled “Custom base URL”Keep Use custom base URL unchecked to send requests to Anthropic. Check it to send them to another address instead, for example a gateway or a proxy in front of the Anthropic API.
-
Check Use custom base URL and enter the address the gateway exposes, such as
https://gateway.example.com. Enter the API address itself, not the gateway’s dashboard page. -
Keep the Anthropic API Key field set to the key that gateway accepts. A gateway that authenticates with its own key needs that key here, not an Anthropic key.
-
Select a model under Model. The model ID must be one the gateway accepts.
The default is https://api.anthropic.com, and most users never change it. Dline sends the key only to the address you typed, so the gateway must accept Anthropic’s Messages API shape.
Claude Code (subscription)
Section titled “Claude Code (subscription)”If you already have a Claude Pro / Max subscription, sign in with it directly and skip API key management.
-
Open Dline settings and set Provider to Claude Code.
-
Click Sign in and complete authorization in the browser page opened by the Sign in to Claude dialog. If the browser cannot return automatically, paste what Claude gives you back into the dialog.
-
When the status shows Signed in, select a model under Model.
- Requests consume your subscription quota instead of API token billing.
- When the sign-in lapses, the status shows Sign-in expired. Click Sign in again to reauthorize.
Thinking
Section titled “Thinking”Claude models that support thinking show thinking settings below the model selector:
- Adaptive thinking models: choose a thinking effort under Adaptive Thinking. Higher effort produces more detailed answers and uses more tokens.
- Budget thinking models: set a thinking token budget.
- Thinking Display: controls how thinking content is shown.
Thinking content counts toward token usage. For how it works, how it interacts with tool use and prompt caching, and how it is billed, see Anthropic’s extended thinking documentation.
- Prompt caching: Claude models support prompt caching, which can significantly reduce cost and latency for repeated requests.
- Pricing: See the Anthropic pricing page for current rates.