Skip to content

Providers

Model endpoints

Add OpenAI-compatible, Anthropic-compatible and local Ollama endpoints, sign in with a subscription or your organization's gateway, and read each endpoint's state.

  • 16 min read
  • 9 sections

Model endpoints ​

A model endpoint is a model Octant calls over an API itself, running it with the Native harness instead of a coding agent's loop.

Model endpoints live in Settings → Octant Harness → Model endpoints. This page covers OpenAI-compatible and Anthropic-compatible endpoints, the one-click sign-ins and presets, and a local Ollama. Azure AI Foundry and Amazon Bedrock have their own page: Azure and Amazon Bedrock.

Add an endpoint ​

  1. Have the endpoint's address and API key ready, or choose a sign-in or a preset.
  2. Open Settings → Octant Harness → Model endpoints → Add endpoint.
  3. Choose the models to use.
  4. Run Verify tools on the models that should use Octant's tools.
  5. Optionally give a verified model a model role.

The dialog lists the one-click sign-ins first, then the presets, then a guided flow of five steps:

  1. Kind: Azure AI Foundry, Amazon Bedrock, OpenAI-compatible, Anthropic-compatible, or Local (Ollama).
  2. Connect: a name, the address, and the API key. The protocol, how the key is sent, and It takes no key (for a server on this computer) are under Advanced. If you enter an Azure address as OpenAI-compatible, Octant offers Switch to Azure AI Foundry. Check and add adds the endpoint and checks it straight away. The result shows in the same dialog, so a mistyped address can be fixed from there. From here on the endpoint is added, even if you close the dialog.
  3. Models: choose the models to use. A long list is searched rather than shown whole, and Add by ID adds a model the service serves but does not list. Models you leave unchosen are hidden from the model picker; show them again from the endpoint's page. Local lists the models installed in Ollama.
  4. Verify tools: Octant sends each chosen model one short request, which the service may bill (Ollama runs it on this computer), to see whether it calls Octant's tools. Each model ends Verified or Chat only with the reason and Retry. A model that stays Chat only is still added and answers in chat. An Ollama model that Ollama says cannot use tools stays Chat only without a request.
  5. Agents (optional): let helper agents use a verified model, and make it the first choice for a model role such as Builder. The role keeps its earlier models as backups. Chat only models cannot take agent work, not even jobs that send no tools.

A step that fails shows the host's reason and a Try again button.

Supported profiles ​

  • OpenAI-compatible HTTP (auto, responses, or chat-completions; an API key, none on this computer, or your organization account)
  • Anthropic-compatible HTTP (auto or messages; an API key, none on this computer, or your organization account)
  • Ollama local HTTP (loopback origin only)

Remote endpoints require bearer or API-key authentication. Anonymous access is accepted only for loopback.

Where the key is kept ​

API keys are stored only by the Octant desktop app, in the host's credential store. Settings says Saved in this Mac's Keychain on a Mac and Saved in this computer's credential store on Linux, where it is Secret Service.

In a browser, an endpoint that needs a key is added without one and reads Needs key until you add the key in the desktop app on the host's computer or set it on the host with octant provider key set. An endpoint that needs no key, such as Ollama or a server on this computer, works fully.

An endpoint can hold several keys and switches between them within a turn when one runs out. See Several API keys. To fetch the key from a password manager instead, see Use API keys from a secret store.

Read an endpoint's state ​

Each endpoint is one row that says whether it works:

Row saysMeaning
ReadyThe last check passed.
Sign in to useThe endpoint needs a sign-in before it can be used.
Sign in againThe sign-in needs you in person again.
Signed outThe sign-in ended.
Checking…A check is running.
Can't connectThe service could not be reached.
Needs keyNo key is stored.
Key refusedThe service answered that it turned the key down.
Request deniedThe service took the key but denied the request, as a limited key does.
Can't read keyOctant could not read the saved key back from the credential store.
No accessYou are signed in, but your account may not use the service or model.
Sign-in doesn't matchThe sign-in was for another tenant, application, account, or address.
Not workingThe check failed for another reason.
No models yetNo models are known yet.
OffThe endpoint is switched off.

