Domain Migration Guide
The API domain has switched from ai.futurecore.com.cn to api.futurecore.com.cn — migrate by how you use it
LinkCompute's API domain has switched from ai.futurecore.com.cn to api.futurecore.com.cn.
There's only one change: the prefix goes from ai. to api.. Everything else stays the same — paths, protocols, the /v1 rule, your API Key, token groups, billing prices, and account balance.
This is a direct cutover with no transition period. The old domain ai.futurecore.com.cn has stopped serving the API, and any request still pointing at it will fail immediately (typically a connection timeout, Connection refused, or DNS error). Update the address in every client, script, and environment variable to the new domain now.
At a glance
| Old (retired) | New (current) | |
|---|---|---|
| Root URL | https://ai.futurecore.com.cn | https://api.futurecore.com.cn |
| OpenAI-compatible full URL | https://ai.futurecore.com.cn/v1 | https://api.futurecore.com.cn/v1 |
Change only the hostname ai → api; leave everything after it untouched.
What you don't need to do: no re-registration, no re-topping-up, no recreating tokens, no swapping API Keys. Your existing sk-... key, groups, prices, and balance all work as-is on the new domain.
👋 Non-technical user (Cherry Studio and other desktop clients)
You don't need to know what a "domain" is — just change that one address line in your client and leave the key alone.
Cherry Studio steps
- Open Cherry Studio and go to Settings → Model Providers
- Find the LinkCompute provider you set up earlier (an OpenAI-compatible provider)
- In the Base URL field, change
ai.futurecore.com.cntoapi.futurecore.com.cn- Before:
https://ai.futurecore.com.cn - After:
https://api.futurecore.com.cn
- Before:
- Leave the API Key (
sk-...) untouched and save - Go back to the chat window, send a quick
hello— a normal reply means you're done
Other desktop clients
Same logic everywhere: find the field where you entered the Base URL / API address, swap ai. for api., leave the key as is, save, and send a message to verify.
If a message errors after the change, check in this order: first look for typos in the address (a missing letter, a stray space, an ai you didn't fully replace); then confirm whether you originally used /v1 or not — keep it the same as before, only swap the hostname, don't add or drop /v1 along the way.
👨💻 Software engineer (SDKs / your own services)
Swap the Base URL in your code and config for the new domain. The API Key, request bodies, and call patterns don't change at all.
Where to change it
OpenAI SDK (Python)
from openai import OpenAI
client = OpenAI(
api_key="sk-xxxx",
base_url="https://api.futurecore.com.cn/v1", # old: https://ai.futurecore.com.cn/v1
)OpenAI SDK (Node.js)
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.OPENAI_API_KEY,
baseURL: 'https://api.futurecore.com.cn/v1', // old: https://ai.futurecore.com.cn/v1
});Environment variable
# old: export OPENAI_BASE_URL="https://ai.futurecore.com.cn/v1"
export OPENAI_BASE_URL="https://api.futurecore.com.cn/v1"curl sanity check (do this first after migrating, to confirm the path works)
curl https://api.futurecore.com.cn/v1/chat/completions \
-H "Authorization: Bearer sk-xxxx" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.4","messages":[{"role":"user","content":"hello"}]}'Codebase-wide checklist
The old domain may be hiding in more than one place. Grep for ai.futurecore.com.cn everywhere and replace it with api.futurecore.com.cn:
- Hardcoded Base URLs in source
.env/.env.local/.env.productionand other env files- Secret managers / config centers (Vault, Nacos, Consul, cloud Secrets Managers)
- CI/CD pipeline variables and build args
- Config baked into container images,
ENVinDockerfile, k8s ConfigMaps / Secrets - Reverse proxy / gateway upstream configs
- Hardcoded addresses in client apps and mini-programs
# From the project root, sweep to confirm nothing is left behind
grep -rn "ai\.futurecore\.com\.cn" .Verify
After switching, go to Usage Logs, confirm by Request ID or token name that new requests are billed correctly, then retire the old config.
API Reference
Endpoints, parameters, and response formats for the OpenAI / Anthropic / Gemini protocols.
Usage Logs
Use Request IDs to confirm post-migration calls are billed correctly.
🤖 Heavy AI developer (Agent / Claude Code / Codex CLI)
You likely have multiple tools, tokens, and config locations running at once. Since the old domain is already retired, you need to switch everything promptly — but do it tool by tool and verify each one, so if a tool breaks you can pinpoint it immediately instead of flipping everything and having nowhere to look.
Where to swap the domain
- CC Switch: edit your LinkCompute configuration, change the API Base URL to
https://api.futurecore.com.cn, save, and switch to that config - Claude Code: on the Anthropic-compatible path, set
ANTHROPIC_BASE_URL(or the matching config) tohttps://api.futurecore.com.cn; on the OpenAI-compatible path, usehttps://api.futurecore.com.cn/v1with the/v1suffix - Codex CLI: change the
base_url/ env var in its config file to the new domain - Cursor / Cline and other editor plugins: change the Base URL in each tool's custom OpenAI-compatible provider settings
- Agents / automation pipelines: check every server-side env var, secret store, scheduled job, container image, and queue consumer for hardcoded old domains
Smooth-cutover tips
- This is where one-token-per-tool pays off: switch one tool at a time, then immediately check Usage Logs by token name to confirm it's hitting the new domain and that fresh requests are coming in, before moving to the next
- Task-type calls (async tasks from MJ, Suno, Kling, Seedance) — after switching, confirm in Task Logs that tasks submit and call back normally
- Watch your balance: on migration day, keep an eye on Billing and usage statistics to confirm call volume and spend stay normal; if a tool suddenly stops sending new requests, its address probably isn't fully updated
- Retries and backoff: if your Agent has automatic retries, make sure failures against the old domain don't retry endlessly and flood your logs — fix the address first
Groups, prices, and channel discounts are fully preserved on the new domain — no need to re-pick groups or rebuild tokens. The migration only changes the hostname; the billing strategy is untouched.
AI Applications
Step-by-step setup for Cherry Studio, CC Switch, Claude Code, and Codex CLI.
Token Management
Token groups, IP allowlists, and the one-token-per-tool best practice.
Post-migration error cheat sheet
| Error | Likely cause | What to do |
|---|---|---|
Connection refused / timeout / DNS failure | Something is still using the old ai.futurecore.com.cn | Grep for ai.futurecore.com.cn again and change each to api. |
404 Not Found | /v1 is missing, duplicated, or auto-appended by the client | Confirm the /v1 rule on the new address matches what you had before |
401 Unauthorized | Not domain-related — an auth issue | Confirm the API Key is correct, enabled, and not expired |
429 / group saturated | Not domain-related — upstream rate limit | Retry shortly, or switch to another group for the same model |
Still unresolved? See the FAQ or reach out via Community & Support.
Last updated on