Skip to main content

Configure API Key

DesireCore is a local-first application — your data is stored locally, and AI capabilities are accessed through your own API Key. Configuring an API Key is the most critical step before you start using DesireCore.

What is an API Key?

An API Key is like a "key" to access AI services. Each AI provider (such as OpenAI, Anthropic, DeepSeek, etc.) offers API services — you need to register on their website, obtain an API Key, and then enter it in DesireCore so it can call the corresponding AI models.

Cost Information

Using an API Key to call AI services is billed by usage, with fees charged directly by the corresponding provider. DesireCore itself is free. Pricing varies widely between models, from fractions of a cent to tens of dollars per million tokens.

Configuring in DesireCore

  1. Click the Settings icon (gear icon) in the bottom-left corner
  2. Select the Compute Services tab
  3. In the provider list, click the provider you want to configure
  4. Enter your API Key
  5. Click Verify to confirm the Key is valid

Provider API Key Guides

DesireCore supports over 20 AI providers. Below are instructions for the most commonly used ones.

OpenAI (GPT Series)

OpenAI offers models like GPT-5 and GPT-4, and is one of the world's most well-known AI providers.

ItemInfo
Websiteplatform.openai.com
Billing CurrencyUSD
Key ModelsGPT-5, GPT-4.1, GPT-4o
Key CapabilitiesChat, code, reasoning, vision, voice, image generation

Steps to obtain:

  1. Visit platform.openai.com and sign up or log in
  2. Click API keys in the left navigation
  3. Click Create new secret key
  4. Name your key (e.g., "DesireCore") and click Create
  5. Copy the generated key (starts with sk-) and store it securely
Keep Your Key Safe

The API Key is only shown once — copy and save it immediately. If you lose it, you'll need to create a new one.

Anthropic (Claude Series)

Anthropic offers the Claude series of models, known for safety and long-context processing capabilities.

ItemInfo
Websiteconsole.anthropic.com
Billing CurrencyUSD
Key ModelsClaude Opus 4.6, Claude Sonnet 4.5
Key CapabilitiesChat, code, reasoning, vision, long-context

Steps to obtain:

  1. Visit console.anthropic.com and sign up or log in
  2. Go to Settings > API keys
  3. Click Create Key
  4. Copy the generated key (starts with sk-ant-)

DeepSeek

DeepSeek is a leading AI company from China, offering high-value conversational and reasoning models.

ItemInfo
Websiteplatform.deepseek.com
Billing CurrencyCNY
Key ModelsDeepSeek V3.2, DeepSeek R1
Key CapabilitiesChat, code, reasoning, multilingual

Steps to obtain:

  1. Visit platform.deepseek.com and sign up or log in
  2. Go to the dashboard and click API Keys
  3. Create a new API Key and copy it

Google (Gemini Series)

Google offers Gemini series models with ultra-long context windows (up to 1 million tokens).

ItemInfo
Websiteaistudio.google.com
Billing CurrencyUSD
Key ModelsGemini 2.5 Pro, Gemini 2.5 Flash
Key CapabilitiesChat, code, reasoning, vision, ultra-long context

Steps to obtain:

  1. Visit aistudio.google.com
  2. Click Get API Key
  3. Select or create a Google Cloud project
  4. Copy the generated API Key

SiliconFlow

SiliconFlow is an AI inference service platform from China that aggregates various open-source models (such as Qwen), with some models offering free credits.

ItemInfo
Websitesiliconflow.cn
Billing CurrencyCNY
Key ModelsQwen3 Coder 480B, Qwen3 235B
Key CapabilitiesCode, reasoning, multilingual, free embeddings

Steps to obtain:

  1. Visit siliconflow.cn and sign up or log in
  2. Go to the dashboard and find the API Keys page
  3. Create a new key and copy it

More Providers

In addition to the providers listed above, DesireCore also supports:

ProviderHighlightsBilling Currency
Tongyi Qwen (DashScope)By Alibaba CloudCNY
Doubao (Volcengine)By ByteDanceCNY
Moonshot (Kimi)Company behind KimiCNY
Zhipu AIGLM model seriesCNY
BaichuanChinese LLMCNY
LingyiwanwuYi model seriesCNY
MiniMaxChinese multimodal modelsCNY
Baidu (ERNIE Bot)By BaiduCNY
Tencent (Hunyuan)By TencentCNY
iFlytek (Spark)By iFlytekCNY
MistralEuropean AI companyUSD
xAI (Grok)Founded by Elon MuskUSD
CohereEnterprise AI servicesUSD
OpenRouterAI model aggregation platformUSD
PerplexitySearch-augmented AIUSD
OllamaRun open-source models locallyFree

The configuration process is similar: go to Settings > Compute Services, select the provider, and enter your API Key.

Verifying the Connection

After configuring your API Key, it's recommended to verify it immediately:

  1. On the provider detail page, click the Verify button
  2. DesireCore will send a test request to the AI service
  3. If it shows "Verified", the configuration is successful

Troubleshooting

API Key reported as invalid

  • Check that the key was copied completely (no extra spaces at the beginning or end)
  • Confirm the key is still valid and the account has sufficient balance
  • Verify your network can reach the corresponding API endpoint

Network connection failed

  • Confirm your network can access the provider's API address
  • If you have difficulty accessing overseas services, try providers with regional servers (e.g., DeepSeek, SiliconFlow)
  • Check if any firewall or proxy settings are blocking HTTPS requests

Not sure which provider to choose

Recommendations
  • Best value: DeepSeek — affordable, low latency, strong multilingual capabilities
  • Best capabilities: Anthropic Claude or OpenAI GPT — top performance on complex reasoning and code tasks
  • Want to try for free: SiliconFlow — some models offer free credits
  • Need ultra-long context: Google Gemini — supports up to 1 million token context

After configuring your API Key, you can start your First Conversation!