Skip to main content
The SDK exposes an OpenAI-style client at muna.beta.openai, with the same interface as the official OpenAI client.
You can easily compile your own custom models to be compatible with Muna’s OpenAI client. See the guide.

Creating Chat Completions

Muna supports running large language models via our client’s openai.chat.completions.create API:

Streaming Completions

Our OpenAI client also supports creating streaming completions:

Creating Embeddings

Muna supports running text embedding models via our client’s openai.embeddings.create API:

Creating Speech

Muna supports running text-to-speech models via our client’s openai.audio.speech.create API:

Creating Transcriptions

Muna supports using speech-to-text models via our client’s openai.audio.transcriptions.create API: