Skip to main content

Quick Setup

  1. Sign up for an Nordlys API key
  2. Install the OpenAI SDK (if you haven’t already):
  1. Change two lines in your existing code:
That’s it! Your existing OpenAI code now uses Nordlys model.

Key Features

Same API

All OpenAI methods, parameters, and responses work identically

Model Model selection

Set model to nordlys/hypernova for the Nordlys model

Streaming

Streaming responses work exactly like OpenAI

Function Calling

Function calling and tools work without changes

Streaming Example

Response Format

Nordlys returns standard OpenAI responses:

Error Handling

Handle common errors gracefully:
Common Issues:
  • 401: Check your Nordlys API key
  • 429: Rate limit exceeded - implement retry logic
  • 400: Invalid request parameters

Need More Control?

API Reference

See all available parameters and options

Examples

Working code examples and use cases