SETUP GUIDE
OpenCode
Configure OpenCode's OpenAI-compatible provider for Profundo.
Status: Supported for Chat Completions
1. Recommended setup
After signup, verification, and membership activation, issue a key in the dashboard. It is displayed once; keep it in a local secret store.
/connect -> Other -> provider ID: profundo
API key: PROFUNDO_API_KEY
/models -> profundo/glm-5.2- In the TUI, run `/connect`, choose Other, and enter provider ID `profundo` and your key.
- Add the configuration in the optional alternative below.
- Run `/models` and select `profundo/glm-5.2`.
Optional alternatives
Configuration file
Use global `~/.config/opencode/opencode.json` or project `opencode.json`. Global and project configuration merge; the project setting overrides the global one.
{
"model": "profundo/glm-5.2",
"provider": {
"profundo": {
"npm": "@ai-sdk/openai-compatible",
"options": { "baseURL": "https://api.profundoai.com/v1", "apiKey": "{env:PROFUNDO_API_KEY}" },
"models": { "glm-5.2": { "name": "glm-5.2" } }
}
}
}2. Verify your key
Set PROFUNDO_API_KEY in your shell, then run:
curl https://api.profundoai.com/v1/chat/completions \
-H "Authorization: Bearer $PROFUNDO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"minimax-m3","messages":[{"role":"user","content":"Say hello"}]}'Use glm-5.2, minimax-m3, or nemotron-ultra with https://api.profundoai.com/v1.