Skip to main content

Official platform API keys

How to obtain API keys from OpenAI, Anthropic, Google Gemini, DeepSeek, MiniMax, and Moonshot, and configure them in the Mystilink Agent.

tip

Mystilink does not host models. Keys stay on your device; requests go directly to the vendor. See LLM providers.

Configure in Agent (common steps)

In the desktop app: Settings → Models → Add model

  1. Choose Provider — pick the official template (OpenAI, Anthropic, …).
  2. Credentials — paste the API key or an env var name (e.g. OPENAI_API_KEY).
  3. (Optional) Override Base URL — only if you use a proxy gateway.
  4. Test connection — wait for success before continuing.
  5. Model ID — from suggestions or vendor docs.
  6. Display name → Save — optionally set as primary model.

If the provider is missing, create it first via New Provider using the official template.


OpenAI

PlatformOpenAI Platform
API keysAPI Keys
TemplateOpenAI
Base URLhttps://api.openai.com/v1
Modelsgpt-4o, gpt-4o-mini, o3-mini, …
  1. Sign in at OpenAI Platform.
  2. Open API KeysCreate new secret key.
  3. Copy the key (sk-...) immediately — it is shown only once.
  4. In Mystilink: Provider OpenAI → paste key → Test connection → model ID → save.

Anthropic

PlatformAnthropic Console
API keysSettings → Keys
TemplateAnthropic
Base URLhttps://api.anthropic.com/v1
Modelsclaude-sonnet-4-20250514, claude-opus-4-20250514, …

Use the Anthropic template (not OpenAI). Key prefix is usually sk-ant-.


Google Gemini

PlatformGoogle AI Studio
API keysAPI Key page
TemplateGoogle Gemini
Base URLhttps://generativelanguage.googleapis.com/v1beta
Modelsgemini-2.0-flash, gemini-1.5-pro, …

Gemini template does not support Base URL override.


DeepSeek

PlatformDeepSeek Platform
TemplateDeepSeek
Base URLhttps://api.deepseek.com/v1
Modelsdeepseek-chat, deepseek-reasoner

Create an API key in the console, paste in Mystilink, test, save.


MiniMax

PlatformMiniMax Open Platform
TemplateMiniMax
Base URLhttps://api.minimax.io/v1

Model IDs: see API docs.


Moonshot (Kimi)

PlatformMoonshot AI
TemplateMoonshot
Base URLhttps://api.moonshot.ai/v1
Modelsmoonshot-v1-8k, moonshot-v1-32k, moonshot-v1-128k, …

Environment variables (optional)

export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."

Enter the variable name (not the key) in Mystilink. Restart the app after changing env vars.

See also