Below is a recalculation based on your two points:
- For “LLM1” (the “Claude 3 Sonnet” case), you now want to assume that a “page” is 1,000 tokens rather than 400 tokens. (That is, every page’s tokens go from 400 to 1,000, so the token counts per “story” will increase by a factor of 2.5.)
- For “LLM2” (the GPT‑4o case) you noted that while I originally computed “28.8 cycles per day” (since 1 page is generated every 5 minutes over a full day you get 1440/5 = 288 pages, and with 10 pages per story that gives 28.8 stories per day), later I mistakenly used a value corresponding to only 14.4 cycles per day. We now want the full 28.8 stories/day (and thus 28.8 × 30 = 864 stories/month).
Below I recalculate each “LLM” cost step‐by‐step.
A. Story Generation Details (for either LLM)
Let’s assume that each “page” now is 1,000 tokens. The procedure is:
– Start with an initial prompt of one page (1,000 tokens).
– Then generate 10 parts (each of which is about 1 page, i.e. 1,000 tokens in output) with increasing context. For part i, the prompt or input is the entire story so far (which grows by 1,000 tokens each step).
Thus, for each story we have 10 “generations”:
-
Part 1:
– Input: 1,000 tokens (starting prompt)
– Output: 1,000 tokens
– Total tokens = 2,000
-
Part 2:
– Input: previous (1,000 + 1,000) = 2,000 tokens
– Output: 1,000 tokens
– Total tokens = 3,000
-
… and so on, up to
-
Part 10:
– Input: 10,000 tokens (the previous 10 pages)
– Output: 1,000 tokens
– Total tokens = 11,000
Thus the total number of tokens per story is:
[
\text{Total per story} = (2,000 + 3,000 + 4,000 + \cdots + 11,000)
]
There are 10 parts. If you separate the input and output contributions you get:
• Input tokens:
The input for part i is i*1,000 tokens (with i from 1 to 10), so
[
\text{Input total} = 1,000 \times (1 + 2 + \cdots + 10) = 1,000 \times 55 = 55{,}000
]
• Output tokens: There are 10 generations × 1,000 tokens each = 10,000 tokens.
So, Total tokens per story = 55,000 + 10,000 = 65,000 tokens.
B. Story Cycles per Month
Since a new page is produced every 5 minutes, in a full day (1440 minutes) you generate
[
1440 \div 5 = 288 \text{ pages.}
]
Because each story is 10 pages, the number of stories per day is:
[
288 \div 10 = 28.8 \text{ stories/day.}
]
Over a 30‑day month that is:
[
28.8 \times 30 = 864 \text{ stories/month.}
]