---
title: "Gladia"
description: "Add live audio transcription with Gladia."
canonical_url: "https://extraorbital.dev/docs/resources/gladia"
last_updated: "2026-11-26"
---

# Gladia

> Add live audio transcription with Gladia.

```bash title="Run in your project folder"
npx extraorbital add gladia
```

Live sessions only. New sessions need credit; active sessions can continue after it runs out.

Run the command → read the credentials in .env → connect your app through the SDK or API.

## Limits

| Limit | Free · Prototype | Paid |
| --- | --- | --- |
| Models | Direct realtime WebSocket | Configured models and processing |
| Spend | Shared credit | Shared team credit or budget |

Free allowances are shared across the account. Provider limits still apply on paid plans.

<span id="connect-the-sdk" />

## Use it

```js
import { GladiaClient } from "@gladiaio/sdk";

const client = new GladiaClient({
  apiKey: process.env.EXTRAORBITAL_GLADIA_KEY,
  apiUrl: process.env.GLADIA_BASE_URL,
  httpTimeout: 90_000,
  httpRetry: { maxAttempts: 1 },
});
const session = client.liveV2().startSession({
  encoding: "wav/pcm",
  sample_rate: 16000,
  bit_depth: 16,
  channels: 1,
});
```

Send audio and stop the session through the SDK. Keep the virtual key server-side; do not log session URLs or tokens.

## Environment variables

The CLI writes these to `.env` or an existing `.env.local`.

| Variable | Purpose |
| --- | --- |
| `EXTRAORBITAL_GLADIA_KEY` | Private virtual key |
| `GLADIA_BASE_URL` | Endpoint for live session creation and results |

<span id="usage-and-lifecycle" />

## Specifics

### Supported operations

Live session creation and results are supported. Prerecorded uploads and account-wide transcript APIs are not. Keep session URLs and tokens out of logs.

## Pricing

| Usage | Paid rate |
| --- | --- |
| Models | Configured models and processing |
| Spend | Provider-reported billed seconds at configured rates |

See [plans and billing](/pricing) for subscription fees and billing terms.

---

More for agents: [Sitemap](https://extraorbital.dev/sitemap.md) · [llms.txt](https://extraorbital.dev/llms.txt) · [agents.md](https://extraorbital.dev/agents.md)
