News for hackers. Stuff that matters.
Re:Show HN: I Wrapped the Zorks with an LLM by alecf on Tuesday January 27, 2026 @05:47PM (#46788234)
At least for the sake of this demo, the costs are actually pretty small, especially given that many of the ... even at $1.75/1M tokens you'd have to have 2 megabytes of text across all users before this even broke $1...
Re:Show HN: I Wrapped the Zorks with an LLM by storystarling on Tuesday January 27, 2026 @06:20PM (#46788601)
The unit price looks low but the cost driver in these apps is usually the context window. You have to re-send the full history every turn to maintain state, so you end up paying for the same tokens dozens of times. By the end of a long session the cost per interaction is significantly higher than at the start since you're re-processing the entire game log for every new command.
Re:Show HN: I Wrapped the Zorks with an LLM by selcuka on Tuesday January 27, 2026 @08:55PM (#46790040)
Cached tokens are cheaper. Also there are ways to compress the context (not sure if this game employs any of those techniques).