Use AlphaNeural with OpenCode
OpenCode can talk to any OpenAI-compatible API by setting a provider baseURL and giving it an API key. AlphaNeural fits that shape, so the integration is mostly config and credentials.
Add your AlphaNeural API key to OpenCode
/connectCreate a project config
Recommended setup. Custom provider alphaneural
alphaneural{
"$schema": "https://opencode.ai/config.json",
"model": "alphaneural/qwen3",
"provider": {
"alphaneural": {
"npm": "@ai-sdk/openai-compatible",
"name": "AlphaNeural",
"options": {
"baseURL": "https://proxy.alfnrl.io/v1"
},
"models": {
"qwen3": { "name": "Qwen 3" }
}
}
}
}Pick a model in the UI and run
Troubleshooting
“It ignores my baseURL” or “NotFoundError” for custom OpenAI-compatible providers
Workaround. Use the built-in openai provider with a custom baseURL
openai provider with a custom baseURLOptional. Put AlphaNeural in global config
Last updated
