r/nanogpt • • 22d ago

Opencode integrations

1 Upvotes

I use NanoGPT with opencode via API. However, NanoGPT has way too many models and managing what to import, selectively, is not always easy. So to simplify my life I created two smalll tools:

- opencode-nanogpt this is a rust command line where you can find and select models and slot them into the open code configuration. It allows for some filtering so it should be easy. It's available with homebrew.

- opencode-nanogpt-plugin this is a TUI plugin that monitors my usage of NanoGPT directly in opencode. It's good enough for now.

Any trouble feel free to open an issue and make a PR.


r/nanogpt • • Jun 08 '26

Erro 413 via nano gpt

4 Upvotes

I'm using GLM 5.1 via nano gpt subscription, the problem is that recently using a bot that's quite heavy on tokens I ended up getting a 413 upstream error. The bot has around 30k tokens and a lot of lorebooks, but I think it might have caused this error because the bot also generates images. Has anyone else encountered this error, and does anyone know how to solve it or why it happens?