# The model your app calls

> Host the app behind an AI feature. See the slow answer, the key, the provider's bill, what a prompt sends, and a model retirement.

Source: https://customhosted.com/ai-features/

№ 01 AI features

Many apps now call a hosted model to write a summary, draft a reply, or search their own documents. We host the app that makes the call. This page covers the slow answer, the bill that sits with the provider, and the day the provider retires your model.

Revised 29 Nov 2026

№ 02 What changes when your app calls a model

## What changes when your app calls a model

A model call does not behave like a database read. Three things change.

- Fact 1 — An answer takes seconds, not milliseconds — A database read is fast. A model writes its answer word by word, so a long answer takes longer. Your app must stream the answer or hand it to a background job.
- Fact 2 — Each call costs money on the provider's meter — The provider bills you for every call. Our flat rate stays the same. If the feature gets popular, the provider bill goes up, and ours does not.
- Fact 3 — The model you call is retired on the provider's date — A provider replaces a model on its own schedule. An old model name stops answering. Your app then needs a change, and the date is not yours to pick.

№ 03 Where a call goes

## Where a call goes, hop by hop

From the visitor's question to the text on the screen. Each hop has one owner.

1. 1 — A visitor asks for something in your app — The visitor types a question or presses a button. The request reaches your app through the edge network. — The visitor
2. 2 — Your server builds the prompt — Your code adds instructions and data to the visitor's text. This step decides what leaves your system. — Your app
3. 3 — The instance makes the call — A dedicated instance sends the call from its static IP. The key sits on the instance as a secret. — We run it
4. 4 — The provider runs the model — The provider's own system reads the prompt and writes the answer. We do not run model weights. — The provider
5. 5 — The answer comes back in pieces or in one block — A streamed answer arrives a few words at a time. A plain call waits until the whole answer is ready. — The provider
6. 6 — Your app checks and shows the answer — Your code decides what the visitor sees. Nothing between the provider and the visitor reviews the text. — Your app

№ 04 What runs it, by hosting shape

## What runs each part, by hosting shape

The key and the call need a server. A static site has none.

- **Static Starter ST-STARTER**: **The page that shows the answer.** No standing server, so nothing here can hold a secret at all. A call to an outside service has to run from the visitor's own browser, out in the open. That's fine for a map or a widget. Never for a payment key. The model key therefore never goes here. A call from the browser would put the key in front of every visitor.
- **Dedicated M DD-M**: **The server code that holds the key and calls the model.** A standing process makes the call from the server side. Every instance ships with its own static IP. That's exactly what a payment or banking API wants for an allowlist. The model key lives on this instance.
- **DB Starter DB-STARTER**: **Saved questions, saved answers, and per-user counts.** An app often saves what a visitor asked and what came back. The database tier holds those rows, apart from the app process.
- **Custom CU-0**: **A model that you run yourself.** A self-run model needs a machine we do not sell as a plan. We size it once, at the quote stage.

№ 05 The slow answer

## Stream it, or queue it

A model answer is slow. Your app chooses how the visitor waits.

