Link Compute
User GuideAPI ReferenceAI ApplicationsSkillsHelp & SupportOneSpark ProgramBusiness Cooperation

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 URLhttps://ai.futurecore.com.cnhttps://api.futurecore.com.cn
OpenAI-compatible full URLhttps://ai.futurecore.com.cn/v1https://api.futurecore.com.cn/v1

Change only the hostname aiapi; 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

  1. Open Cherry Studio and go to Settings → Model Providers
  2. Find the LinkCompute provider you set up earlier (an OpenAI-compatible provider)
  3. In the Base URL field, change ai.futurecore.com.cn to api.futurecore.com.cn
    • Before: https://ai.futurecore.com.cn
    • After: https://api.futurecore.com.cn
  4. Leave the API Key (sk-...) untouched and save
  5. 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.production and 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, ENV in Dockerfile, 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.


🤖 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

  1. CC Switch: edit your LinkCompute configuration, change the API Base URL to https://api.futurecore.com.cn, save, and switch to that config
  2. Claude Code: on the Anthropic-compatible path, set ANTHROPIC_BASE_URL (or the matching config) to https://api.futurecore.com.cn; on the OpenAI-compatible path, use https://api.futurecore.com.cn/v1 with the /v1 suffix
  3. Codex CLI: change the base_url / env var in its config file to the new domain
  4. Cursor / Cline and other editor plugins: change the Base URL in each tool's custom OpenAI-compatible provider settings
  5. 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.


Post-migration error cheat sheet

ErrorLikely causeWhat to do
Connection refused / timeout / DNS failureSomething is still using the old ai.futurecore.com.cnGrep for ai.futurecore.com.cn again and change each to api.
404 Not Found/v1 is missing, duplicated, or auto-appended by the clientConfirm the /v1 rule on the new address matches what you had before
401 UnauthorizedNot domain-related — an auth issueConfirm the API Key is correct, enabled, and not expired
429 / group saturatedNot domain-related — upstream rate limitRetry shortly, or switch to another group for the same model

Still unresolved? See the FAQ or reach out via Community & Support.

Last updated on

On this page