v0.47 Release: LLMClients That Read Your Documents, and Costs You Can Trust

v0.46 was about who owns what, with account hierarchies, shared resources and account administrators. v0.47 is about two things that a real AI application needs on its first day. It has to answer from the organization’s own documents, and every question has to cost what it really cost.

Since v0.16, Smarter could store documents in a Vectorstore and search them with a Vectorsearch. But no LLMClient could use either one. v0.47 connects them. On the cost side, a new platform charged nothing for any prompt, a plugin call was counted three times, and a prompt from the workbench was billed to the wrong person. All of that is fixed.

v0.47.0 shipped today, and six patches, v0.47.1 to v0.47.6, followed it the same day. This post covers all of them.

ChangeWhat it does
Vectorsearch as a toolAn LLMClient lists Vectorsearches in its manifest, and its model searches your documents when a question needs it.
Vectorstore deploys in the backgroundDeploy returns at once, retries what can be retried, and reports its progress as conditions.
Documents from the CLI and the consoleAdd, list and remove a Vectorstore’s documents with smarter documents, or by dropping files in the web console.
Model prices on every platformA new platform starts with prices for its default models, so charges, budgets and the dashboard show real money.
Accurate chargesEach model call is counted once, and a workbench prompt is charged to the person who sends it.
Fixes for the first-time userDeployed LLMClients stay deployed, local URLs work, and the Smarter Journal is on by default.

Each change is described below.


Let an LLMClient search your documents

An LLMClient’s manifest had no field that named a Vectorsearch, and the Vectorsearch documentation said that search results were added to the LLMClient’s system prompt. That was never true. In v0.47 it is real, and it works differently from what the old docs described.

Each Vectorsearch that an LLMClient lists is offered to its model as a tool. The tool takes one argument, a search query that the model writes, and returns the passages that the search found. The model decides when to search and what to search for. A question that the documents can’t help with costs no search, and a question that needs two searches gets both.

Adding search results to every system prompt was considered and rejected. That approach searches on every question, relevant or not, uses the user’s words instead of a query written for the documents, and can’t search twice. Tools also get what Smarter already does for tools. They appear in the chat’s tool calls, and guardrails and budgets apply to them.

Here is the Stackademy course advisor from Part 6 of Your First AI Application, which walks through every step. First, a Vectorstore that holds the student handbook.

apiVersion: smarter.sh/v1
kind: Vectorstore
metadata:
  name: stackademy_handbook
  description: Stackademy's student handbook and policies.
  version: 1.0.0
spec:
  backend: pinecone
  hosting: managed
  connection: pinecone
  index:
    dimension: 1536
    metric: cosine
  embeddings:
    provider: openai
    model: text-embedding-3-small
  pinecone:
    cloud: aws
    region: us-east-1

Then a Vectorsearch of it. Its description matters, because the model reads it to decide when to search.

apiVersion: smarter.sh/v1
kind: Vectorsearch
metadata:
  name: handbook_search
  description: >
    Searches Stackademy's student handbook, for its policies on enrollment, refunds, transfers, extensions,
    grading, certificates, accessibility and academic honesty.
  version: 1.0.0
spec:
  config:
    vectorstore_name: stackademy_handbook
    search_type: similarity
    k: 4
    is_enabled: true

Then the LLMClient lists it, next to its plugins and guardrails.

apiVersion: smarter.sh/v1
kind: LLMClient
metadata:
  name: course_advisor
  description: Answers students' questions about Stackademy's courses.
  version: 1.5.0
spec:
  config:
    prompt:
      provider: openai
      defaultModel: gpt-6-luna
  plugins:
    - course_catalog
    - course_prerequisites
  guardrails:
    - stackademy_topics
  vectorsearches:
    - handbook_search
smarter apply -f stackademy-handbook-store.yaml
smarter deploy vectorstore stackademy_handbook
smarter documents vectorstore stackademy_handbook --add stackademy-handbook.md
smarter apply -f handbook-search.yaml
smarter apply -f course-advisor.yaml

In an end-to-end test against a real Pinecone index, the model searched the handbook to answer a refund question. For the cost of a certificate, it combined the handbook with the course catalog plugin and a SQL prerequisite query, and got the answer right.

  • Search settings stay on the Vectorsearch. Search type, k, score threshold, MMR and metadata filters all apply when the model searches.
  • Budgets apply. A search checks the budgets of the Vectorsearch and of the user. When one is exhausted, the model is told why, instead of the chat failing.
  • Errors go to the model. A disabled Vectorsearch, or a Vectorstore that isn’t ready, comes back to the model as an error it can explain to the user.
  • Search answers are never cached, because documents change.
  • Delete is safe. A Vectorsearch that an LLMClient uses can’t be deleted, and smarter describe lists those LLMClients. A cloned LLMClient keeps its Vectorsearches.