- Your app owns it — Stream the answer — Send the first words as they arrive. The visitor sees progress at once. Your code must handle a stream that stops half way.
- Your app owns it — Or queue the work — The long job starts with a request, but one too slow to answer inside a normal request-response window. A long summary is that kind of job. Put the call on a queue, and show the answer when it is ready. [Background jobs](https://customhosted.com/background-jobs)
- Your app owns it — A dedicated release restarts — it does not swap — A release ends every answer that is still streaming. The visitor sees a cut-off reply. Your app must let the visitor ask again. [Deploys](https://customhosted.com/deploys)
- Your app owns it — Set your own wait limit — Decide how long your code waits for the provider. We publish no timeout figure. The right wait depends on the model and on your feature.
- CustomLabs builds it — Build the first version — CustomLabs builds the feature, the stream handling, and the retry. We host it and ship each change you brief.

№ 06 The bill you hold

## The bill sits with the provider

Our rate stays flat. The provider's meter keeps running.

- Costs you owe somewhere else — A domain registration, a payment processor's own fee, anything a third-party service bills you directly. The model provider bills you directly, for each call. [Billing](https://customhosted.com/billing)
- Our rate stays flat — A traffic spike does not change our rate, up to the fair-use allowance on the Billing page. That rule covers our side only. The provider still meters each call. [Billing](https://customhosted.com/billing)
- An open endpoint is a target — Bots and scrapers do not stop at web pages. A bot can call your model endpoint over and over, and each call spends your credits at the provider. No web-application firewall or rate limiting as standard. [Under attack](https://customhosted.com/under-attack)
- A scraped endpoint needs a cap — A specific page or API is getting pulled too fast — the fix is a rate limit or a check written into that endpoint. For a model endpoint, set a limit per visitor, and set a daily ceiling on the provider's own dashboard. We brief the limit as a change. [Under attack](https://customhosted.com/under-attack)

№ 07 What a prompt sends

## What a prompt sends, and where it stays

The prompt leaves your system. Decide what goes in it.

- A prompt can carry personal data — If your app adds a name, an order, or a message to the prompt, that data goes to the provider. Send only what the feature needs. [Your data](https://customhosted.com/your-data)
- The provider keeps its own copy — How long the provider keeps a prompt is in the provider's terms, not ours. Read them before you send real customer data.
- Our logs skip the text — What a visitor typed or posted is not written down. Only that a request happened, and what came back. Your own code may still write a prompt to a log. Do not. [Logs](https://customhosted.com/logs)
- The key is a secret — A value that grants access, and must not leak — to a person, a log, or a public bundle. Examples: An API key, a database password, a signing key, a connection string. The model key belongs on the server, never in the browser. [Configuration](https://customhosted.com/configuration)
- The staging copy needs its own key — A payment gateway or a customer-messaging tool usually needs its own sandbox mode, or isn't wired into staging at all — check per integration rather than assuming. Give staging a separate key with a low spend limit. [Environments](https://customhosted.com/environments)

№ 08 This site's own model calls

## This site's own model calls: none

The build checks this on every deploy. No chat widget ships here.

- This site calls no model — customhosted.com has no chat widget, and no page calls a model. Each page is plain HTML, built before it ships.
- 1 third-party host — The build counts every outside host that a page loads. The number above is that count. The privacy notice names each host on the list.
- The build fails on a new host — A chat widget or a model call from the browser adds a host. The performance check fails the build until someone adds that host to the list on purpose.

№ 09 The CodeHerder line

## A retired model is a briefed change

You brief it. An agent writes it. A person reviews it before it ships.

The provider sets the retirement date. Your app must change before that date. Brief the swap, and it opens as a pull request. The Agentic iteration — CodeHerder add-on ($25/mo) covers it.

1. 1 — The provider posts a retirement date — The provider emails you, or posts a notice. Send us the model name and the date. The date is not ours to move. — You
2. 2 — We rerun your test prompts against the new model on staging — A new model can answer in a different way. We run your saved test prompts against it and read the answers before anything ships. — CustomHosted
3. 3 — Briefed as a change — Written up the same way any other change request is. The iteration add-on is what covers it. — CustomLabs
4. 4 — An agent opens the pull request — The model swap lands as a real pull request against the repository, with the test suite run against it. — CodeHerder
5. 5 — A human reviews and merges — Someone reads the diff before it goes anywhere near production — nothing here is auto-applied blind. — CustomLabs
6. 6 — It ships through the same pipeline — The same pipeline that deploys everything else on your stack ships this too — no separate process to babysit. — CustomHosted
7. 7 — You're told it's done — A note confirming what changed and that it merged, in the same shape as every other note on this site. — CustomHosted

A new feature is a separate job. CustomLabs builds it, and we host it. A server failure follows the [Monitoring](https://customhosted.com/monitoring) ladder, like any other failure.

№ 10 What it costs

## What an app that calls a model costs

Flat monthly rates. Each price comes from the rate card.

- The app that calls a model — $71/mo — One dedicated instance holds the key and makes the call. A database tier holds saved questions and answers. — Dedicated M + DB Starter — [Quote this shape](https://customhosted.com/contact?plan=DD-M&amp;db=DB-STARTER&amp;type=app&amp;data=needs-db)
- The same app, with briefed changes — $96/mo — The same instance and database, plus a monthly allowance for changes. A model retirement is one such change. — Dedicated M + Iteration — CodeHerder loop + DB Starter — [Quote this shape](https://customhosted.com/contact?plan=DD-M&amp;addons=AD-CH&amp;db=DB-STARTER&amp;type=app&amp;data=needs-db)

- We cannot see, cap, or pay the provider's bill — The provider meters each call and bills you. Our flat rate does not include it. Set a spend ceiling on the provider's own dashboard.
- A model swap is a briefed change — A new model name, a new prompt, or a per-visitor limit is covered by the Agentic iteration — CodeHerder add-on ($25/mo). It uses the same pipeline as any other change.
- A new feature is a separate piece of work — CustomLabs quotes the feature itself. We host it once it exists.

№ 11 The honest limits

## Said plainly

Every limit here is one we hold to.

- We do not run a model for you as a standard plan — No plan lists a GPU, and we run no model weights. Your app calls a provider's model. A model you run yourself is a custom quote.
- We cannot see, cap, or pay the provider's bill — The provider meters each call and bills you. Our flat rate does not include it. Set a spend ceiling on the provider's own dashboard.
- We do not check what the model says — A model can write a wrong or odd answer. We host the app that shows it. Checking the text is your app's job.
- A dedicated release restarts — it does not swap — A single dedicated instance has no second copy standing by to take traffic while the new version starts. A release is a short, health-checked restart, not an instant handoff between two running copies. [Deploys](https://customhosted.com/deploys)
- Third-party outages, we cannot fix — A dependency living in a service we do not run goes down on its own schedule, not ours. A provider outage stops the feature, and we cannot restart it. [Outside services](https://customhosted.com/outside-services)
- Third-party services aren't watched by us — Anything living in a service we don’t run watches itself on its own schedule, not ours. [Monitoring](https://customhosted.com/monitoring)

№ 12 Answers

## AI features, answered

The questions people ask before they add a model call.

1. 01 Can you host an app that calls a language model? Yes. A dedicated instance holds the key and makes the call. The model itself runs at the provider. A database tier holds saved questions and answers.
2. 02 Do you run the model? No. No plan lists a GPU. Your app calls a provider's model. If you need a model you run yourself, ask for a custom quote.
3. 03 Who pays for the model calls? You pay the provider. The provider meters each call and bills you. Our flat rate does not include it. Set a spend ceiling on the provider's own dashboard.
4. 04 Why does my answer cut off after a release? A release restarts a dedicated instance. An answer that is still streaming ends. Let the visitor ask again, or hand long work to a background job.
5. 05 Where does the model key go? On the server, as a secret. A static site has no server, so it cannot hold the key. Never put the key in browser code.
6. 06 What stops a bot from spending my credits? A limit per visitor on the endpoint, plus a daily ceiling at the provider. Nothing at the edge does this by default. We brief the limit as a change.
7. 07 What happens when the provider retires my model? Send us the model name and the date. We rerun your test prompts against the new model on staging. The swap then ships as a briefed change, after a person reviews it.

### On your framework

Some answers depend on what the app is built with. Each one is on that framework's page.

- Python — [Can my Django or FastAPI app call a language model?](https://customhosted.com/host/python#faq-can-my-django-or-fastapi-app-call-a-language-model)
- Node.js — [Can my Node API call a language model?](https://customhosted.com/host/node#faq-can-my-node-api-call-a-language-model)

№ 13 Keep reading

## AI features connects to

- [From prototype to production Built the app with an AI tool? Start with where it runs and where the key lives.](https://customhosted.com/guides/from-prototype-to-production)
- [Outside services The model provider is one of these. We run the server that calls it.](https://customhosted.com/outside-services)
- [Background jobs Where a slow answer can go when no visitor should wait for it.](https://customhosted.com/background-jobs)
- [Deploys What a release does to an answer that is still streaming.](https://customhosted.com/deploys)
- [Under attack The perimeter, and the cap on an endpoint that a bot can spend.](https://customhosted.com/under-attack)
- [Your data A prompt can carry personal data. Where it goes, and what a delete does.](https://customhosted.com/your-data)
- [Configuration Where the model key lives and how it is replaced.](https://customhosted.com/configuration)
- [Environments The staging copy, and the separate key it needs.](https://customhosted.com/environments)
- [Billing What our flat rate covers, and what it leaves to the provider.](https://customhosted.com/billing)
- [Dedicated The instance that holds the key and makes the call.](https://customhosted.com/dedicated)

## Adding a model call to your app?

Tell us what the feature does and which provider you use. A model swap is a brief, and the Agentic iteration — CodeHerder add-on ($25/mo) covers it.

[Get a quote →](https://customhosted.com/contact)
