How to use Gemini quickly on Anvil?

By the way, if you want to go for hosting it elsewhere, you should take a look at Workers AI

It’s basically free for now (even though it says that is has some usage quota but that doesn’t seem to apply to most models). It has lots of models (including Gemma) and the performance is great (Because you get Cloudflare infrastructure).

Although you will have to use it using an HTTP request (and you will have to write some js code for it). I am already using that on my Anvil app so I can help with that if you want.

4 Likes