# Mux Claude Code API Evaluation

**Category:** Video Infra
**Score:** 71 (C)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 71 |
| Grade | C |
| Eval score | 65 |
| Discovery score | 86 |
| Cost | $0.47 |
| Runtime | 3m 44s |
| Tool calls | 27 |
| Errors | 5 |
| Tokens used | 665238 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/muxinc/mux-node-sdk |
| llms.txt | https://mux.com/llms.txt |
| MCP server | https://www.mux.com/docs/integrations/mcp-server |
| Typed SDK | https://github.com/muxinc/mux-node-sdk |
| OpenAPI | https://www.mux.com/api-spec.json |
| Agent skills | Not found |
| CLI | https://www.mux.com/docs/integrations/mux-cli |

## Evaluation Prompt

````text

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

Using the Mux Python SDK, build me a script that demonstrates video infrastructure capabilities:

1. Install the official Mux Python SDK (pip install)
2. Upload or ingest a sample video (you can use this public video URL: https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4)
3. Wait for processing/indexing to complete (poll status if the API is async)
4. Search or query the video content — for example, search for "bunny" or query a specific timestamp
5. Print the result as JSON with fields: video_id, status, and either search_results or video_metadata

You MUST use the official Mux Python SDK — do not make raw HTTP/REST calls. 

## 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 | No | 0 | 0 | $0.47 ($0.40–0.70, expensive) |
| Time | No | 0 | 0 | 224s (3–5min, slow) |
| Efficiency | No | 0 | 0 | 27 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at docs.mux.com: yes (3 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 5 |
| 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 | 30 |
| Tool call traces | 27 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-29T14:36:51.441827+00:00 |

### Generated Files

- /home/daytona/app/mux_video_demo.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/mux
