Capabilities
Explore what Amazon Nova 2 Sonic supports, then use the API section for a request tailored to this model.
Model Information
- Provider
- Amazon Web Services
- Product
- Conversational
- Release Date
- Dec 2, 2025
- Data Policy
- No training
- Region
- US
- Input
- Audio
- Output
- Audio
Playground
Try Amazon Nova 2 Sonic by Amazon Web Services. Requests use the selected workspace’s credits and API pricing.
Providers
Compare available endpoints, pricing, and context limits for Amazon Nova 2 Sonic.
| Provider | Context | Output | Input Price | Output Price | Endpoint |
|---|---|---|---|---|---|
| Amazon Web Services | Not specified | Audio | $2.55 / 1M tokens | $10.20 / 1M tokens | amazon/nova-2-sonic:amazon |
Prices are catalog rates. Your workspace’s estimate and endpoint pricing determine the final charge.
Input and Output Limits
Formats and limits AudioLab enforces on each request.
| Limit | Value |
|---|---|
| Max seconds | 300 |
| Input sample rate | 16000 |
| Output format | pcm16 |
Provider Notes
Continuous voice conversations with native turn detection, interruptions and transcript events. Up to five minutes per funded session. Use /v1/audio/conversations/stream.
Status
Current catalog availability. Your workspace’s access is checked separately before a request runs.
A live availability check is not available right now.
Getting Started
Use your workspace API key and the exact model identifier below. Set the API URL to the endpoint shown in your workspace and keep credentials on your server.
import WebSocket from "ws";
import { randomUUID } from "node:crypto";
import { readFile, writeFile } from "node:fs/promises";
// Mono PCM16 at 16 kHz, paced like microphone input.
const input = await readFile("recording.pcm");
const url = new URL("/v1/audio/conversations/stream", process.env.AUDIOLAB_API_URL);
url.protocol = url.protocol === "https:" ? "wss:" : "ws:";
const socket = new WebSocket(url, {
headers: { Authorization: `Bearer ${process.env.AUDIOLAB_API_KEY}`, "Idempotency-Key": randomUUID() },
});
let timer, offset = 0, chunk = 0;
const output = [];
socket.on("open", () => socket.send(JSON.stringify({
type: "session.start", model: "amazon/nova-2-sonic", voice: "auto", max_seconds: 30,
})));
socket.on("message", raw => {
const event = JSON.parse(raw.toString());
if (event.type === "session.ready") timer = setInterval(() => {
const frame = Buffer.alloc(640);
if (offset < input.length) input.copy(frame, 0, offset, Math.min(offset + 640, input.length));
offset += 640;
if (socket.readyState === WebSocket.OPEN) socket.send(frame);
}, 20);
if (event.type === "output_audio.delta") {
output.push(Buffer.from(event.delta, "base64"));
}
if (event.type === "output_audio.done") { clearInterval(timer); socket.send(JSON.stringify({ type: "session.finish" })); }
if (event.type === "session.completed" || event.type === "error") console.log(event);
});
socket.on("close", () => {
clearInterval(timer);
void writeFile("response.pcm", Buffer.concat(output)).catch(console.error); // 24 kHz PCM16.
});
socket.on("error", console.error);Request Parameters
Available parameters depend on the provider and request format. The endpoint reference explains accepted values and required fields.
| Parameter | Details |
|---|---|
model | amazon/nova-2-sonic — Required model identifier. |
voice | View Accepted Values |
instructions | View Accepted Values |
max_seconds | View Accepted Values |
input_audio | View Accepted Values |
Input and Output Limits
Formats and limits AudioLab enforces on each request.
| Limit | Value |
|---|---|
| Max seconds | 300 |
| Input sample rate | 16000 |
| Output format | pcm16 |
Similar Models
Explore more conversational and compare their capabilities.
| Model | Context | Input Price | Output Price |
|---|---|---|---|
| Grok Voice LatestxAI | Not specified | $0.0425 / minute | — |
| GPT Realtime 2.1OpenAI | Not specified | $27.20 / 1M tokens | $54.40 / 1M tokens |
| GPT Realtime 2.1 MiniOpenAI | Not specified | $8.50 / 1M tokens | $17.00 / 1M tokens |
| Gemini 3.5 Live TranslateGoogle Gemini | Not specified | $2.975 / 1M tokens | $17.85 / 1M tokens |
| GPT Realtime 2OpenAI | Not specified | $27.20 / 1M tokens | $54.40 / 1M tokens |
| Grok Voice Think Fast 1.0xAI | Not specified | $0.0425 / minute | — |