# Cartesia

CreateWithAI Hub page: https://createwithaihub.com/apis-sdks/cartesia
Latest version of this file: https://createwithaihub.com/apis-sdks/cartesia.md

- Type: API / SDK · Category: APIs & SDKs
- Publisher: Cartesia
- Pricing: Free plan plus paid plans
- Runs on: API (cloud)

Real-time voice API: Sonic text-to-speech, Ink speech-to-text, voice cloning and Managed Agents for voice agents.

Cartesia is an AI lab that offers real-time voice models through an API: Sonic for streaming text-to-speech and Ink for streaming speech-to-text with built-in turn detection. Its Managed Agents platform combines Ink, an LLM you choose and Sonic, and handles turn-taking, tools and telephony. It is for developers adding low-latency speech or phone and web voice agents to their products.

Useful for: Streaming spoken replies in a voice assistant with low latency, or cloning a voice from a short clip for narration.

## Key features

- Sonic 3.6 text-to-speech and Ink 2 streaming speech-to-text
- Instant voice cloning from a 10-second clip, plus professional voice cloning on higher plans
- Managed Agents for voice agents with Cartesia-provisioned phone numbers
- Official Python and TypeScript SDKs
- Hosted MCP server (https://mcp.cartesia.ai/mcp) for Claude Code, Cursor, ChatGPT and Grok

## Connection

- Modality: Audio
- SDK language: Python, TypeScript / JS
- Free tier: Has a free tier

## Before you start

- Cartesia account
- API key (CARTESIA_API_KEY)

## Install steps from the official documentation

Python SDK:

```
pip install cartesia
```

TypeScript SDK:

```
npm install @cartesia/cartesia-js
```

MCP server (Claude Code, hosted):

```
claude mcp add --transport http --scope user cartesia-mcp https://mcp.cartesia.ai/mcp
```

## Limitations

- Free plan does not include the commercial use license (Pro and up do)
- Usage is metered in credits (about 750-800 credits per minute of TTS audio); voice agent LLM usage and telephony are billed separately
- Professional voice cloning slots only on Startup, Scale and Enterprise plans

## Official links

- Website: https://cartesia.ai
- Source repository: https://github.com/cartesia-ai/cartesia-python
- Documentation: https://docs.cartesia.ai
- Source: https://docs.cartesia.ai/get-started/overview (Sonic 3.6 TTS, Ink 2 STT, Managed Agents (Ink + LLM of choice + Sonic), voice cloning from a 10-second clip)
- Source: https://cartesia.ai/pricing (Free $0 (20K credits/mo), Pro $5, Startup $49, Scale $299, Enterprise custom; commercial use license from Pro; agent minutes $0.03/min; LLM billed separately)
- Source: https://www.cartesia.ai/mcp (Hosted MCP server at https://mcp.cartesia.ai/mcp, sign-in instead of API key; clients Claude Code, Cursor, ChatGPT, Grok)
- Source: https://github.com/cartesia-ai/cartesia-python (pip install cartesia; Apache-2.0)
- Source: https://github.com/cartesia-ai/cartesia-js (npm install @cartesia/cartesia-js; TypeScript; Apache-2.0)
- Source: https://github.com/cartesia-ai/cartesia-mcp (MCP tools (TTS, STT, voices, Managed Agents, phone numbers), claude mcp add command, local uvx option with CARTESIA_API_KEY)
