# ElevenLabs Codex API Evaluation

**Category:** Voice TTS
**Score:** 91 (A)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 91 |
| Grade | A |
| Eval score | 87 |
| Discovery score | 100 |
| Cost | $0.06 |
| Runtime | 1m 4s |
| Tool calls | 15 |
| Errors | 0 |
| Tokens used | 0 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/elevenlabs/elevenlabs-python |
| llms.txt | https://elevenlabs.io/docs/llms.txt |
| MCP server | https://github.com/elevenlabs/elevenlabs-mcp |
| Typed SDK | https://pypi.org/project/elevenlabs/ |
| OpenAPI | https://api.elevenlabs.io/openapi.json |
| Agent skills | https://github.com/elevenlabs/cli/tree/main/.agents/skills |
| CLI | https://github.com/elevenlabs/cli |

## Evaluation Prompt

````text

# Task
Using https://elevenlabs.io/docs, complete the following task:

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

1. Follow the ElevenLabs 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 ElevenLabs 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 | 1 | $0.06 (<$0.10, excellent) |
| Time | Yes | 0 | 1 | 64s (1–2min, great) |
| Efficiency | Yes | 0 | 0 | 15 tool calls (≤15, good) |
| Found Docs | Yes | 0 | — | Touched docs at elevenlabs.io: yes (11 matching tool calls) |
| Zero Errors | Yes | 0 | — | No errors in tool outputs |
| 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 | 18 |
| Tool call traces | 15 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-27T02:03:50.540943+00:00 |

### Generated Files

- /home/daytona/app/text_to_speech.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/elevenlabs