A check that never reached the service never reads as a refused key. When the credential store will not keep a new key, the message names why (a locked keyring, no keyring running, secret-tool missing, access denied, no answer) and what to do next. A keyring started after Octant works on the next key with no restart.

A row that needs you says why in one sentence and offers one fix, such as Try again, Replace key, Edit address, or Add model IDs.

Opening a row shows the endpoint's own page:

  • its sign-in or key;
  • its models: search them, show or hide each one, and Verify tools for a model marked Chat only. A row whose models are all unverified says Chat only · Verify tools too;
  • where its data goes;
  • its name and address;
  • Diagnostics, with the protocol, authentication, the last check's exact answer, and capabilities.

The Use switch on that page turns the endpoint off without losing its key, sign-in, or roles. Remove asks first and names the model roles that use it.

If a configured endpoint lists far more models than you set up, Settings → Octant Harness shows the models you configured first and the rest under Discovered on the endpoint.

What works natively ​

FeatureModel endpoints
Reopen the thread's own sessionReplayed
Approval prompts from the runtimeNo
Questions from the agentNo
Reasoning shownIf the endpoint sends it
Token usage countedAfter a reply
File changes and diffsNo
Attachments sent nativelyNo
Octant tools (Browser, Computer)Verified models
Change model inside a threadYes
Compact sessionOctant does it; Code uses Octant Harness
Auto-review of approvals in CodeNo

Replayed means the endpoint keeps no session of its own, so Octant sends the thread's history again, fitted to the model's context window. Changing the model is therefore fine. Octant's tools travel as tool definitions in each request, and the model answers with calls.

Image input ​

An endpoint model is offered for image work, such as reading screenshots from browser and computer tools, only when Octant knows it accepts images:

  • the endpoint's own model list says so (OpenRouter does); or
  • the model is a family whose provider documents image input, such as GPT-4o, GPT-4.1, GPT-5, o3, o4-mini, Claude 4 models, and Gemini 2.5.

What the endpoint reports wins over the built-in list. A deployment with a name of its own takes image input from the model it reports serving after its first completed request. Any other model is treated as text-only. A text-only model can still work with images: the Sees images role describes them for it. Sees images offers only models that read images.

Run models locally with Ollama ​

Ollama runs Octant Harness against the Ollama service on this computer. A detected local Ollama server is listed under Settings → Octant Harness → Model endpoints. To add one yourself, choose Local (Ollama) in Add endpoint.

  • Ollama is reached only on this computer's loopback address. A remote, LAN, or tunnelled Ollama address is refused.
  • Octant's tools reach only models you verified. Ollama reports no file changes or approvals of its own.
  • Model changes inside a thread work, and Octant compacts the conversation itself; Code uses Octant Harness for it.
  • Vision models receive attachments natively. Reasoning shows if the model sends it, and usage is counted after a reply.

Give a model a larger context window ​

Octant asks Ollama for each model's window explicitly, so a long request is shortened or refused rather than cut off by Ollama without a word:

  1. the num_ctx in the model's Modelfile, when it sets one;
  2. else the model's own window, up to 32,768 tokens. A larger window costs memory whether or not the conversation uses it;
  3. else 4,096 tokens, when Ollama reports no window.

To give a model more, open your Ollama endpoint under Settings → Octant Harness → Model endpoints and type a larger window into the Context window box beside the model. A variant with a larger num_ctx (PARAMETER num_ctx 65536 in a Modelfile) works too. Octant asks Ollama for the window you type, up to the window the model was trained for. Ollama never loads more, so a larger number is saved as that window. Ollama sets aside memory for the whole window when it loads the model, so choose what your conversations need.

Presets added with a key ​

Some services take an ordinary API key but are easier to add by name. Add endpoint offers each as a row with Add with key. It opens Connect with the name, address and protocol filled in, and a link to the page where the key is created. The address stays editable, and the result is an ordinary OpenAI-compatible endpoint.

  • OpenAI API uses an OpenAI API key at https://api.openai.com/v1.
  • OpenRouter API uses an OpenRouter API key at https://openrouter.ai/api/v1.
  • OpenCode Go uses a Go subscription at https://opencode.ai/inference/go/v1. To connect a coding session, follow the OpenCode Go setup steps.
  • OpenCode Zen: https://opencode.ai/inference/v1, OpenCode's gateway paid per request from console credits, with the same kind of key.
  • Mistral: https://api.mistral.ai/v1 with a Mistral API key from Mistral Studio, the same key the Vibe CLI uses.
  • Requesty: https://router.requesty.ai/v1 with a key from the Requesty app.

