Skip to main content
Configure OpenAI Codex to use Nordlys’s Mixture of Models — our Mixture of Models automatically selects the best specialist while maintaining the same AI-powered coding experience.
Get the best AI specialist for every prompt with Nordlys Mixture of Models. Works as a drop-in replacement for OpenAI Codex API.

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/codex.sh | bash
The installer will handle configuration and environment setup automatically.

Verify Installation

codex --version
echo $NORDLYS_API_KEY

Start Coding

codex -m nordlys/hypernova
Codex CLI running with Nordlys

Alternative Setup Methods

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

Troubleshooting

  • Check installation method availability (npm, brew, cargo, curl)
  • Verify system dependencies are installed
  • Try the interactive installation method for better error handling
  • Verify API key at nordlyslabs.com/api-platform/orgs
  • Check that NORDLYS_API_KEY environment variable is set
  • Restart terminal or run source ~/.bashrc after installation

Next Steps

Monitor Usage & Savings

Track your cost savings and usage analytics in real-time

API Documentation

Learn about Nordlys’s API capabilities and advanced features

CLI Tools

Explore other CLI tools with Nordlys integration

Get Support

Troubleshooting guides and support resources

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