Thanks for making this post, has been very helpful for me!
One question: How do you deal with truncation? I am facing this a lot right now with Claude Sonnet 5 through OpenRouter. I am requesting a similar word count to your reported average length, but many documents cut off way before—mid sentence. Around 200-300 words in. Curious whether you did anything specific to prevent this?
Edit: For anyone else running into this, this was due to selecting a specific JSON output format via the OpenRouter API—I would recommend against this thus ;)
Thanks for making this post, has been very helpful for me!
One question: How do you deal with truncation? I am facing this a lot right now with Claude Sonnet 5 through OpenRouter. I am requesting a similar word count to your reported average length, but many documents cut off way before—mid sentence. Around 200-300 words in. Curious whether you did anything specific to prevent this?
Edit: For anyone else running into this, this was due to selecting a specific JSON output format via the OpenRouter API—I would recommend against this thus ;)