OpenAI-compatible configuration
Add provod.ai to an existing OpenCode configuration
The installer adds a provider and models to an existing OpenCode config; it does not install OpenCode.
Add the provider
The installer reads /v1/models for the supplied key and writes the provider configuration.
bash
curl -fsSL https://app.provod.ai/install/opencode.sh | \
PROVOD_API_KEY="sk_..." shManual provider configuration
json
{
"$schema": "https://opencode.ai/config.json",
"model": "provod/openai/gpt-5.4",
"provider": {
"provod": {
"npm": "@ai-sdk/openai-compatible",
"name": "provod.ai",
"options": {
"baseURL": "https://api.provod.ai/v1",
"apiKey": "sk_..."
},
"models": {
"openai/gpt-5.4": { "name": "openai/gpt-5.4" },
"moonshotai/kimi-k2.7-code": {
"name": "moonshotai/kimi-k2.7-code",
"modalities": { "input": ["text", "image"], "output": ["text"] }
}
}
}
}
}