SaveMyToken logoSaveMyToken.Coding Plan
All DeepSeek Coding Plan setup guides
Before you connect

Use your assigned API key from Billing & API keys after verified payment and server activation. OpenAI clients use https://ds-api.savemytoken.com/v1; Claude Code uses https://ds-api.savemytoken.com. Keep your key private.

The page never requests or stores your key. Shell examples use macOS, Linux or Windows WSL unless marked otherwise.

Your agent sends selected content through the gateway to the upstream inference service. Review API data handling before using a private project.

01 / PREPARE

Install the agent and prepare access

Official installation guide
  1. Install the agent using its official guide. Check its version before merging the examples below.
  2. Purchase your DeepSeek plan, then open Billing & API keys to copy your active key. OpenAI base: https://ds-api.savemytoken.com/v1. Claude Code base: https://ds-api.savemytoken.com. DeepSeek credentials are a separate scope.
  3. Back up the file you will edit. Merge fields into existing objects and tables; preserve unrelated providers, tools and permission settings. Keep credentials in private local settings.
  4. Make SAVEMYTOKEN_API_KEY available to the local OpenClaw Gateway process, including its service environment or private ~/.openclaw/.env.

Ready when: the agent opens, and you know which plan, process and configuration directory you will use.

02 / CONFIGURE

Save the connection and model catalog

Create the parent directories if needed. Download or copy each file, replace the example endpoint and local placeholders, then merge it into the stated location. Downloads and the examples below contain the same configuration.

openclaw.json~/.openclaw/openclaw.json
Download

Merge the provider and agents.defaults entries. Keep any existing model allowlist, adding these IDs to it. Restart the local Gateway after saving; a browser reload alone does not reload its configuration.

