# Cartesia Codex API Evaluation

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

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 79 |
| Grade | B |
| Eval score | 76 |
| Discovery score | 86 |
| Cost | $0.25 |
| Runtime | 1m 1s |
| Tool calls | 14 |
| Errors | 1 |
| Tokens used | 176953 |
| 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.25 ($0.20–0.40, good) |
| Time | Yes | 0 | 1 | 61s (1–2min, great) |
| Efficiency | Yes | 0 | 0 | 14 tool calls (≤15, good) |
| Found Docs | Yes | 0 | — | Touched docs at cartesia.ai: yes (10 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 1 |
| 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 | 17 |
| Tool call traces | 14 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-27T02:03:46.984479+00:00 |

### Generated Files

- /home/daytona/app/tts.py

## Related Pages

- [Codex API leaderboard](/leaderboard/codex/api)
- [Compare Codex API companies](/leaderboard/codex/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

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