# Sonilo Claude Code API Evaluation

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

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 79 |
| Grade | B |
| Eval score | 70 |
| Discovery score | 100 |
| Cost | $0.34 |
| Runtime | 2m 22s |
| Tool calls | 18 |
| Errors | 6 |
| Tokens used | 482946 |
| 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 | 0 | $0.34 ($0.20–0.40, good) |
| Time | Yes | 0 | 0 | 142s (2–3min, good) |
| Efficiency | Yes | 0 | 0 | 18 tool calls (≤20, acceptable) |
| Found Docs | Yes | 0 | — | Touched docs at platform.sonilo.com: yes (8 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 6 |
| 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 | 23 |
| Tool call traces | 18 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-26T13:08:56.191675+00:00 |

### Generated Files

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