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
- Choose Provider — pick the official template (OpenAI, Anthropic, …).
- Credentials — paste the API key or an env var name (e.g.
OPENAI_API_KEY). - (Optional) Override Base URL — only if you use a proxy gateway.
- Test connection — wait for success before continuing.
- Model ID — from suggestions or vendor docs.
- Display name → Save — optionally set as primary model.
If the provider is missing, create it first via New Provider using the official template.
OpenAI
| Platform | OpenAI Platform |
| API keys | API Keys |
| Template | OpenAI |
| Base URL | https://api.openai.com/v1 |
| Models | gpt-4o, gpt-4o-mini, o3-mini, … |
- Sign in at OpenAI Platform.
- Open API Keys → Create new secret key.
- Copy the key (
sk-...) immediately — it is shown only once. - In Mystilink: Provider OpenAI → paste key → Test connection → model ID → save.
Anthropic
| Platform | Anthropic Console |
| API keys | Settings → Keys |
| Template | Anthropic |
| Base URL | https://api.anthropic.com/v1 |
| Models | claude-sonnet-4-20250514, claude-opus-4-20250514, … |
Use the Anthropic template (not OpenAI). Key prefix is usually sk-ant-.
Google Gemini
| Platform | Google AI Studio |
| API keys | API Key page |
| Template | Google Gemini |
| Base URL | https://generativelanguage.googleapis.com/v1beta |
| Models | gemini-2.0-flash, gemini-1.5-pro, … |
Gemini template does not support Base URL override.
DeepSeek
| Platform | DeepSeek Platform |
| Template | DeepSeek |
| Base URL | https://api.deepseek.com/v1 |
| Models | deepseek-chat, deepseek-reasoner |
Create an API key in the console, paste in Mystilink, test, save.
MiniMax
| Platform | MiniMax Open Platform |
| Template | MiniMax |
| Base URL | https://api.minimax.io/v1 |
Model IDs: see API docs.
Moonshot (Kimi)
| Platform | Moonshot AI |
| Template | Moonshot |
| Base URL | https://api.moonshot.ai/v1 |
| Models | moonshot-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.