OpenCode setup
Configure OpenCode with Asterionyx as a custom OpenAI-compatible provider for coding sessions in your local projects.
This page describes how to point OpenCode at Asterionyx’s Chat Completions endpoint. It is a setup guide, not a partnership or endorsement.
https://api.a.eus/v1opencode.jsonc
Last verified against the official OpenCode providers documentation on 2026-08-27. The provider key used in /connect must match asterionyx. Never put a real API key in this file. A clean OpenCode install was not run in this environment.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"asterionyx": {
"npm": "@ai-sdk/openai-compatible",
"name": "Asterionyx",
"options": {
"baseURL": "https://api.a.eus/v1",
"apiKey": "{env:ASTERIONYX_API_KEY}"
},
"models": {
"asterionyx-from-catalog": {
"name": "Published Model ID from the live catalog"
}
}
}
}
}Open custom provider setup
In OpenCode, open the provider connection flow and choose the custom provider option for an OpenAI-compatible endpoint.
Set Provider ID
Use a lowercase integration label such as asterionyx. Keep the selected public model ID in your environment configuration.
Set Display name
Use Asterionyx as the display name so it is easy to recognize in OpenCode.
Set the Base URL
Paste the Asterionyx Base URL shown below. Keep the /v1 suffix because OpenCode sends OpenAI-compatible requests to that path.
Add your API key
Paste your Asterionyx API key in the API key field. OpenCode stores provider credentials locally, so do not commit the key to your project.
Select a Model ID
Open the model picker, select your Asterionyx connection, and choose the published model ID you configured.
Troubleshooting
401 / unauthorized
Recopy the API key from the portal. Do not use a placeholder or a key from another account.
402 / insufficient Credits
Create a recharge in the portal. The same API key and Base URL continue to work after Credits are added.
Unknown model
Copy a published public model ID from the live Model Catalog instead of typing a remembered name.