Generate full test suite
Cursor 0.55 (Apr 2026) · Published May 2026
Works with
Vitest tests for an existing API.
Credits
120
Per credit
$0.040
Total cost
$4.80
Time
1 hr
4.5 · 36 reviews· @devlife·IntermediateCoding
Vitest tests for an existing API.
Credit usage is averaged from real builds on Cursor (Fast request). Cost per credit reflects the public list price. Your usage may vary depending on prompt quality and iterations.
Best option for 4×/mo: ChatGPT (API) · GPT-4o-mini · pay-as-you-go ($0.979/mo)
| Tool | Model | Credits | $/credit | Per run | 4×/mo | Best plan | Monthly |
|---|---|---|---|---|---|---|---|
| GPT-4o-mini | 816.0k | $0.0000 | $0.245 | $0.979 | Pay-as-you-go | $0.979 Best | |
| Haiku | 750.0k | $0.0000 | $1.13 | $4.50 | Pay-as-you-go | $4.50 | |
| GPT-4o | 816.0k | $0.0000 | $4.08 | $16.32 | Pay-as-you-go | $16.32 | |
| Fast request | 120 | $0.040 | $4.80 | $19.20 | Pay-as-you-go | $19.20 | |
| Sonnet 4 | 750.0k | $0.0000 | $6.00 | $24.00 | Pro | $20.00 |
Subscription prices are public list prices as of May 2026. Actual usage varies based on prompt quality and iterations.
Saved me hours. Cost estimate was spot on.
Great structure. Would love a video version.