快速接入教程 · ACE TOKENSETUP GUIDES · ACE TOKEN

把 Ace Token API 接入你的工具 Connect Ace Token API
to Your Tools

選擇你的工具,跟著步驟走,10 分鐘搞定。正品 Claude,同等額度最高是官網的 12 倍價值。 Pick your tool, follow the steps, done in 10 minutes. Genuine Claude — up to 12x more value than buying direct.

什麼是 OpenClawWHAT IS OPENCLAW
把 AI 變成你的自主 AgentTurn AI Into Your Autonomous Agent
OpenClaw 是開源自託管的 AI Agent 平台。裝在你的電腦或伺服器上,連入 API,就能透過 Telegram、WhatsApp、Discord 等訊息 App 接收指令、自主執行任務。它不是新 AI 模型,是讓 AI 長出手腳的軟體。 OpenClaw is a self-hosted, open-source AI agent gateway. Install it on your machine or server, connect an API key, and it becomes an always-on assistant you can command via Telegram, WhatsApp, Discord, and more — fully autonomous.
🤖
自主執行任務Autonomous Tasks
跑腳本、管文件、自動化工作流,不只聊天Runs scripts, manages files, automates workflows
📱
多頻道接入Multi-channel
一個 Gateway 同時支援多個訊息 AppOne Gateway serves all your messaging apps
🔒
自己託管Self-hosted
資料跑在你的硬體上,你說了算Your data stays on your hardware
MIT 開源Open Source
免費、Node.js 22+ 即可運行Free, runs on Node.js 22+
支援頻道SUPPORTED CHANNELS
💬WhatsApp
✈️Telegram
🎮Discord
💬iMessage
💬Slack
🌐Web UI

安裝前確認REQUIREMENTS
需要準備的東西What You Need
Runtime
Node.js 22+
RAM
4GB min
API Key
Ace Token
訊息 AppMessenger
Telegram ✓

