Skip to main content
Configure OpenAI Codex to use Nordlys’s Nordlys model for 60-90% cost savings while maintaining the same AI-powered coding experience.
Save 60-90% on AI development costs with advanced Nordlys model. 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 "create a React component for user authentication"

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 nordlylabs.com/dashboard
  • Check that NORDLYS_API_KEY environment variable is set
  • Restart terminal or run source ~/.bashrc after installation

Next Steps


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