OpenCode
OpenCode is a practical fit for MetaioLab because its custom provider flow matches the verified OpenAI-compatible endpoint well.
Recommended route
Section titled "Recommended route"- Base URL to configure:
https://metaiolab.com/v1 - Provider type: OpenAI-compatible
- Starter model example:
gpt-5.4
Setup flow
Section titled "Setup flow"- Run
/connect - Scroll to Other
- Create a provider ID such as
metaiolab - Enter your MetaioLab API key
- Add the provider to your
opencode.json
Example config
Section titled "Example config"{ "$schema": "https://opencode.ai/config.json", "provider": { "metaiolab": { "npm": "@ai-sdk/openai-compatible", "name": "MetaioLab", "options": { "baseURL": "https://metaiolab.com/v1" }, "models": { "gpt-5.4": { "name": "GPT-5.1 Codex Mini" } } } }}References
Section titled "References"- OpenCode providers docs: https://opencode.ai/docs/providers