---
title: "AI Script Generation and Cost Limits | FoxCue"
url: "https://docs.foxcue.com/scripts/ai-script-generation-and-cost-limits"
date: "2026-11-24T14:49:36+00:00"
modified: "2026-11-24T14:48:29+00:00"
word_count: 518
reading_time: "3 min read"
description: "How FoxCue generates standard and long-form scripts, keeps your draft safe in Script history, caps each job's estimated AI cost and shows a cost receipt."
keywords: "Script, Generation, Cost, Limits"
language: "en"
---

When you click **Generate Script**, FoxCue writes a script from your brief, brand kit and selected sources in one budget-capped job. Your current draft is saved to **Script history** before anything is replaced, and each generation keeps a cost receipt.

## Standard vs long-form scripts

| | Standard | Long-form |
| --- | --- | --- |
| How it's written | One AI request | Source digests, an outline, then sections written one by one |
| Maximum AI calls | 1 | 24 (up to 15 source digests, 1 outline, up to 8 sections) |
| Where to choose it | Default | **Script Length → Long-Form Script** on a planned video, with a **Target Duration** |

Long-form generation runs in the background. Click **Run in Background** and keep working. Your draft stays available while it runs.

## Generate or regenerate

1. Open the script and click **Generate Script** (or **Regenerate Script**).
2. If the script already has text, FoxCue asks **Replace what you've written?** Click **Save a copy & replace**. A copy of your current draft goes to **Script history** first.
3. When it's done, you'll see **Generated script saved**.

If you kept editing while it generated, FoxCue doesn't overwrite your newer edits. The result opens in **Generated Script Result**, where you can **Copy Result** or **Save a Copy & Use Result**.

Open **Generation activity and recovery** to follow a running job or recover an earlier result.

## Cost limits

- Each generation job has a default ceiling of **USD $0.05** in estimated AI text costs.
- The ceiling is enforced for the supported, costed models. For other AI providers, token and call limits still apply, but the job reports `cost_limit_enforced: false` and no dollar estimate.
- Every regeneration starts a new budget.
- The ceiling covers AI writing only. Rendering, voice, images and research aren't included.
- Oversized requests fail instead of quietly dropping facts you selected.

<Note>
These are estimates based on published provider rates, not an invoice. The script job ceiling is still $0.05. Plans and finished minutes are separate: see [Billing and Usage](https://docs.foxcue.com/settings/workspace-usage-and-credits/). If a provider doesn't report usage, the estimate shows as unknown, never as zero. The writing method is chosen before generation, from the brand, format and industry defaults.
</Note>

## The cost receipt

The generation viewer shows a short receipt with the estimate and the limit. Successful versions keep it in **Script history**. The full receipt lists the model, number of calls, token totals, reserved upper estimate, price date and source, limit and usage state.

## Troubleshooting

- **"Generation failed."** The provider returned an error. Your previous script is kept. Try again.
- **"Complete the brief first."** Add a topic and usable facts or sources.
- **"Long-form generation failed" / "Generation cancelled."** Your current draft was kept.

## Frequently asked questions

### Does every script cost exactly $0.05?

No. $0.05 is the upper limit per job, not a price. Typical standard scripts estimate well under that. FoxCue doesn't charge for scripts today.

### Will regenerating lose my edits?

No. FoxCue saves a copy of your current draft to Script history before replacing it, and keeps newer edits if you typed while it ran.

## Related articles

- [Create a video script](https://docs.foxcue.com/scripts/create-a-video-script)
- [Script editor and versions](https://docs.foxcue.com/scripts/script-editor-versions-and-ai-rewrite-tools)
- [Billing and Usage](https://docs.foxcue.com/settings/workspace-usage-and-credits/)


---
_View the original page at: [https://docs.foxcue.com/scripts/ai-script-generation-and-cost-limits](https://docs.foxcue.com/scripts/ai-script-generation-and-cost-limits)_
_Served as markdown by [FoxCue Docs](https://docs.foxcue.com)_
_Generated: 2026-11-24T14:48:29 UTC_