📖 Vectorsearch documentation


Vectorstores deploy in the background

Deploying a Vectorstore used to run inside the HTTP request. Pinecone waits until a new index is ready, which can take minutes, so smarter deploy held the request open all that time. On a slow day the result was a gateway timeout and a half-created index. A self-hosted Qdrant server needs a volume, an image and a pod that starts, and each of these can fail on its own. The only retry was a background job every 5 minutes, with no limit and no way to tell a refused API key from a timeout.

Now smarter deploy vectorstore checks what it can at once, then hands the rest to a background task and returns.

  • Fast failures stay fast. A refused API key, or an inactive Vectorstore, fails the deploy immediately, with the reason.
  • Retries with backoff. The task checks every 15 seconds while it waits, and doubles the wait after each error in a row, up to 5 minutes. It gives up after 80 checks, about 20 minutes, and says what it was still waiting for.
  • Progress you can read. smarter describe and the REST API show Kubernetes-style conditions, Credentials, Volume, Server and Index, in the order a deploy meets them, plus the attempt count, the next retry time and the last error.
  • No lost deploys. If a deploy’s task is lost, the periodic check notices and takes it over.

Earlier in the day, v0.47.0 had already fixed a related bug. A deploy whose database couldn’t be reached, for example because Pinecone refused the key, used to answer deployed. anyway. Only smarter describe showed that it had failed.

📖 Vectorstore documentation


Add documents from the terminal or the web console

Until now, only the REST API could add documents to a Vectorstore. There are now two more ways.

The CLI. smarter-cli v0.6.0 adds the documents command.

smarter documents vectorstore stackademy_handbook                       # list them, with their status
smarter documents vectorstore stackademy_handbook --add handbook.md --add faq.pdf
smarter documents vectorstore stackademy_handbook --url https://example.com/faq.html
smarter documents vectorstore stackademy_handbook --remove faq.pdf     # by id or name

The web console. A Vectorstore’s details page has a new Documents section. Drop or choose files, or add a public URL, then follow each document’s status as it loads, see why one failed, and remove one.

Documents can be added before the Vectorstore is deployed. Earlier releases said those documents would load once it was deployed, but nothing loaded them until an hourly job noticed, up to 90 minutes later. Now they are queued the moment the deploy is ready.

Only a Vectorstore’s owner can add or remove its documents. Anyone it is shared with can list them.

📖 Vectorstore documents


Costs that add up

Every platform starts with prices

A new platform had no model prices, and only the Django admin or a Python shell could add them. A charge without a price costs nothing, so every prompt cost 0 USD. Budgets measured in dollars never saw any spending, and the dashboard’s usage and Budget vs Actual charts were empty. That was true of every platform whose operator hadn’t entered prices by hand, the Quick Start’s included.

initialize_platform now runs a new command, initialize_llm_prices, which loads a price catalog for the built-in providers’ default models.

ProviderDefault modelInput, per million tokensOutput, per million tokens
OpenAIgpt-6-luna$0.10$0.50
Anthropicclaude-sonnet-4-6$3.00$15.00
Together AIopenai/gpt-oss-120b$0.15$0.60
Metamuse-spark-1.3-contributor$0.10$0.20

Each price was checked on its provider’s own pricing page on November 23, 2026. Google Gemini, Mistral and Cohere are left out, because their pricing pages didn’t confirm a price for the model Smarter uses by default.

Smarter stores one price per million tokens, so it blends the two at three input tokens to one output token, the usual convention. That makes gpt-6-luna $0.20 per million tokens. The command never changes a price that already exists, so prices you set yourself are kept.

Each model call is counted once

A model call that used a plugin was charged three times to its provider, its LLMClient, its user and their account. One question to the tutorial’s course advisor that used 1,882 tokens counted as 3,456, and a daily token budget locked him after a single question.

Now each model call is charged once to the provider, the LLMClient, the user and the account. A plugin call is charged only to the plugin and its connection, and a tool call only to the tool’s own resources, such as an MCPClient. Budgets on plugins, connections and MCPClients still see every call that used them.

