Skip to main content
Configure OpenCode to use Nordlys’s Mixture of Models model for high-quality coding results.
Save 60-90% on AI development costs with a Mixture of Models model. Works as a custom integration in OpenCode.

Get Your Nordlys API Key

Sign up here to create an account and generate your API key.

Quick Setup

Run Installer

curl -fsSL https://raw.githubusercontent.com/Nordlys-Labs/nordlys/main/scripts/installers/unix/opencode.sh | bash
Follow prompts to complete authentication setup.

Authenticate Integration

opencode auth login
Select “Other” → Enter “nordlys” → Paste your API key

Select Model

Run /models in OpenCode and select “nordlys/hypernova”.

Alternative Setup Methods

export NORDLYS_API_KEY='your-api-key-here'
curl -fsSL https://raw.githubusercontent.com/Nordlys-Labs/nordlys/main/scripts/installers/unix/opencode.sh | bash

Troubleshooting

  • Check opencode.json syntax is valid JSON
  • Ensure integration ID “nordlys” matches between auth and config
  • Run opencode auth list to confirm credentials were added
  • Regenerate API key from Nordlys dashboard
  • Verify integration ID matches exactly between auth and config
  • Try re-running opencode auth login and selecting “Other”

Next Steps


Was this page helpful? Contact us at [email protected] for feedback or assistance with your OpenCode integration.