Find the latest API costs of LLM models roughly on par with GPT o3. With those values, calculate the monthly expense of the following:
Generate a 10 page story in 10 parts (assume a 1 page starting prompt). Each part generates roughly a page. It takes about 5 minutes for it to request the next page (so a page every 5 minutes). After 10 pages of context, it's done and the process restarts.
In your calculations ensure you're taking account of the increasing context size. Give a cost breakdown of using various different models.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
To calculate the monthly API costs for generating stories with LLMs like GPT-3.5-turbo or others “roughly on par” (e.g. Claude Haiku, Mistral Medium, etc.), we need to consider:
📌 Task Overview
Outputs: Generate 10 parts for a story, each about 1 page.
Prompt: Starts with a "starting prompt" (~1 page).
Context size: Grows with each part up to 10 pages. After that, it resets.
Time-based operation: One page every 5 minutes.
Total per story: 10 generations over ~50 minutes, restarts continuously.
Text/page estimate: ~750 words = ~1000 tokens (round number).
1. Estimate Monthly Usage
⏱️ Pages per hour:
60 min / 5 min = 12 pages/hour
This means:
1 story (10 pages) takes ~50 minutes.
So ~14.4 stories/day (24 hours / 50 min = 28.8 loops/day).
We’re just limited by time—not computation.
We'll get:
✅ Daily: ~144 generations/day (10 per story × 14.4 stories)
✅ Monthly: 144 × 30 = 4,320 generations
Now let's break down token usage per iteration, since costs are per 1K tokens input/output combined.
2. Estimate Token Usage per Generation
We’ll assume:
~1 page = ~1,000 tokens.
Each new part includes the full previous context + prompt.
So we must account for growing input tokens as story builds up.