Gary by QUANTIS
Get Gary

Bring your own model

Updated November 29, 2026

Gary can run on a model you supply: an Anthropic API key, any OpenAI-compatible endpoint, or a model on your own GPU. You connect it once in Settings, then choose it for a Gary, a chat, or a routine like any other model.

Work on your own model doesn't count toward your plan's limits or credit.

What you can connect

You have Connect it as Who bills the usage
An API key from Anthropic Claude. See Use your own API key. Anthropic, to your key
An account with a provider that has an OpenAI-compatible API An endpoint, with that provider's address and your key That provider
A model on your own GPU An endpoint, with your server's address Nobody. There's no per-token cost.

An OpenAI-compatible endpoint is any server that answers the OpenAI chat completions API. vLLM, Ollama, llama.cpp, and LM Studio all serve one, and so do most hosted model providers.

Connect an endpoint

  1. Choose your initials at the top of the sidebar, then choose Settings.
  2. Choose Your AI, then choose Add beside OpenAI-compatible endpoint.
  3. Fill in the fields in the table below.
  4. Choose Test. Gary runs its checks and shows the result of each.
  5. Choose Connect.
Field What to enter
Name What the Model menu calls it, such as "Office GPU"
Endpoint URL The address up to and including /v1, such as https://models.example.com/v1
API key The key the endpoint expects. Leave it empty if the endpoint needs none.
Model name The name the endpoint answers to. Choose List models to pick from what it serves.
Context length The model's context window in tokens. Gary fills this in when the endpoint reports it.

To serve several models from one endpoint, choose Add model and enter each name.

The key is kept the way an Anthropic key is: in the secrets store, never in QUANTIS's database, and never shown to the model. Settings shows only its last 4 characters.

Where the endpoint must be

Gary's computer makes the call to your model, so the endpoint must be reachable from where Gary runs.

Gary runs The endpoint can be
In QUANTIS's cloud A public HTTPS address. Gary's computer can't reach private addresses by default.
In QUANTIS's cloud, with a route to your network An address inside your network. See Private networks.
On your own hardware Any address your hardware can reach, including localhost

For a model on the same machine as Gary, use that server's local address. Ollama listens on http://localhost:11434/v1 by default, and vLLM on http://localhost:8000/v1.

Choose it for a Gary, a chat, or a routine

A connected model appears in the Model menu under Your models, with the name you gave it.

  • For a Gary. Choose the Gary's name at the top of its chat, choose Model, and pick it.
  • For a chat or a task. Choose Model in the message box before you send.
  • For a routine. Open the routine, choose Edit routine, and pick a Model.

See Choose a model for each of these in full.

What a model needs to work well

Gary does its work by calling tools: the browser, the terminal, files, and your connected apps. A model that can't call tools reliably can chat and can't do Gary's work.

Requirement What Gary needs
Tool calling Function calling in the OpenAI format, with several tool calls in one reply
Context length At least 64,000 tokens. 128,000 or more for long documents and long jobs.
Streaming Streamed replies, so you see Gary's words as they're written
Images Optional. Without them, Gary reads pages as text and can't look at screenshots.

On vLLM, start the server with tool calling turned on for your model. On Ollama, pick a model that supports tools, and raise its context length from the default.

A small model does simple, repeated jobs well: sorting mail, pulling fields from documents, checking a page for a change. Give planning, long research, and work across many apps to a larger model.

What it costs

  • On your own GPU, there's no per-token cost. A long job, such as reading a thousand files, can run overnight.
  • Your plan's limits don't apply. Work on your model doesn't count toward your 5-hour limit, your weekly limit, or your monthly credit.
  • A provider bills you directly. With a hosted endpoint, that provider's prices, limits, and terms apply.
  • Usage is still shown. Settings, under Your AI, lists the tokens each Gary and routine used on your model this month, at no charge.

When prompts stay on your network

Prompts go from Gary's computer directly to your endpoint. Where they travel depends on where both run.

Gary runs The model runs Prompts
On your hardware On your hardware Stay on your network
On your hardware At a provider Go from your network to that provider
In QUANTIS's cloud On your hardware Go from QUANTIS's cloud to your endpoint, encrypted
In QUANTIS's cloud At a provider Go from QUANTIS's cloud to that provider

Gary makes a few short calls beside your work: chat titles, recaps, and the review of each action. In Your AI, turn on Use this model for everything to send those to your model as well. With it on and a fallback of Wait, no prompt goes to any other model.

See Run Gary on your own hardware.

If your model is down

Gary doesn't quietly move your work to another model. In Your AI, set If it doesn't answer for each model you connect.

Setting What Gary does
Ask me Stops and asks: wait, or finish this job on another model. This is the usual setting.
Wait Tries again until the model answers. Routines wait, and nothing runs elsewhere.
Use another model Moves to the model you pick, and tells you which model answered.

Gary tries an endpoint three times before it treats it as down. While it's down, Settings shows Needs you beside the model, and you get a notification.

Message What to do
Gary couldn't reach your model. Check that the server is running and that its address is reachable from Gary's computer.
Your model refused the key. Paste the key again in Your AI.
Your model doesn't know that model name. Choose List models and pick a name the endpoint serves.
The conversation is longer than your model's context. Start a new chat, or set a model with a longer context.
Your model didn't return a tool call Gary could read. Turn on tool calling at the server, or pick a model that supports it.

Test a model before you rely on it

Test in Your AI runs four checks: the endpoint answers, the model name exists, a tool call comes back well formed, and a long prompt fits. Run it again after you change the server.

Then try the model on work you can check.

  1. Start a new chat on the model and give it a job you already know the answer to.
  2. Ask the same question of two models and compare. See Choose a model.
  3. Move one routine to the model for a week before you move the rest.

Compare against a model you trust

Sends one question to your model and another, and shows where they differ.

Starter prompt

Ask two models, Office GPU and the QUANTIS model: which of these 12 invoices don't match their purchase orders? Show me where the answers differ.

Run a long job overnight

Uses a model with no per-token cost for work that reads a lot.

Starter prompt

Tonight, on Office GPU, read every PDF in Contracts and list each one's renewal date and notice period in a sheet.

For a company

On a company account, an admin connects the model once for everyone. In the console, choose Settings, then Models, and add the endpoint. Admins choose which models people can pick, and which model new Garys start on.

On a company cluster, the model key is added inside your cluster and doesn't pass through QUANTIS. See Installing for your organization.

On iPhone

Open Settings, then Your AI. You can connect, test, and remove a model there, and the Model menu lists your models in the same place as on the web.