# Cartesia Claude Code API Evaluation

**Category:** Voice TTS
**Score:** 77 (B)

This is the agent-readable Devtool Arena evaluation page for Cartesia on Claude Code API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 77 |
| Grade | B |
| Eval score | 74 |
| Discovery score | 86 |
| Cost | $0.29 |
| Runtime | 1m 52s |
| Tool calls | 19 |
| Errors | 4 |
| Tokens used | 470524 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://docs.cartesia.ai/llms.txt |
| MCP server | https://github.com/cartesia-ai/cartesia-mcp |
| Typed SDK | https://github.com/cartesia-ai/cartesia-js |
| OpenAPI | https://www.mintlify.com/docs/openapi.json |
| Agent skills | https://github.com/cartesia-ai/skills |
| CLI | https://docs.cartesia.ai/line/cli |

## Evaluation Prompt

````text

# Task
Using https://cartesia.ai/docs, complete the following task:

Using Cartesia, build me a Python script that converts text to speech:

1. Follow the Cartesia documentation to authenticate and choose the simplest text-to-speech API path
2. Convert this text to speech:
   "Your order has been shipped and will arrive by Friday."
3. Save the audio as output.mp3. If only WAV output is supported, save it as output.wav instead
4. Print a confirmation message with the filename when the file is saved

Use documented Cartesia APIs only; do not generate fake or placeholder audio. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/app && python <your_script>.py
```

The script should print output to stdout. If there are errors, debug and fix them until it runs successfully.

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Cost | Yes | 0 | 0 | $0.29 ($0.20–0.40, good) |
| Time | Yes | 0 | 1 | 112s (1–2min, great) |
| Efficiency | Yes | 0 | 0 | 19 tool calls (≤20, acceptable) |
| Found Docs | Yes | 0 | — | Touched docs at cartesia.ai: yes (6 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 4 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 26 |
| Tool call traces | 19 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-23T04:12:18.110908+00:00 |

### Generated Files

- /home/daytona/app/tts.py

## Related Pages

- [Claude Code API leaderboard](/leaderboard/claudecode/api)
- [Compare Claude Code API companies](/leaderboard/claudecode/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/claudecode/api/cartesia