選擇你的平台CHOOSE YOUR PLATFORM
安裝前,先想清楚裝在哪Before Installing — Choose the Right Home for OpenClaw
OpenClaw 不只是一個聊天工具,它有能力讀取你的檔案、執行指令、操作你的系統。裝在哪,決定了你的隱私邊界。 OpenClaw is not just a chat tool — it can read your files, run commands, and interact with your system. Where you install it defines your privacy boundary.
☁️
✦ 首選推薦:VPS 雲端伺服器✦ Best Choice: Cloud VPS
環境乾淨、完全隔離、24/7 在線。每月只要 $5–10,性價比最高。即使給了高權限,也不會影響你的個人電腦。這是最安全、最划算的起點。Clean environment, fully isolated, always online. Only $5–10/month. Even with high permissions, your personal data stays safe. The safest and most cost-effective starting point.
🍎
進階選項:獨立 MacAdvanced: Dedicated Mac
Mac Mini M4 是最受歡迎的選擇,功耗低、全天候靜音運行,還能用 iMessage。但前提是:必須用不存放個人資料的獨立機器,不能裝在日常工作的 MacBook 上。初始成本約 $599+。Mac Mini M4 is the fan-favourite for 24/7 running — silent, efficient, with iMessage support. Key: must be a dedicated machine with no personal data. Never install on your daily laptop. Starting cost ~$599+.
⚠️
謹慎使用:日常電腦Use With Caution: Daily Computer
技術上可行,但風險最高。OpenClaw 的高權限工具(exec、檔案讀寫)一旦被 prompt injection 或設定失誤影響,你的個人文件、密碼、程式碼都可能暴露。不建議作為長期方案。Technically possible but highest risk. With exec permissions enabled, prompt injection or misconfiguration could expose your personal files and credentials. Not recommended as a long-term setup.
⚠️ 隱私提醒:OpenClaw 的 exec 工具啟用後,它可以執行任何 shell 指令。請務必在隔離環境中運行(VPS 或獨立機器),並參考 官方安全文件 設定防護。 Privacy warning: With exec tools enabled, OpenClaw can run any shell command. Always run in an isolated environment (VPS or dedicated machine) and follow the official security docs.
01
安裝 Node.js 22+Install Node.js 22+
先裝 Homebrew(沒有的話),再用它安裝 Node.js:Install Homebrew first (if you don't have it), then use it to install Node.js:
terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
terminal
brew install node@22 && brew link node@22
02
安裝 OpenClawInstall OpenClaw
terminal
npm install -g openclaw@latest
terminal
openclaw --version # 看到版本號代表成功 / should show version number
03
執行設定精靈(最關鍵的一步)Run the Setup Wizard
這個指令會引導你完成所有設定:選 AI 提供商 → 填入 API Key → 連接頻道 → 安裝後台服務。This wizard guides you through everything: choose AI provider → enter API key → connect channels → install daemon.
terminal
openclaw onboard --install-daemon
💡 精靈問 AI Provider → 選 Anthropic → Base URL 填 https://api.acetoken.ai/v1 → API Key 貼上你的 Ace Token Key。When wizard asks AI Provider → choose Anthropic → Base URL enter https://api.acetoken.ai/v1 → paste your Ace Token Key.
04
連接 Telegram Bot(最快的起點)Connect Telegram Bot (Easiest Start)
1. Telegram 搜尋 @BotFather
2. 輸入 /newbot,給 bot 取名,複製 token
3. 把 token 貼入精靈提示中
1. Search @BotFather on Telegram
2. Type /newbot, name your bot, copy the token
3. Paste the token into the wizard when prompted
05
啟動 GatewayStart the Gateway
terminal
openclaw gateway --port 18789
看到 Gateway reachable 即成功。瀏覽器開 http://127.0.0.1:18789 進入控制台,然後去 Telegram 跟你的 bot 說話。When you see Gateway reachable you're live. Open http://127.0.0.1:18789 for the dashboard, then message your Telegram bot.
⚠️ OpenClaw 不支援原生 Windows,必須先安裝 WSL2(Windows Linux 子系統)。安裝後完全像用 Linux。OpenClaw doesn't run natively on Windows. WSL2 is required (Windows Subsystem for Linux). Once installed, the experience is identical to Linux.
01
以系統管理員身分開啟 PowerShell,安裝 WSL2Open PowerShell as Administrator, install WSL2
右鍵點擊「開始」→「Windows PowerShell (系統管理員)」,執行:Right-click Start → "Windows PowerShell (Admin)", then run:
powershell (admin)
wsl --install
安裝完成後重新開機,然後開啟 Ubuntu 視窗,設定使用者名稱和密碼。Restart your computer after install. Open Ubuntu and set up your username and password.
02
在 Ubuntu 終端機安裝 Node.js 22+Install Node.js 22+ inside Ubuntu Terminal
ubuntu
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - sudo apt-get install -y nodejs
03
安裝 OpenClaw,後續跟 Mac 完全一樣Install OpenClaw — same as Mac from here
ubuntu
npm install -g openclaw@latest openclaw onboard --install-daemon
💡 從這步開始跟 Mac 教程完全一樣,往上看 Mac 步驟 03–05 繼續完成設定。From here it's identical to Mac. Follow Mac steps 03–05 above to finish.
✦ 為什麼我們首推 VPS?✦ Why We Recommend VPS First
OpenClaw 是一個擁有真實系統權限的 Agent — 它可以讀取檔案、執行指令、操作你的環境。權限越高,能做的事越多,但裝在哪裡就很關鍵。

VPS 的核心優勢是隔離。 它是一台完全獨立的雲端機器,與你的個人電腦、工作文件、密碼管理器毫無關聯。即使設定出錯、被 prompt injection 影響,損失也被完全隔離在那台伺服器上,不會蔓延到你的日常生活。

更重要的是,VPS 價格非常親民。每月 $5–10 美金就能獲得一台 24/7 全天候在線的伺服器,從世界任何地方透過 Telegram 發指令給它。相比之下,買一台 Mac Mini M4 用作專用機需要 $599+,而且還要佔用家裡空間和電費。

我們的建議是:先從 VPS 開始。 熟悉流程、確認 OpenClaw 符合你的需求後,再按自己的需求升級到專用 Mac 也完全來得及。
OpenClaw is an agent with real system permissions — it can read files, execute commands, and interact with your environment. The more permissions you give it, the more it can do, which makes where you run it critical.

A VPS offers true isolation. It's a completely independent cloud machine with zero connection to your personal computer, work files, or password manager. Even if something goes wrong — a misconfiguration or a prompt injection attack — the damage is contained to that server alone.

VPS is also surprisingly affordable. At $5–10/month you get a machine that's always online, accessible from anywhere via Telegram. Compare that to buying a dedicated Mac Mini M4 at $599+ before you even know if OpenClaw fits your workflow.

Our advice: start with a VPS. Learn the ropes, validate the value, then upgrade to dedicated hardware whenever it makes sense.
💸
$5–10 / mo
入門成本極低Minimal entry cost
🔒
完全隔離Fully Isolated
與個人電腦零關聯Zero link to your PC
24/7 在線Online
隨時隨地發指令Command from anywhere
🚀
5 分鐘搞定5-min Setup
無需任何硬體採購No hardware to buy
推薦 VPS 服務商(任選一):Vultr · DigitalOcean · Hetzner · Contabo。選最便宜的方案,Ubuntu 22.04 或 24.04 即可。 Recommended VPS providers (pick any): Vultr · DigitalOcean · Hetzner · Contabo. Pick the cheapest plan, Ubuntu 22.04 or 24.04.
01
SSH 登入你的 VPS,安裝 Node.js 22+SSH Into Your VPS, Install Node.js 22+
terminal
ssh root@your-vps-ip # 換成你的 VPS IP / replace with your IP
bash
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - sudo apt-get install -y nodejs
02
安裝並設定 OpenClawInstall & Configure OpenClaw
bash
npm install -g openclaw@latest openclaw onboard --install-daemon
💡 精靈中選 Anthropic → Base URL 填 https://api.acetoken.ai/v1 → 貼上 Ace Token Key。In wizard: choose Anthropic → Base URL: https://api.acetoken.ai/v1 → paste Ace Token Key.
連接 Telegram Bot:Connect Telegram Bot:
1. Telegram 搜尋 @BotFather
2. 輸入 /newbot,給 bot 取名,複製 token
3. 把 token 貼入精靈提示中
1. Search @BotFather on Telegram
2. Type /newbot, name your bot, copy the token
3. Paste the token into the wizard when prompted
03
設定開機自動啟動Enable Auto-start on Boot
bash
openclaw gateway start # 啟動 / start now openclaw gateway enable # 開機自啟 / auto-start on reboot
VPS 重開機後 OpenClaw 會自動恢復,無需手動操作。OpenClaw auto-recovers after VPS reboots. No manual restart needed.
04
(更快)Docker 一鍵部署(Faster) One-line Docker Deploy
VPS 已有 Docker 的話,這是最快方式:If your VPS has Docker installed, this is the fastest option:
bash
docker run -d \ --name openclaw \ --restart unless-stopped \ -p 18789:18789 \ -e ANTHROPIC_API_KEY=your-acetoken-key \ -e ANTHROPIC_BASE_URL=https://api.acetoken.ai/v1 \ ghcr.io/openclaw/openclaw:latest

需要 API Key?Need an API Key?

OpenClaw 需要 AI API 才能運作。Ace Token 提供正品 Claude API,同等費用最高達官網的 12 倍額度。OpenClaw needs an AI API. Ace Token provides genuine Claude — get up to 12x more quota for the same spend.

取得 Ace Token API KeyGet Ace Token API Key
CURSOR
在 Cursor 接入 Ace TokenConnect Ace Token in Cursor
Cursor 支援 OpenAI-compatible 的第三方 API。關鍵:要用「OpenAI API Key」欄位搭配 Override Base URL,不是 Anthropic Key 欄位。這樣才能正確路由到 Ace Token。 Cursor supports OpenAI-compatible third-party APIs. Key: use the "OpenAI API Key" field with Override Base URL, not the Anthropic key field. This correctly routes requests to Ace Token.
01
開啟 Cursor 設定 → ModelsOpen Cursor Settings → Models
Mac:⌘, 或左上角 Cursor → Settings → Models
Windows:Ctrl+, 或 File → Preferences → Settings → Models
Mac: press ⌘, or Cursor → Settings → Models
Windows: press Ctrl+, or File → Preferences → Settings → Models
02
找到「OpenAI API Key」欄位,貼上 Ace Token KeyFind "OpenAI API Key" field and paste your Ace Token Key
⚠️ 注意:用「OpenAI API Key」欄位,不是 Anthropic Key 欄位。Ace Token 走 OpenAI-compatible 協議。 ⚠️ Note: Use the "OpenAI API Key" field, not the Anthropic field. Ace Token uses OpenAI-compatible protocol.
03
開啟 Override OpenAI Base URL,填入 Ace Token 地址Enable Override OpenAI Base URL, enter Ace Token address
找到 Override OpenAI Base URL 開關,打開後填入:Find the Override OpenAI Base URL toggle, enable it, then enter:
url
https://api.acetoken.ai/v1
04
手動新增 Claude 模型名稱Add Claude Model Names Manually
點「+ Add Model」,輸入以下模型名稱(一次加一個):Click "+ Add Model" and add these model names one by one:
models
claude-opus-4-6 claude-sonnet-4-5 claude-haiku-4-5
儲存後在 Chat 或 Composer 下拉選單選擇模型即可使用。Save settings, then select a model from the Chat or Composer dropdown.

替代方案ALTERNATIVE
在 Cursor 裡裝 ClineInstall Cline Inside Cursor
Cursor 是 VSCode 的分支,可以直接安裝 Cline 外掛。好處是繞開 Cursor 的 Override Base URL 限制,Cline 自己管 API 路由,設定更直觀,費用透明,每次請求都能看到 Token 用量。 Cursor is a VSCode fork and supports the Cline extension directly. The advantage: bypasses Cursor's finicky Override Base URL behavior. Cline handles its own API routing — simpler config, transparent costs, per-request token tracking.
01
在 Cursor 裡安裝 ClineInstall Cline in Cursor
⌘⇧X 開啟 Extensions → 搜尋 Cline → 安裝Press ⌘⇧X → search Cline → Install
💡 Cline 官方文件確認支援 Cursor,安裝流程與 VSCode 完全相同。Cline officially supports Cursor — installation is identical to VSCode.
02
設定 API ProviderConfigure API Provider
Cline 側欄 → ⚙️ Settings → API Provider 選 OpenAI CompatibleCline sidebar → ⚙️ Settings → set API Provider to OpenAI Compatible:
cline settings
API Provider OpenAI Compatible Base URL https://api.acetoken.ai/v1 API Key your-acetoken-key Model claude-opus-4-6
儲存後即可在 Cursor 內用 Cline 驅動 Ace Token,無需觸碰 Cursor 自身的 API Key 設定。Save and use Cline inside Cursor powered by Ace Token — no need to touch Cursor's own API settings at all.

節省 Token 的關鍵設定KEY TIP: SAVE TOKENS
💡
每段對話結束後開 New ChatStart a New Chat After Each Task
Cursor 每次請求都把完整對話歷史帶進去,對話越長越貴。定期 New Chat 重置,費用可降低 50–80%。Cursor sends the full conversation history in every request. Start a New Chat regularly to reset context and cut costs by 50–80%.
CLAUDE CODE CLI
在終端機使用 Claude CodeUse Claude Code in Terminal
Claude Code 是 Anthropic 官方的命令列 AI Coding Agent,可讀取整個程式碼庫、執行指令、自主完成任務。接入 Ace Token 只需設定兩個環境變數。 Claude Code is Anthropic's official CLI coding agent — reads your codebase, runs commands, and completes tasks autonomously. Connecting to Ace Token requires just two environment variables.
01
安裝 Claude CodeInstall Claude Code
terminal
npm install -g @anthropic-ai/claude-code
02
設定 Ace Token 環境變數(永久儲存)Set Ace Token Environment Variables (Permanently)
把以下兩行加入 ~/.zshrc(Mac/Linux),替換 your-key-here 為你的 Key:Add these two lines to ~/.zshrc (Mac/Linux), replacing your-key-here with your key:
bash
echo 'export ANTHROPIC_BASE_URL=https://api.acetoken.ai/v1' >> ~/.zshrc echo 'export ANTHROPIC_API_KEY=your-key-here' >> ~/.zshrc source ~/.zshrc # 立即套用 / apply now
Windows(WSL2 Ubuntu 終端機)改用 ~/.bashrcWindows (WSL2 Ubuntu terminal) use ~/.bashrc instead:
windows wsl
echo 'export ANTHROPIC_BASE_URL=https://api.acetoken.ai/v1' >> ~/.bashrc echo 'export ANTHROPIC_API_KEY=your-key-here' >> ~/.bashrc source ~/.bashrc
03
啟動Launch
terminal
claude
看到 Claude 提示符就成功了,直接輸入指令讓它開始工作。When you see the Claude prompt, just type your task and it starts working.
⚠️
必做:建立 .claudeignore 避免費用暴增Required: Create .claudeignore to Avoid Cost Spikes
Claude Code 自動掃描整個專案。不設定的話每次請求可能帶入 10 萬+ Token,費用高達 $0.47+/次。
在專案根目錄建立 .claudeignore
Claude Code scans your entire project. Without this, each request can include 100k+ tokens, costing $0.47+ per request.
Create .claudeignore in your project root:
.claudeignore
node_modules/ .git/ dist/ build/ *.log *.lock public/ .next/ .cache/
⚠️ 有設定:每次約 $0.02–0.15。沒設定:每次可能 $0.47+。With file: ~$0.02–0.15/request. Without it: up to $0.47+ per request.
OPENCODE
OpenCode — 終端機 AI Coding AgentOpenCode — Terminal AI Coding Agent
OpenCode 是 Claude Code 的開源替代品,用 Go 語言寫成,有漂亮的終端機 TUI 介面。支援多 session 管理、LSP 整合、自主執行指令和修改程式碼。支援直接填入第三方 API,接入 Ace Token 非常簡單。 OpenCode is the open-source alternative to Claude Code, written in Go with a beautiful terminal TUI. Supports multi-session management, LSP, and autonomous code editing. Supports custom API providers natively — connecting Ace Token is straightforward.
🖥️
終端機 TUITerminal TUI
漂亮的互動式終端機介面,無需 GUIBeautiful interactive terminal UI, no GUI needed
自主執行Autonomous
讀程式碼、跑指令、自動修改檔案Reads code, runs commands, edits files autonomously
🔌
自訂 ProviderCustom Provider
原生支援任何 OpenAI-compatible APINative support for any OpenAI-compatible API
70k+ Stars
最受歡迎的開源 Coding AgentMost popular open-source coding agent

第一步:安裝 OpenCodeSTEP 1: INSTALL OPENCODE
安裝Installation
01
一行安裝One-line Install
terminal
curl -fsSL https://opencode.ai/install | bash
或者用 npm 安裝:Or install with npm:
terminal
npm install -g opencode-ai
02
確認安裝成功Verify Installation
terminal
opencode --version # 看到版本號代表成功 / shows version if installed
⚠️ OpenCode 需要 WSL2。如果還沒裝,先以系統管理員身分開 PowerShell 執行 wsl --install,重開機後再繼續。OpenCode requires WSL2. If not installed, open PowerShell as Admin and run wsl --install, then restart and continue.
01
在 Ubuntu 終端機安裝 OpenCodeInstall OpenCode inside Ubuntu Terminal
ubuntu
curl -fsSL https://opencode.ai/install | bash

第二步:接入 Ace TokenSTEP 2: CONNECT ACE TOKEN
兩種方式,推薦用 Method ATwo Methods — Method A Recommended
💡 OpenCode 內建 Anthropic provider,只需把 baseURL 指向 Ace Token 就能直接使用,最簡單。OpenCode has a built-in Anthropic provider. Just point the baseURL to Ace Token — the simplest method.
01
在 TUI 中連接 Anthropic,填入 Ace Token KeyConnect Anthropic in TUI, Enter Ace Token Key
進入你的專案目錄,啟動 OpenCode,輸入 /connectGo to your project directory, launch OpenCode, type /connect:
terminal
cd your-project opencode
TUI 內輸入:Inside the TUI type:
opencode tui
/connect # 選 Anthropic → Manually enter API Key # Select Anthropic → Manually enter API Key API key: your-acetoken-key
02
編輯設定檔,把 baseURL 改成 Ace TokenEdit Config to Point baseURL to Ace Token
建立或編輯 ~/.config/opencode/opencode.jsonCreate or edit ~/.config/opencode/opencode.json:
~/.config/opencode/opencode.json
{ "$schema": "https://opencode.ai/config.json", "provider": { "anthropic": { "options": { "baseURL": "https://api.acetoken.ai/v1" } } } }
03
選擇模型,開始使用Select Model & Start
opencode tui
/models # 選擇 claude-opus-4-6 或 claude-sonnet-4-5 # Select claude-opus-4-6 or claude-sonnet-4-5
設定完成!所有 Anthropic 模型都會透過 Ace Token 路由,最高享受官網 12 倍的額度價值。Done! All Anthropic models now route through Ace Token — up to 12x more value vs buying direct.
💡 進階方式:把 Ace Token 設為獨立的 Custom Provider,可以精確控制哪些模型顯示在列表中。Advanced: Set Ace Token as a standalone custom provider with full control over which models appear in the list.
01
在 TUI 中新增 Custom ProviderAdd Custom Provider in TUI
opencode tui
/connect # 滾動到最下方,選「Other」 # Scroll to the bottom, select "Other" Provider ID: acetoken API key: your-acetoken-key
02
設定 opencode.json(加入完整 Provider 配置)Configure opencode.json with Full Provider Config
~/.config/opencode/opencode.json
{ "$schema": "https://opencode.ai/config.json", "provider": { "acetoken": { "npm": "@ai-sdk/openai-compatible", "name": "Ace Token", "options": { "baseURL": "https://api.acetoken.ai/v1" }, "models": { "claude-opus-4-6": { "name": "Claude Opus 4.6 · Pure Blood", "limit": { "context": 200000, "output": 65536 } }, "claude-sonnet-4-5": { "name": "Claude Sonnet 4.5 · Hybrid", "limit": { "context": 200000, "output": 65536 } }, "claude-haiku-4-5": { "name": "Claude Haiku 4.5 · Flash", "limit": { "context": 200000, "output": 65536 } } } } } }
03
重啟 OpenCode,選擇模型Restart OpenCode, Select Model
opencode tui
/models # 會看到「Ace Token」分類下的三個模型 # You'll see three models under the "Ace Token" provider
模型名稱會顯示為你自訂的名稱(含線路說明),選擇後直接開始使用。Models display with your custom names (with channel labels). Select one and start coding.

需要 API Key?Need an API Key?

Ace Token 提供正品 Claude API,同等費用最高達官網 12 倍額度。Ace Token provides genuine Claude API — up to 12x more quota for the same budget.

立即取得Get Started
VSCODE
VSCode 有兩種接入方式Two Ways to Use AI in VSCode
推薦方式:Cline 外掛,設定最簡單,直接填入 Base URL 即可。進階方式:Claude Code VSCode 插件,官方出品但設定稍複雜。 Recommended: Cline extension — easiest setup, directly enter Base URL. Advanced: Claude Code VSCode extension — official but slightly more complex to configure with a custom endpoint.
01
安裝 Cline 外掛Install Cline Extension
VSCode → 按 ⌘⇧X(Mac)或 Ctrl+Shift+X(Windows)→ 搜尋 Cline → 安裝VSCode → press ⌘⇧X (Mac) or Ctrl+Shift+X (Windows) → search Cline → Install
02
開啟 Cline 設定Open Cline Settings
側欄點 Cline 圖示 → 右上角 ⚙️ → SettingsClick the Cline icon in sidebar → ⚙️ top right → Settings
03
選 OpenAI Compatible,填入所有資訊Select OpenAI Compatible, fill in details
API Provider 選 「OpenAI Compatible」,然後填入:Set API Provider to "OpenAI Compatible", then fill in:
cline settings
API Provider OpenAI Compatible Base URL https://api.acetoken.ai/v1 API Key your-acetoken-key Model claude-opus-4-6
04
儲存,開始使用Save & Start
點 Save,在 Cline 側欄輸入你的第一個任務,Cline 會自主讀取程式碼、執行指令、寫入修改。Click Save, type your first task in the Cline panel. Cline will autonomously read your code, run commands, and make changes.
完成!全程不需要 Anthropic 帳號,只需要 Ace Token API Key。Done! No Anthropic account needed — just your Ace Token API Key.
⚠️ Claude Code VSCode 插件預設走 Anthropic 官方登入流程。要使用 Ace Token 需要多一個設定步驟繞過登入。The Claude Code VSCode extension defaults to Anthropic's login flow. Using Ace Token requires one extra step to bypass the login screen.
01
安裝 Claude Code 插件Install Claude Code Extension
VSCode → Extensions → 搜尋 Claude Code(發行者:Anthropic)→ 安裝VSCode → Extensions → search Claude Code (publisher: Anthropic) → Install
💡 確認發行者是 Anthropic,有其他同名外掛請忽略。Make sure the publisher is Anthropic. There are similar-named extensions from other publishers.
02
建立設定檔,填入 Ace Token 資訊Create Config File with Ace Token Details
建立或編輯 ~/.claude/settings.jsonCreate or edit ~/.claude/settings.json:
~/.claude/settings.json
{ "primaryApiKey": "your-acetoken-key", "env": { "ANTHROPIC_BASE_URL": "https://api.acetoken.ai/v1" } }
Mac/Linux 建立方式:Create it on Mac/Linux:
terminal
mkdir -p ~/.claude cat > ~/.claude/settings.json << 'EOF' { "primaryApiKey": "your-acetoken-key", "env": { "ANTHROPIC_BASE_URL": "https://api.acetoken.ai/v1" } } EOF
03
在 VSCode 設定中關閉登入提示Disable Login Prompt in VSCode Settings
⌘,(Mac)或 Ctrl+,(Windows)→ 搜尋 claude code login → 勾選 Disable Login PromptPress ⌘, (Mac) or Ctrl+, (Windows) → search claude code login → check Disable Login Prompt
04
完全重啟 VSCodeFully Restart VSCode
關掉 VSCode,重新開啟。點右上角 Spark ✦ 圖示,Claude Code 就會使用 Ace Token。Close VSCode completely and reopen it. Click the Spark ✦ icon in the top-right. Claude Code will now use Ace Token.
不需要 Anthropic 帳號登入,直接透過 Ace Token API Key 運作。No Anthropic account login needed. Runs directly through your Ace Token API Key.

需要 API Key?Need an API Key?

Ace Token 提供正品 Claude,同等費用最高達官網 12 倍額度。Ace Token provides genuine Claude — up to 12x more value vs official pricing.

立即取得Get Started