Connect OpenCode Go ​

  1. Copy an API key for a workspace with an active Go subscription. OpenCode Console
  2. In the Octant desktop app, open Settings → Octant Harness → Model endpoints → Add endpoint.
  3. Choose Add with key on OpenCode Go, paste the key, and select Check and add.
  4. Choose a model and run Verify tools, which sends a model request. Go can list models even without an active subscription. Once the model shows Verified, select it in a Code thread.

In builds with Go session support, Octant sends its harness name and version to Go. Each conversation has an opaque ID that Go uses for routing and prompt caching. Resuming the conversation keeps the ID. Starting a separate conversation or forking one gives it a new ID. OpenCode Go client guidelines

Use an endpoint for voice ​

When an endpoint lists voice models, the last step of Add endpoint and the endpoint's Voice section say so. Use for Transcription makes that model the one Settings → Voice & images uses for speech to text, in one click. A speech model is named too, with what it still needs: a voice from the provider, which you give in Voice settings. The Mistral preset knows its Voxtral models; for other endpoints Octant reads the model ids. Mistral's speech output works too: Octant speaks its own request shape there.

An OpenAI-compatible endpoint can also serve images as a custom image source.

Sign in with a subscription ​

An OpenAI-compatible endpoint can sign in with a subscription instead of an API key. Add endpoint offers each one as its own way to add an endpoint:

  • Sign in with ChatGPT adds an endpoint named ChatGPT plan at https://api.openai.com/v1 and starts the sign-in with your ChatGPT account. It uses the plan's Responses route.
  • Sign in with OpenRouter adds an endpoint at https://openrouter.ai/api/v1 and signs in with your OpenRouter account, storing the issued API key.

Each button carries the sign-in's terms as one line under it. Choosing it accepts them, and Octant records that acknowledgment before the sign-in starts. Neither asks for a base URL or an API key: the endpoint is fixed by the sign-in, and the host refuses the sign-in, and any use of its token, on any other endpoint. An endpoint you added yourself whose base URL is one of these offers the same sign-in beside its API key.

The host refuses a sign-in started from a paired device. Sign in from the Octant app or a browser on the host.

How the sign-in works ​

  • While Octant checks your saved account, the Sign-in section says Checking sign-in.
  • After you choose Sign in, it shows the browser progress and a link to reopen the sign-in page. You can leave Settings and return to the same pending attempt while Octant's host is running.
  • Choose I've finished in the browser to check immediately. Octant also checks automatically while the section is open. A cancelled or expired attempt explains how to try again.
  • The endpoint's row then shows who is signed in, and its page offers Sign out and Sign in again. Octant checks the endpoint as soon as a sign-in finishes.

The sign-in opens the provider's authorization page in the system browser and completes on a loopback callback. Octant never sees or types your credentials. On the first sign-in the host registers itself as a user-defined agent: the stable host id is sent before the first sign-in, and the issued client id returned by the callback is stored and reused for every later refresh. The identity token is validated against the issuer's published keys before the grant is stored.

Sign out stays beside the connected account in the Sign-in section. It ends this computer's saved session, asking the provider to revoke it when supported. Signing out revokes the refresh token at the issuer before the local grant is dropped. It does not promise to remove all entries from the provider's connected-app list or connections in other workspaces. If the sign-in service can't be reached, Octant keeps you signed in and says so: try again, or choose Sign out on this computer only, which removes the stored sign-in here but leaves it valid at the sign-in service until it expires. Signing in again on the same endpoint always removes the previous sign-in from this computer.

The ChatGPT plan route ​

