I found that it's hard to get it to even use 2k of the 4k completion length. Most of the time, it's happy to stop after 1k and just insert comments like "<-- rest of the section -->"
Here's one I got it to output almost 4k tokens.
Reference website: https://canvasapp.com Generated code: https://a.picoapps.xyz/explain-company (images are now broken)
The defensive prompting does seem to help!