# Merge Gateway Claude Code API Evaluation

**Category:** Inference
**Score:** 67 (C)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 67 |
| Grade | C |
| Eval score | 66 |
| Discovery score | 71 |
| Cost | $0.40 |
| Runtime | 3m 4s |
| Tool calls | 27 |
| Errors | 4 |
| Tokens used | 886631 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://docs.merge.dev/llms.txt |
| MCP server | https://docs.merge.dev/_mcp/server |
| Typed SDK | https://registry.npmjs.org/merge-gateway-sdk |
| OpenAPI | https://docs.merge.dev/openapi/hris.json |
| Agent skills | https://github.com/merge-api/merge-gateway-skills |
| CLI | Not found |

## Evaluation Prompt

````text

# Task
Using https://docs.merge.dev/merge-gateway, complete the following task:

Using Merge Gateway, build me a script that extracts structured data from this invoice and returns JSON:

---
INVOICE #INV-2024-0042
From: Acme Corp
Date: 2024-03-15

Items:
- Consulting Services: $500.00
- Travel Expenses: $150.00

Total: $650.00
---

The JSON output should have these fields: invoice_number, vendor, date, line_items (array), total 

## 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.40 ($0.20–0.40, good) |
| Time | No | 0 | 0 | 184s (3–5min, slow) |
| Efficiency | No | 0 | 0 | 27 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at docs.merge.dev: yes (3 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 4 |
| 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 | 31 |
| Tool call traces | 27 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-23T04:19:39.584284+00:00 |

### Generated Files

- /home/daytona/app/invoice_extractor.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/merge-gateway
