---
title: BYOK — OpenAI setup
description: Plug your OpenAI API key into Niyra. Two minutes, AES-256 at rest, used for embeddings, voice, image gen.
url: /docs/byok-openai
lastUpdated: 2026-06-10
---

# BYOK — OpenAI setup


## Steps

1. platform.openai.com → API Keys → Create Key.
2. Name it `niyra-byok`. Copy the key.
3. Niyra: Settings → BYOK → OpenAI → paste → Save.
4. Hit Test.

## What it touches

- Memory embeddings (text-embedding-3-small).
- Voice realtime (when enabled).
- DALL-E image generation (when you ask).

Chat reasoning stays on Anthropic unless you explicitly switch a conversation.

## Rotation

Same as Anthropic — replace the key in the BYOK panel; old key overwritten in place.
