# Restate Gemini API Evaluation

**Category:** Durable Workflow
**Score:** 37 (D)

This is the agent-readable Devtool Arena evaluation page for Restate on Gemini API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 37 |
| Grade | D |
| Eval score | 10 |
| Discovery score | 100 |
| Cost | $3.26 |
| Runtime | 30m 37s |
| Tool calls | 108 |
| Errors | 5 |
| Tokens used | 11581848 |
| Success | No |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/restatedev/restate |
| llms.txt | https://docs.restate.dev/llms.txt |
| MCP server | https://docs.restate.dev/develop/ai-assistant |
| Typed SDK | https://github.com/restatedev/sdk-typescript |
| OpenAPI | https://docs.restate.dev/schemas/openapi-admin.json |
| Agent skills | https://docs.restate.dev/develop/ai-assistant |
| CLI | https://github.com/restatedev/restate/releases |

## Evaluation Prompt

````text

# Task
Using https://docs.restate.dev, complete the following task:

Using the Restate Python SDK, build me a script that defines and executes a simple 3-step workflow:

1. Install the official Restate Python SDK (pip install)
2. Define a workflow with 3 steps using the SDK's workflow primitives:
   - Step 1: Generate a random order ID
   - Step 2: "Process" the order (simulate with a 1 second sleep)
   - Step 3: Return the order status as "completed"
3. Execute the workflow and print the result as JSON with fields: order_id, status, steps_completed

You MUST use the official Restate Python SDK and its workflow/activity decorators or primitives — do not just write a plain Python script with sleep() 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 | $3.26 (≥$1.00, too expensive) |
| Time | No | 0 | 0 | 1837s (≥10min, too slow) |
| Efficiency | No | 0 | 0 | 108 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at docs.restate.dev: yes (4 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 5 |
| Syntax Valid | No | 0 | — | Syntax errors present |
| Created Files | No | 0 | — | Generated files: 0 (need ≥1) |
| Full Execution | No | 0 | — | Method: failed, Exit: 1 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 108 |
| Tool call traces | 108 |
| Generated files | 0 |
| Exit code | 1 |
| Completed at | 2026-10-16T00:40:37.043416+00:00 |

## Related Pages

- [Gemini API leaderboard](/leaderboard/gemini/api)
- [Compare Gemini API companies](/leaderboard/gemini/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/gemini/api/restate