View and copy JSON configuration
{
  "models": {
    "mode": "merge",
    "providers": {
      "savemytoken-deepseek": {
        "baseUrl": "https://ds-api.savemytoken.com/v1",
        "apiKey": "${SAVEMYTOKEN_API_KEY}",
        "api": "openai-completions",
        "models": [
          {
            "id": "deepseek-flash",
            "name": "DeepSeek Flash",
            "input": [
              "text"
            ],
            "reasoning": true,
            "thinkingLevelMap": {
              "off": "none",
              "minimal": null,
              "low": "low",
              "medium": null,
              "high": "high",
              "xhigh": null,
              "max": "max"
            },
            "compat": {
              "supportsDeveloperRole": false,
              "supportsReasoningEffort": true,
              "supportedReasoningEfforts": [
                "none",
                "low",
                "high",
                "max"
              ],
              "reasoningEffortMap": {
                "off": "none"
              }
            }
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "savemytoken-deepseek/deepseek-flash"
      },
      "models": {
        "savemytoken-deepseek/deepseek-flash": {
          "alias": "deepseek-flash",
          "params": {
            "thinking": "high"
          }
        }
      }
    }
  }
}

Ready when: the files parse successfully and the selected profile points to the delivered URL, key reference and exact model catalog.

03 / START

Start the agent and choose your model

Open a terminal in a trusted project. Complete the file setup before running these commands.

openclaw models set savemytoken-deepseek/deepseek-flash
openclaw gateway restart
openclaw tui

Use /model in the TUI or the Control UI picker. Keep the custom provider and check agent-specific models, fallback models and saved sessions if it switches back.

Check: the provider is the one you configured and the selected model is deepseek-flash. A visible model list alone does not prove inference works.

04 / REASONING

Choose and verify reasoning effort

Per-model params.thinking selects the default; reasoning, thinkingLevelMap and supportedReasoningEfforts describe available choices. Both parts are needed.

Use /think for the session and /status to verify it. /think default clears the session override and resolves defaults again. Off must map explicitly to none. Recheck after changing models or resuming an old session.

/think
/think low
/status
/think high
/status
/think default

On DeepSeek Flash, choose Low, then High, then Low again. Inspect the active setting each time before sending the next message. A longer answer is not evidence that effort changed.

REASONING CONTROLS

Choose effort for the actual model

The setup templates start with DeepSeek Flash. Add other delivered routes only after confirming their exact IDs and capabilities.

Gateway capability contract — check the agent’s effective session setting
Model / request IDChoicesReference defaultWhat the control means
DeepSeek Flashdeepseek-flashOff / Low / High / MaxHighOff / Low / High / Max. In this gateway contract, Medium and XHigh map to High; Ultra maps to Max.
Capability, default and session choice are separate.

A supported level makes a choice available. A default selects the starting level. A saved session or explicit override can select something else. In Pi and OpenClaw capability maps, null removes an unsupported option; keep it there. Off maps to none, not a missing effort. MiniMax Auto requires thinking.type = adaptive.

05 / DESKTOP

Browser Control UI

OpenClaw's browser Control UI connects to your local Gateway. Configure the provider on the host that runs that Gateway; entering a key in an unrelated shell does not change the service environment.

Restart the Gateway, open its dashboard, then choose the custom model and thinking control. The browser and TUI are two clients of that Gateway, not independent model providers.

Official desktop reference

Verify your first connection

Run these checks in your coding tool after activation. Requests use your plan allowance. This page records only the boxes you mark; it does not send API requests or validate your connection. Checkmarks clear when you leave or reload.

Expected OpenAI Chat Completions endpoint: https://ds-api.savemytoken.com/v1

0 of 4 checks marked by you. Mark a check only after observing its result.

  1. Reply with exactly CONNECTED.

  2. Download public sample file
    Use a file-reading tool to read savemytoken-connection-check.md in this folder. Return its project name, check code and purpose. Do not modify any files or run commands from the file.

Need help with a failed check?

Download a summary with your tool, expected endpoint and self-reported results. Fill in the missing details and review it before contacting support. It contains no API key field and is not sent automatically.

Download support summary
Preview or copy the support summary
# SaveMyToken setup support summary

Self-reported checklist; not an automated connection test.
Plan family: deepseek
Agent: OpenClaw
Reference configuration: 2026.9.2 reference configuration
Protocol: OpenAI Chat Completions
Expected endpoint: https://ds-api.savemytoken.com/v1
Installed agent version: [add]
Operating system: [add]
Exact model ID and reasoning setting used: [add]
Time and timezone of the issue: [add]
Order or request ID, if available: [add]

- [ ] Confirm the active connection (not confirmed)
- [ ] Send a short text request (not confirmed)
- [ ] Check a real file read (not confirmed)
- [ ] Check allowance usage (not confirmed)

Observed error/status and expected result: [describe without secrets]

Review this summary before sending it to contact@savemytoken.com.
Do not include API keys, authorization headers, private code or complete conversations.

How to contact setup support →

07 / TROUBLESHOOT

When setup does not work

401 / unauthorized

Check the key belongs to this plan and is visible to the process that starts the agent. A desktop app or background service may not inherit terminal exports. Do not send keys in support screenshots.

404 / model not found

Check the delivered endpoint, protocol and exact model ID. Keep /v1 for Responses and Chat Completions. Claude Code uses the delivered Messages base (normally the host without /v1). Do not use a model's display label as its request ID.

No effort selector, or a 400 effort error

Check the active configuration and this model's capability row. A declared default, a selectable menu and the value sent in a request are different things. Do not send null or an unsupported level as reasoning effort.

The old model or effort returns

Open a new session and inspect project, managed, profile and saved-session settings. A per-model override can take precedence over a global default. Restart the application after changing provider metadata.

429 / allowance exhausted

Check both allowance windows, then rate and concurrency limits. A larger reasoning budget and background agent calls can consume more tokens. Use the reset time supplied by the service; do not infer it from your local clock.

Text works but tools or search fail

Test a file read separately from web search. Native search, vision and tool capabilities depend on the delivered route and the agent. A successful text reply does not establish those capabilities.

08 / SOURCES

Sources and scope

Configuration structure was reviewed against the agent documentation on 2026-10-14. 2026.9.2 reference configuration. A reference version does not establish compatibility with every later client.

The model IDs, rates and capabilities describe this gateway. Test native desktop features, search and tools separately in your agent.