# Sonilo Codex API Evaluation

**Category:** Audio
**Score:** 83 (B)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 83 |
| Grade | B |
| Eval score | 76 |
| Discovery score | 100 |
| Cost | $0.15 |
| Runtime | 1m 8s |
| Tool calls | 22 |
| Errors | 9 |
| Tokens used | 610927 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/sonilo-ai/sonilo-js |
| llms.txt | https://platform.sonilo.com/llms-full.txt |
| MCP server | https://github.com/sonilo-ai/sonilo-mcp |
| Typed SDK | https://github.com/sonilo-ai/sonilo-js |
| OpenAPI | https://platform.sonilo.com/openapi.json |
| Agent skills | https://sonilo.com/.well-known/agent-skills/index.json |
| CLI | https://platform.sonilo.com/docs/cli |

## Evaluation Prompt

````text

# Task
Using https://platform.sonilo.com/docs, complete the following task:

Using Sonilo, build me a Python script that generates an original instrumental music track:

1. Follow the Sonilo documentation to authenticate and choose the simplest text-to-music API path
2. Generate 30 seconds of upbeat electronic background music for a product launch video, with no vocals
3. Save the result as output.mp3, output.wav, or output.m4a, using a format supported by the API
4. Print a confirmation message with the filename and file size when the track is saved

Use documented Sonilo 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.15 ($0.10–0.20, great) |
| Time | Yes | 0 | 1 | 68s (1–2min, great) |
| Efficiency | Yes | 0 | 0 | 22 tool calls (≤25, below average) |
| Found Docs | Yes | 0 | — | Touched docs at platform.sonilo.com: yes (17 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 9 |
| 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 | 27 |
| Tool call traces | 22 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-26T17:45:48.693581+00:00 |

### Generated Files

- /home/daytona/app/generate_music.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/sonilo
