# Fireworks AI Codex API Evaluation

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

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 83 |
| Grade | B |
| Eval score | 82 |
| Discovery score | 86 |
| Cost | $0.06 |
| Runtime | 1m 4s |
| Tool calls | 13 |
| Errors | 1 |
| Tokens used | 0 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://docs.fireworks.ai/llms.txt |
| MCP server | https://docs.fireworks.ai/ecosystem/integrations/development-setup.md |
| Typed SDK | https://pypi.org/project/fireworks-ai/ |
| OpenAPI | https://docs.fireworks.ai/anthropic-messages.openapi.json |
| Agent skills | https://docs.fireworks.ai/fine-tuning/agent/use-with-coding-agents.md |
| CLI | https://docs.fireworks.ai/tools-sdks/firectl/firectl.md |

## Evaluation Prompt

````text

# Task
Using https://docs.fireworks.ai, complete the following task:

Using Fireworks AI, 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 | 1 | $0.06 (<$0.10, excellent) |
| Time | Yes | 0 | 1 | 64s (1–2min, great) |
| Efficiency | Yes | 0 | 0 | 13 tool calls (≤15, good) |
| Found Docs | Yes | 0 | — | Touched docs at docs.fireworks.ai: yes (6 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 1 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 2 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 16 |
| Tool call traces | 13 |
| Generated files | 2 |
| Exit code | 0 |
| Completed at | 2026-09-27T02:03:56.821174+00:00 |

### Generated Files

- /home/daytona/app/requirements.txt
- /home/daytona/app/invoice_extractor.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/fireworks-ai
