Tools & keys · AI

Custom OpenAI-compatible AI setup

Your own model server, or any other OpenAI-compatible API.

Optional
Updated
Free tier
Free when it runs on your own hardware. A paid API put here bills you at its own rates, and Larvabot can't cap that.
checked September 2026
Larvabot's cap
Nothing to cap: rate limits just hand the job to the next provider.
Fallback position
#7 of 7 for AI. See the order

What it does

Anything that speaks the OpenAI chat completions API works here: Ollama or LM Studio on your own machine or VPS, vLLM, or a paid provider you already use.

  • The very last AI fallback, after every free provider

Get set up

  1. Run an OpenAI-compatible server, for example Ollama (ollama serve, then ollama pull llama3.1)
  2. Make it reachable from the internet over HTTPS, protected by a key
  3. In Settings → AI, set Custom AI base URL (ending in /v1), Custom AI model and, if needed, Custom AI key
  4. Click Check next to it on the Jobs & providers page
Open Ollama

Where it goes

In the dashboard, open Settings and find the AI section. Secret values are encrypted before they're saved and only their last four characters are ever shown again.

Settings → AI
Custom AI base URL
LLM_BASE_URL
http://your-vps:11434/v1
Custom AI model
LLM_MODEL
llama3.1
Custom AI keyencrypted
LLM_API_KEY
••••••••••••

Staying free

It is tried last, so a paid endpoint only gets the calls every free provider turned down. It still has to pass the AI quality check before it writes anything.

How the quota guard works →

Larva tip

Small local models (under ~8B parameters) often fail the quality check. That's the check doing its job: their drafts read like drafts.

Fallback order

For AI, Larvabot tries these in order and skips any that aren't set up, are out of free quota or are busy. AI providers also have to pass the quality check on the Jobs & providers page.

  1. 1Google Gemini
  2. 2Groq
  3. 3OpenRouter (:free models)
  4. 4Cloudflare Workers AI
  5. 5Cerebras
  6. 6Mistral
  7. 7Custom OpenAI-compatible (e.g. Ollama)

More AI tools

Keep going