The ChatGPT plan route has a fixed request shape: storage is disabled, streaming is on, the full history is sent as an array, system text travels as instructions, and only function tools are available, with no hosted tools. A request that cannot be expressed under that shape is refused with a typed reason rather than silently reshaped.

  • If the granted scopes do not include plan usage, the sign-in still succeeds as identity-only, and plan turns are refused until you sign in again and allow plan access.
  • When the plan's usage limit is reached, the failure links to ChatGPT's usage settings (https://chatgpt.com/settings/usage).
  • Plan replies can finish without repeating their content in the final stream event. Octant uses the completed streamed items and records the reported usage. Missing item completions or contradictory content still fail the turn.

Check now lists the models the plan route reports, with their names, context windows, and image input when the route gives them. When it cannot get a model list from the route, the row says No models yet instead of reporting an invalid response. Add the model IDs your plan offers under Manual model IDs, then check the connection again. Those IDs are shown as manual and unverified until a turn succeeds with them. A rejected sign-in, a reached usage limit, or an unavailable route still fails the check with its own message.

Choose how Octant names threads ​

Open Settings → Providers & Models → Automatic model calls → Thread titles. Choose how Octant names new Chat, Work, and Code threads.

  • Use first message uses the beginning of your first message as the title.
  • API endpoint uses the endpoint and model you choose. Add an OpenAI, OpenRouter, Anthropic, or compatible custom endpoint under Settings → Octant Harness → Model endpoints. Your API provider may charge for title requests.
  • Subscription uses a model from a ChatGPT plan endpoint. Choose Sign in with ChatGPT in Add endpoint and allow plan usage, then choose the model under Thread titles.

Octant remembers the model for each source so you can switch back in one step. For a model-generated title, the selected endpoint receives up to 2,000 characters of the first message, with recognizable secrets removed. The first message supplies the title if the selected model is unavailable or the thread or its Project has a token ceiling. Manual renames take precedence.

In Chat, retrying a failed first message can generate a title while it is your only message and the title endpoint has yet to receive a request. After you send another message, retrying the first keeps the current title.

Your organization's own gateway ​

An OpenAI-compatible or Anthropic-compatible endpoint that your organization runs behind its own sign-in (Okta, Keycloak, Auth0, Ping, Microsoft Entra ID, or another OpenID Connect provider) can sign in with your organization account instead of a key.

Your organization's administrator prepares this once:

  1. Registers a public client for Octant with the sign-in provider. It uses the authorization code flow with PKCE, allows the loopback redirect URI http://127.0.0.1/oauth/callback on any port, and has no client secret.
  2. Makes the gateway accept that provider's access tokens for one scope, such as gateway.models, and lets the client request it together with openid, profile, and offline_access.

The administrator gives you the issuer (exactly as the provider's sign-in tokens name it, such as https://login.example.com/oauth2/default), the client ID, and the scope. Then:

  1. In Add endpoint, choose OpenAI-compatible or Anthropic-compatible, enter a name and the gateway's https address, and set Sign in with to Organization account (your sign-in provider).
  2. Enter the issuer, the client ID, and the scope, and choose Check and add. The endpoint reads Sign in to use.
  3. Open the endpoint and choose Sign in with your organization. Your browser opens your organization's sign-in page. When you finish there, the endpoint shows who is signed in and checks itself.

Octant finds the sign-in page from the issuer's own discovery document and uses it only when the issuer's sign-in, token, and key addresses are all on the issuer's own host. The issuer is fixed once the endpoint is added: to sign in somewhere else, add a new endpoint. Changing the client ID, the scope, or the address signs the endpoint out.

The row reads Sign in again, Signed out, No access (the gateway refused your account), or Sign-in doesn't match, just as for Azure AI Foundry. Sign out likewise removes the sign-in from this computer only. A gateway signs in through the browser only: octant provider sign-in with a code is for Azure AI Foundry and Amazon Bedrock. To connect a Claude Code account to a gateway with an address and token instead, see Sign in through a gateway.

Provider cloud sessions ​

An eligible official OpenAI endpoint, one at https://api.openai.com/v1 that uses a bearer API key, also offers an independent Allow cloud sessions switch on its detail page. It is off by default and does not start a task. The separately reviewed Code cloud-session workflow sends only the task text to the provider's sandbox and has its own cost and execution consent.

Subscription sign-ins and compatible gateways are not eligible. An outside driver may implement the same published closed codec, subject to normal activation and observed capability checks. No generic HTTP or credential authority follows from turning it on.

Octant documentation · local-first by design