Workbench prompts are charged to the person who sends them

When a signed-in user prompted an LLMClient from the workbench, the charge went to the LLMClient’s owner, often an administrator, and the owner’s budgets were checked instead of the user’s. In a classroom, that meant one instructor’s budget paid for every student’s experiments.

The rule is now simple. In the workbench, the person who is prompting pays, and their budgets apply. Everywhere else, which means deployed hosts, custom domains, the CLI, the SDKs and Orchestrator runs, the owner pays, as before. In every case the prompt still runs with the owner’s provider, API key, plugins and secrets.

Budget limits are to the cent

A Budget’s periodicLimit and absoluteLimit accepted any number of decimal places, but were saved to two. A limit of 0.0005 was saved as 0.00, which means no limit, so a budget meant to be strict was silently unlimited. smarter apply now refuses it with a clear message. Use a token budget for smaller amounts.

📖 Cost accounting documentation


Behavior changes you will notice

  • Applying a manifest no longer undeploys an LLMClient. deployed defaulted to false, and apply sets every field, so applying a manifest that left it out, which is how most manifests are written, took a deployed LLMClient offline. Now leaving deployed out keeps the LLMClient as it is. Write deployed: false to undeploy with a manifest.
  • Vectorstore deploys return provisioning, not ready. A script that searched a Vectorstore straight after deploying it must now wait until smarter describe says it is ready.
  • The Smarter Journal is on by default. The Journal is the platform’s audit trail of every API command and prompt. It was off on every new platform, and the dashboard’s Recent Activity said so. New platforms now record from the start.

Fixes and operations

  • Local URLs work. On a platform in local Docker, a deployed LLMClient reported a URL in a shared DNS zone that doesn’t reach your computer. It now reports http://<name>.<account>.api.localhost:9357/, which works with no DNS setup, in smarter describe, the workbench’s Deployment tab and the deployment email. Platforms in AWS are unchanged.
  • .smarterignore. A repository that load_from_github loads can now list files it should never apply, with gitignore’s patterns. Stackademy uses it to keep the tutorial’s finished manifests off your platform, so readers build them themselves. The scripts/ folder is no longer skipped by name. A repository lists /scripts/ in its .smarterignore instead.
  • Budget messages say “the daily limit” instead of “the dayly limit”.
  • MCP server indexing. Two indexing runs of the same repository, started seconds apart, could fail with a duplicate key error. The second run now waits for the first.
  • Startup. The startup banner shows the versions of Django REST Framework and Pydantic, next to Python and Django.
  • Logging. At startup, secret settings such as provider API keys are logged as their last four characters, for example ****IAUA, so an operator can tell which key a platform is using. A secret of four characters or fewer is masked entirely.
  • Web console v1.1.15 adds the Vectorstore Documents section.

Upgrading

  • Migrations. v0.47 adds a link table for LLMClient Vectorsearches, a column for a Vectorstore’s deploy state, and a new Journal command. They run as usual.
  • Model prices. initialize_platform adds the default models’ prices. Run manage.py initialize_llm_prices on its own if you prefer. Existing prices are kept.
  • Charge history. Charges recorded before v0.47.4 keep their counts, so a resource’s tokens and cost this period may look lower than last period’s. The account no longer receives plugin and tool charges. If you priced those charge types as a surcharge, you’ll now see them only on the plugin, connection or MCPClient.
  • The Journal on existing platforms. Nothing changes. Your enable_journal switch keeps its setting. Turn it on in the Django admin’s Switches page, or run manage.py initialize_waffle --reset to set every switch to its default.
  • Repositories with manifests in scripts/. List /scripts/ in a .smarterignore at the repository’s root, or those manifests will now be applied.
  • Budget manifests with limits of more than two decimal places are refused. Round them to the cent.
  • LLMClient manifests that relied on leaving out deployed to undeploy must now say deployed: false.
  • The CLI. Upgrade to smarter-cli v0.6.0 for the documents command.

What’s next

Most of the fixes in this release were found by following the tutorial series Your First AI Application from start to finish, on a fresh platform. Its last three parts use them. Part 6 searches the handbook, Part 7 deploys the course advisor and embeds it in a web page, and Part 8 controls its costs with Budgets and audits it with the Journal. Next, the web console will show a Vectorstore’s deploy conditions and retries while it is provisioning, and the price catalog will add the providers it leaves out once their pages confirm a price.

The full list of changes is in the changelog. To try the release, start with the documentation, or browse the code on GitHub.