Skip to Content
@agent-core

Providers and models

Guide: the model providers agent-core speaks to, custom endpoints, how a model becomes available to you, usage and billing, and what Stop and summaries do.

agent-core speaks to every model through one provider layer. Everything provider-specific — request framing, thinking parameters, caching, usage fields — lives in each provider's adapter and in the model's catalog entry, never in the agent loop, so every provider gets the same tools, retries and metering.

Provider families

FamilyNotes
Anthropic (Claude)Native Messages API, adaptive and budget thinking, prompt caching, and a fast-mode variant on Claude Fable 5.2 and Opus 5.5 (same id, premium rates).
OpenAIAPI-key models, streamed through the Responses API.
OpenAI CodexChatGPT subscription sign-in via OAuth — subscription-billed.
Google GeminiLevel-based thinking and implicit caching. Requests are sent with store=false, so Google keeps no request log; geminiStoreRequests turns storage on for every project.
xAI GrokOpenAI-compatible, per-model reasoning effort, a long-context price band.
DeepSeekOpenAI-compatible.
Moonshot KimiOpenAI-compatible, including the multimodal K3.1 Pro flagship with a highspeed variant.
Alibaba QwenOpenAI-compatible, implicit caching.
MiniMaxAnthropic-compatible: the multimodal M3 and the low-cost, always-thinking M3.1 Flash.
Custom endpointsAny Ollama-native or OpenAI-compatible server — your own hardware (Ollama, LM Studio, vLLM, llama.cpp, LocalAI) or a remote gateway with a key.

Cloud models are catalog entries; individual ids are deliberately not listed here, because the catalog tracks provider releases. The live list is the models route and the chat model picker. Each entry declares how the model thinks, which reasoning efforts it accepts, its temperature policy, its context window (and an opt-in extended one), its prices, how it is billed, its tier, and which media it accepts — and the picker offers only what the entry lists. A modality is listed only when the platform can actually deliver it; a model that cannot ingest an image, audio, video or PDF block receives a clear marker instead of silently losing it.

No model catalog is rendered into an agent's context: an id an agent has not looked up is a guess, and a guess that misses ends the run. Agents read the same models route through the inspection skill before setting a model on a subagent, an agent or a workflow.

Adding a custom endpoint

Endpoints are managed in the admin Credentials tab under Custom endpoints; the list is platform-global, so it needs platform.config. Each entry has:

  • a name, a base URL and a framing (ollama-native or openai-compat);
  • authentication — none, or a bearer API key stored as llm.endpoint.<id> in the credential store, resolved most-specific-first like every provider key, so a member can bring their own key and only their own runs use it;
  • an address class — private (your own machine or network) or public. A public address is checked on every connection and the connection is pinned to the checked address, so a hostname that changes where it points cannot redirect a request inward; the admin form checks it on save too. Private is the explicit exemption that lets you point at localhost;
  • optional extra headers — non-secret only, because they are stored as plain platform configuration (the names the platform owns are refused);
  • an optional model list and pricing.

Models are discovered from each endpoint as local:<endpoint>:<model>, and an admin can override tool support, thinking style, visibility, pricing, context window or output ceiling per model; Ollama endpoints carry a keep_alive so the model stays resident across an agentic loop. Discovery uses the platform-global key, since the list is shared; member and project keys are used for streaming only — without a global key, list the models on the entry.

Pricing decides what a $0 row means. A priced endpoint bills as metered. Unpriced, a keyless endpoint on a private address is local (your own hardware, where $0 is true), while a keyed or public one is unpriced — recorded and flagged, never passed off as free. Spend limits are in dollars, so they cannot bound an endpoint you have not priced.

Availability and selection

A model is available when its provider's key (or OAuth sign-in) resolves from the credential store for the caller asking — most-specific-wins, agent → project → user → global. Availability is personal: a member who stores their own provider key (your own keys) sees that provider's models and nobody else does, and the model the stream runs on is gated by the same lookup that fetches the key. A rotated key takes effect on the next request.

Model policy has three layers, per field: the conversation's choice (model, reasoning effort, fast mode, an exact base or extended context window), then the agent's configured default, then the platform's Default Model setting. Incompatible combinations are refused rather than adjusted. When the model that runs cannot honour an inherited field, the stream drops that one field and says so with a model_policy_skipped note instead of failing the turn; the usage meter prices the same resolved policy, so fast mode is always billed at the fast rate.

Usage and billing

Every provider's usage is normalized into the same billable categories — uncached input, cache reads, cache writes and output — recomputed rather than trusted, and priced against the catalog, long-context tiers and premium audio input included. Reasoning tokens are shown, never billed. Each entry declares its billing: metered (the provider's list price), subscription (a plan pays elsewhere), local, or unpriced — and a 0 / 0 price is never metered.

Codex subscription. Codex models record at $0 and sit outside the USD spend caps, wherever the sign-in is stored; one stored at the global scope is therefore available to every project unmetered, and setting it needs the cross-scope permission no role holds by default. To show the value, Neuralis computes the savings — what the same tokens would cost at OpenAI's API list price — wherever a Codex model would read $0, and the admin dashboard compares them with the plan's estimated monthly fee. A subagent that runs on a paid model is billed on that model and counts against spend limits. The subscription's usage windows (each a percentage, with lengths taken from the data — 15 minutes, 5 hours, 7 days) show in the config Usage Signal card, refreshed once when you open it and then live from the stream, never polled; crossing 80, 90, 95 or 99% mid-stream raises a brief notice. Codex runs each conversation on one persistent connection that keeps the prompt cache across the turn (codexWebsocketEnabled and its limits are platform settings).

When a turn fails or is cut short

  • A request past the context window shows Context window full with Summarize now and Continue; other cut-offs (output cap, a content filter, an error) offer Continue. The context meter beside the model picker updates live, and capable models are nudged to compact before the window overflows.
  • Stop ends the delivery, not the generation. It closes Neuralis's side of the provider connection, so the turn ends at once — but no cancellation is sent to the provider, so the model may finish on their side and the request may still be billed. Treat Stop as "this run is over", not "that request never happened". A stopped step books what the provider reported, or the size of the last measured request as input where it reports nothing until the end; output is then not billed, and the record says so. A turn cut short by a server restart says so and can be continued.
  • A provider that asks you to wait is waited on — its exact "retry in N seconds", with a small per-step retry allowance. Stop ends any wait at once.

Titles, rewrites and summaries

The conversation title, Prompt Polish and the summary run on the conversation's own model by default, through the same provider connections — so a ChatGPT subscription or your own hardware can title and summarize too. The context-window popover can pin the summary model, and Polish has its own picker. A conversation is named the moment you send, from your first message; the model's shorter title replaces it seconds later, and a name you typed stays.

Summarizing never loses history. A summary is a non-destructive projection: the full transcript stays on disk, whole in the timeline and readable by the agent. While one runs, the composer shows Summarizing older turns… with a Stop. Show full switches the model back to the complete history and Resume summary switches again. Before writing, the summarizer is handed the conversation's evidence record — files changed, commands run, background and subagent runs, messages received, tool failures — as established fact, and a standing summary focus in the context-window popover tells every later summary what to keep.

On this page