APIs, providers, and external clients
Use Ai Keeper as one OpenAI-, Anthropic-, or Ollama-shaped endpoint, add cloud or CLI routes, and inspect every request through the proxy.
Follow the numbered steps for the everyday path. Open Advanced details for compatibility, settings, technical limits, and deeper checks. Times are estimates; large downloads and model loading can take longer.
Screenshots show the real app with illustrative sample data. They show where controls are; example answers, jobs and telemetry are not measured results. Open any image at full size to follow along.
Find one workflow
Filter this collection by name, outcome, provider, engine, channel, mode, or command.
Connect an OpenAI-compatible app
Point a compatible app or script at Ai Keeper’s local AI endpoint and check that one request reaches the right model.
Before you start
- At least one Ready model.
- An external client that accepts a custom OpenAI base URL.
Open Settings > API & Integrations.
Copy the displayed OpenAI-compatible base URL and one of the ready model IDs. Do not copy a raw instance port unless you intentionally want to bypass routing and policy.
The proxy defaults to port 11434, so the base URL is normally
http://127.0.0.1:11434/v1. Confirm the number at the top of Settings > API & Integrations (Proxy running on port …). It is a setting, not a constant: you change it in the Port field under Settings > Network & Sharing. Going straight to an instance port skips routing, tool policy, and the request log.If your setup requires a key, use Settings › Network & Sharing › Keys to Generate and copy the Proxy API Key. To limit access to one app, issue a scoped key instead. Local requests normally need no key. A client that requires a value can use a placeholder when key protection is off.
Check the connection from Terminal first. This lists the model IDs the proxy is willing to serve — copy one exactly as it appears.
If key protection is off, omit the header and the preceding line continuation. If protection is on, set
AIKEEPER_API_KEYto your key before running the examples. Replace port 11434 if the displayed address uses a different port.curl http://127.0.0.1:11434/v1/models \ -H "Authorization: Bearer $AIKEEPER_API_KEY"
shellSend one real completion. Replace the model value with an ID from the previous step.
curl http://127.0.0.1:11434/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $AIKEEPER_API_KEY" \ -d '{ "model": "YOUR-MODEL-ID", "messages": [{"role": "user", "content": "Say hello in five words."}] }'shellFor a Python script, use the OpenAI SDK with your Ai Keeper base URL, model ID and key (or a placeholder for local access without key protection).
from openai import OpenAI client = OpenAI( base_url="http://127.0.0.1:11434/v1", api_key="YOUR-KEY-OR-ANY-STRING", ) reply = client.chat.completions.create( model="YOUR-MODEL-ID", messages=[{"role": "user", "content": "Say hello in five words."}], ) print(reply.choices[0].message.content)pythonOpen Activity > Requests to confirm the call arrived at the proxy.
You are done when
The client gets a response and the request log shows the expected model, status 200, route, and latency.
Advanced details
Use the displayed proxy URL and live model list as the authority. The proxy port is configurable; inference API keys and management API keys protect different services.
API compatibility depends on the selected model and engine. Confirm streaming, tool calls, images and structured output separately; a successful text request proves only that text path.
If something looks wrong
Give one app its own limited key
Issue a key that works only for chosen request types, models and rates, and switch it off without touching anything else.
Before you start
- A Proxy API Key already generated in Settings > Network & Sharing.
- The name of the app or script that will use the key.
Open Settings > API & Integrations and find Scoped client keys under Proxy Governance.
Type the app’s name in Client name.
Open Key policy and tick only what the app needs. New keys start with Chat and Responses and List models; the others are Embeddings and rerank, Audio, Images and video, Load and unload models, MCP and Administration.
Optionally list model names in Allowed model aliases (empty allows all) and set RPM (requests a minute, 60), TPM (tokens a minute, 120,000), Concurrent (4) and Expires.
Click Issue Key and then Copy. The key is shown once; Ai Keeper keeps only a fingerprint of it.
Give the key to the app. To stop it later, turn off its switch in the list or click the bin button (Revoke API client).
You are done when
A request with the new key succeeds for an allowed model, and a request it is not scoped for is refused with status 403.
Advanced details
The administrator Proxy API Key keeps working unchanged beside scoped keys. Older keys marked All inference (legacy) stay valid; new keys use the narrower scopes.
A refused scoped key answers 401 for an unknown key, 403 for a missing scope, a denied model, a disabled or an expired key, and 429 for request, token or concurrency limits.
Scoped keys are checked on the proxy (port 11434 by default). They do not open the management API on port 9090.
If something looks wrong
Connect an Anthropic-compatible client
Use the Messages API shape for Claude-style tools and SDKs.
Before you start
- A client that permits a custom Anthropic base URL.
- A Ready route compatible with the requested features.
Open Settings > API & Integrations and find the Anthropic Messages card. It shows the full request address,
http://127.0.0.1:11434/v1/messages. Most SDKs and Claude Code want only the part before/v1as their base URL. Take the model name from a card under Available Runtimes.Configure the client's base URL and key. Keep its API-version header at the value the client normally sends.
Anthropic clients send the key in an
x-api-keyheader together with ananthropic-versionheader. Ai Keeper accepts its key in eitherx-api-keyorAuthorization: Beareron every route, so both kinds of client work.Send a plain text request first. Add tools or images only after the basic request succeeds.
max_tokensis required by the Messages API — leaving it out returns an error even when the same prompt works on the OpenAI route.curl http://127.0.0.1:11434/v1/messages \ -H "Content-Type: application/json" \ -H "x-api-key: $AIKEEPER_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model": "YOUR-MODEL-ID", "max_tokens": 64, "messages": [{"role": "user", "content": "Say hello in five words."}] }'shellTo run Claude Code on this Mac’s model, use the Launch Claude Code button on the runtime’s card in Settings > API & Integrations, or Copy command under Integrations > Claude Code. Setting only the base URL is not enough: a signed-in Claude Code can keep using your Anthropic account. If you set it up by hand, clear the cloud credentials and name the model as well.
oMLX, vMLX, MTPLX, Rapid-MLX, mlx-serve, Sushi, mlx-optiq, ds4, Splash and Pulsar answer the Anthropic shape themselves; for other engines (llama.cpp, TensorFold and the rest) Ai Keeper converts the request. Either way a Claude-style client can run fully local.
unset ANTHROPIC_API_KEY CLAUDE_CODE_OAUTH_TOKEN export ANTHROPIC_BASE_URL="http://127.0.0.1:11434" export ANTHROPIC_AUTH_TOKEN="YOUR-KEY-OR-ANY-STRING" export ANTHROPIC_MODEL="YOUR-MODEL-ID" export ANTHROPIC_SMALL_FAST_MODEL="YOUR-MODEL-ID" claude
shellOpen Activity > Requests and stay on Traffic Log. The newest row should show your client, the model and
/v1/messages. The Inspector view beside it lists only requests sent from inside Ai Keeper (Chat, Compare, API Tester), so an outside client does not appear there.
You are done when
A Messages request succeeds and the response content is returned in the format the client expects.
Advanced details
Use the displayed proxy URL and live model list as the authority. The proxy port is configurable; inference API keys and management API keys protect different services.
API compatibility depends on the selected model and engine. Confirm streaming, tool calls, images and structured output separately; a successful text request proves only that text path.
If something looks wrong
Connect an Ollama-compatible app
Keep software that speaks Ollama working while Ai Keeper owns model routing.
Before you start
- An Ollama-compatible client with a configurable host.
- A Ready chat model.
Open Settings > API & Integrations and locate the Ollama-compatible routes.
Set the client's Ollama host to the Ai Keeper address shown there, not to a guessed default port.
Ai Keeper’s proxy already defaults to 11434 — the same port Ollama uses — so most Ollama clients connect with no configuration at all. Only set the host explicitly if you changed the proxy port.
List what the Ollama-shaped route reports, and pick a name from it.
curl http://127.0.0.1:11434/api/tags
shellSend a small chat request. Set
streamto false for the first test so you get one clean JSON object back.curl http://127.0.0.1:11434/api/chat \ -H "Content-Type: application/json" \ -d '{ "model": "YOUR-MODEL-ID", "messages": [{"role": "user", "content": "Say hello in five words."}], "stream": false }'shellIf the app points at an
OLLAMA_HOSTenvironment variable instead of a settings field, set that and relaunch it.export OLLAMA_HOST="http://127.0.0.1:11434"
shellCheck Activity > Requests — the route should read
/api/chat.
You are done when
The external app receives a response and Ai Keeper logs an Ollama-shaped route such as /api/chat.
Advanced details
Use the displayed proxy URL and live model list as the authority. The proxy port is configurable; inference API keys and management API keys protect different services.
API compatibility depends on the selected model and engine. Confirm streaming, tool calls, images and structured output separately; a successful text request proves only that text path.
If something looks wrong
/api/pull. Get models from the Downloads screen in the sidebar, then create a runtime for them.Start Claude Code, Codex, VS Code or another coding tool on a local model
Use the launch buttons in API & Integrations instead of setting addresses and keys by hand.
Before you start
- A running chat runtime with tool support.
- The coding tool already installed (Claude Code, Codex, VS Code, Pi, OpenCode, Hermes, Copilot CLI, OpenClaw or Claude Desktop).
Open Settings > API & Integrations and find your model under Available Runtimes.
On its card click the button for your tool: Set in VS Code, Set in Pi, Set in OpenCode, Set in Codex, Launch Hermes, Launch Codex App, Launch Claude Code, Launch Copilot or Launch OpenClaw.
Each button writes that tool’s settings so it talks to Ai Keeper’s address on this Mac, then opens it where it can.
To choose a default model per tool, scroll to Integrations. Pick a Model, then use Copy command to paste the line under $ TERMINAL into your own Terminal, or click Launch.
For Claude Code, set Mode to Local and choose a running model for Opus tier, Sonnet tier and Haiku tier. Cloud hides these menus and is for running Claude Code on its usual cloud models.
For Claude Desktop, choose a Model, open Preview to see the file that will be written, and click Write Configuration. Quit and reopen Claude Desktop, then choose the third-party option on its sign-in screen. Remove undoes it.
Ask the tool one harmless question and confirm the request in Activity > Requests.
You are done when
The tool answers, and the newest row in Activity > Requests names the tool and your local model.
Advanced details
Launch writes the client’s own configuration first (for example a Pi folder under ~/.aikeeper/pi). Write Configuration for Claude Desktop backs up the files it replaces. The line under $ TERMINAL is the command you can run yourself.
The commands reach the proxy on 127.0.0.1. With no Proxy API Key set they carry a placeholder key (aikeeper-local).
A coding tool sends large tool lists and long prompts. Use a runtime whose context length fits; the card shows it (for example 32,768 ctx).
If something looks wrong
Add a cloud, CLI or self-hosted provider
Connect a hosted provider, an authenticated coding CLI or your own compatible server when that route suits the task.
Before you start
- An API key for API providers, or an authenticated installed CLI for ChatGPT Codex/Claude Code.
- Know whether sending data off-device is acceptable for this task.
Open Runtime and click New Runtime. At the top of the sheet, beside Where does it run?, choose Cloud provider.
Choose the provider you use, such as OpenAI, Anthropic, Google Gemini, OpenRouter, ChatGPT Codex or Claude Code. Choose LocalAI for a LocalAI server, or Custom for another supported API endpoint.
Paste the provider key into the API Key field in the same sheet; the link under the field opens that provider’s key page. The key is saved encrypted with this runtime. It is not read from the Secrets Manager, and it should never go into a prompt or a note. For ChatGPT Codex or Claude Code leave the key empty; if the sheet says the CLI is not signed in, click Sign In in Terminal.
Choose the Model; use Fetch available models or enter its exact model ID. LocalAI and Custom expose Base URL. LocalAI defaults to
http://127.0.0.1:8080and accepts a root address or one ending in/v1; its API key is optional. Custom also exposes API Format. Check the address before sending private data.Click Create. A cloud runtime has no process to start, so it is ready at once. Open Chat, pick it and send a harmless prompt.
You are done when
The provider instance reports available, answers a test prompt, and Activity > Requests identifies the chosen route.
Advanced details
The provider chooser includes hosted APIs, coding CLIs and self-hosted endpoints. A ClawHub provider package can add a separate Provider Source choice. A familiar model name does not prove that the route supports tools, vision or speech.
LocalAI requires its server and model to be installed independently. A configured runtime does not start that server. Validate the connection and test a harmless request before relying on it.
CLI providers use their existing sign-in and can use the CLI’s default model or an explicit selection. Store API credentials in the runtime fields, never in a prompt.
If something looks wrong
Add Ollama, LM Studio, vLLM, or another existing server
Register a Generic External OpenAI-compatible endpoint without letting Ai Keeper manage its process.
Before you start
- The external server is already running.
- Its OpenAI-compatible base URL and optional key.
Test the external server's own /v1/models endpoint outside Ai Keeper or with Lab > API Tester.
Open Runtime, click New Runtime and beside Where does it run? choose Another server.
Fill in Base URL without
/v1at the end (Ai Keeper adds it), API Key (optional) if the server needs one, and Model ID; the refresh arrow lists the server’s models once the address is in. Ollama and Ai Keeper both use port 11434 by default, so if Ollama runs on this Mac one of the two must move to another port.Click Create. Ai Keeper only forwards requests to this server; it does not start or stop it.
Send a request through Ai Keeper from Chat or from Lab > API Tester.
You are done when
The instance is available without a managed child process, and requests reach the external server through the Ai Keeper proxy.
Advanced details
Requests go to <Base URL>/v1/chat/completions, /v1/models and so on, with the key sent as Authorization: Bearer. Ai Keeper rewrites the request’s model field to the Model ID you entered; leave Model ID empty to pass the runtime’s own name through.
Only a name and a Base URL are required. A new runtime of this kind is named after its address until you rename it.
A successful text request proves only the text path. Check streaming, tool calls and images separately against the real server.
If something looks wrong
Create and test a failover chain
Keep work moving with an ordered list of ready local or remote runtimes, while retaining control of privacy and cost.
Before you start
- At least two working instances/providers.
- A clear cost, privacy, and quality order.
Open Settings → Permissions & Safety. Under Spending and fallbacks, click Failover Chains…. For a simple next-message backup, choose Fallback instance under Simple mode.
For an ordered chain, enter a New chain name and click Add. Select your preferred target in Saved instance and click Add Instance. Repeat for each backup.
Use Move Up and Move Down to set priority. Keep only destinations permitted to receive the same data; a cloud backup can change both privacy and cost. Leave Enabled and Chain Active on when ready.
Start any local backup you intend to use and test each target separately with a harmless prompt. A health check does not load stopped models for you.
Test the chain with a disposable primary runtime that can safely fail before returning an answer. Send a harmless request, then inspect Recent Failover Events and Activity → Requests for the actual backup. Restore the primary and check its recovery.
You are done when
The intended primary answers normally, a controlled pre-response failure uses a ready backup, and the event identifies the route actually used.
Advanced details
Saved instance targets keep their own model, server address and credentials. This lets a chain combine local and remote HTTP model servers without pretending that different models produce equivalent answers. Test output quality as well as connectivity.
Apple Intelligence’s in-process model and coding CLI agents have separate execution paths and are not offered as HTTP chain targets. Older provider/model chains remain available.
Simple mode selects a fallback for the next message in a conversation. A saved-instance chain handles eligible request failures before a successful response body is consumed; it cannot guarantee uninterrupted streaming or reverse earlier tool actions.
If something looks wrong
Connect ChatGPT Codex
Create and test the ChatGPT Codex cli route without exposing credentials in prompts or notes.
Before you start
- Authenticate in the installed Codex CLI.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Install the supported ChatGPT Codex command-line tool and complete its own sign-in flow. Prove that it can use a model before adding the route.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick ChatGPT Codex in the Provider menu.
Leave Use CLI default model on, or turn it off and pick a model from the Model menu (the list comes from the local Codex cache; the refresh arrow reloads it). Leave the optional OpenAI API key empty to use the CLI sign-in.
Review the route note: No API key is entered in Ai Keeper; choose a model reported by the CLI.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The ChatGPT Codex request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
CLI authentication belongs to its own installed tool/account; it is separate from a direct provider API key. Available models and usage entitlement follow that CLI/account. Ai Keeper does not promise that a subscription exposes every API capability.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: No API key is entered in Ai Keeper; choose a model reported by the CLI.
If something looks wrong
Connect Claude Code
Create and test the Claude Code cli route without exposing credentials in prompts or notes.
Before you start
- Authenticate in the installed Claude Code CLI.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Install the supported Claude Code command-line tool and complete its own sign-in flow. Prove that it can use a model before adding the route.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Claude Code in the Provider menu.
Leave Use CLI default model on, or turn it off and choose Sonnet, Opus, Fable or Custom in the Model menu (Custom lets you type a full model name). Leave the optional Anthropic API key empty to use the CLI sign-in, and review Reasoning Effort.
Review the route note: No API key is entered in Ai Keeper; requests use the Anthropic message format.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Claude Code request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
CLI authentication belongs to its own installed tool/account; it is separate from a direct provider API key. Available models and usage entitlement follow that CLI/account. Ai Keeper does not promise that a subscription exposes every API capability.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: No API key is entered in Ai Keeper; requests use the Anthropic message format.
If something looks wrong
Connect OpenAI
Create and test the OpenAI api route without exposing credentials in prompts or notes.
Before you start
- Create an OpenAI API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick OpenAI in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Use an exact model ID available to the account.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The OpenAI request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Use an exact model ID available to the account.
If something looks wrong
Connect Anthropic
Create and test the Anthropic api route without exposing credentials in prompts or notes.
Before you start
- Create an Anthropic API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Anthropic in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Ai Keeper applies the Anthropic key and version headers automatically.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Anthropic request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Ai Keeper applies the Anthropic key and version headers automatically.
If something looks wrong
Connect Google Gemini
Create and test the Google Gemini api route without exposing credentials in prompts or notes.
Before you start
- Create a Gemini API key in Google AI Studio and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Google Gemini in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Use a model exposed through Google's OpenAI-compatible endpoint.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Google Gemini request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Use a model exposed through Google's OpenAI-compatible endpoint.
If something looks wrong
Connect Groq
Create and test the Groq api route without exposing credentials in prompts or notes.
Before you start
- Create a Groq API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Groq in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Choose a model currently enabled for the Groq account.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Groq request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Choose a model currently enabled for the Groq account.
If something looks wrong
Connect Mistral
Create and test the Mistral api route without exposing credentials in prompts or notes.
Before you start
- Create a Mistral API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Mistral in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Use the provider's exact public model identifier.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Mistral request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Use the provider's exact public model identifier.
If something looks wrong
Connect DeepSeek
Create and test the DeepSeek api route without exposing credentials in prompts or notes.
Before you start
- Create a DeepSeek API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick DeepSeek in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Cloud DeepSeek is separate from the local ds4 backend.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The DeepSeek request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Cloud DeepSeek is separate from the local ds4 backend.
If something looks wrong
Connect xAI
Create and test the xAI api route without exposing credentials in prompts or notes.
Before you start
- Create an xAI API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick xAI in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Confirm the selected Grok model is enabled for the account.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The xAI request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Confirm the selected Grok model is enabled for the account.
If something looks wrong
Connect OpenRouter
Create and test the OpenRouter api route without exposing credentials in prompts or notes.
Before you start
- Create an OpenRouter API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick OpenRouter in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Model IDs normally include the upstream provider namespace.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The OpenRouter request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Model IDs normally include the upstream provider namespace.
If something looks wrong
Connect Together AI
Create and test the Together AI api route without exposing credentials in prompts or notes.
Before you start
- Create a Together API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Together AI in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Copy the model ID from Together rather than guessing it.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Together AI request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Copy the model ID from Together rather than guessing it.
If something looks wrong
Connect Perplexity
Create and test the Perplexity api route without exposing credentials in prompts or notes.
Before you start
- Create a Perplexity API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Perplexity in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: This provider uses its own OpenAI-compatible base path.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Perplexity request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: This provider uses its own OpenAI-compatible base path.
If something looks wrong
Connect Fireworks AI
Create and test the Fireworks AI api route without exposing credentials in prompts or notes.
Before you start
- Create a Fireworks API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Fireworks AI in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Use the full Fireworks account/model identifier when required.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Fireworks AI request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Use the full Fireworks account/model identifier when required.
If something looks wrong
Connect Cerebras
Create and test the Cerebras api route without exposing credentials in prompts or notes.
Before you start
- Create a Cerebras API key and paste it into the runtime’s API Key field.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Cerebras in the Provider menu.
Paste the key into API Key. The Model menu fills once the key is in (the refresh arrow reloads it); choose the exact model ID enabled for your account, or type it.
Review the route note: Pick a model listed for the current Cerebras account.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Cerebras request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Provider context limits and account access can differ from a model’s advertised window. Check the actual configured/model-specific limit and returned error rather than raising a local context preference blindly.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Pick a model listed for the current Cerebras account.
If something looks wrong
Connect LocalAI
Create and test the LocalAI self-hosted service route without exposing credentials in prompts or notes.
Before you start
- Run a LocalAI server and identify one of its installed models.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Start LocalAI locally and confirm its health or models endpoint responds before configuring Ai Keeper.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick LocalAI in the Provider menu.
Under Endpoint, enter the LocalAI Base URL or leave it empty for
http://127.0.0.1:8080. Enter an API Key only if your server requires one, then refresh or enter its exact Model ID. The LocalAI route uses the OpenAI-compatible format.Review the route note: Set its Base URL; an empty address uses http://127.0.0.1:8080. Enter an API key only if that server requires one. LocalAI runs independently of Ai Keeper.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The LocalAI request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Ai Keeper connects to an existing LocalAI server; it does not install or start it. A loopback address runs on this Mac. A remote address sends requests to that host. Configure speech separately in Settings → Voice → Text-to-Speech.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Set its Base URL; an empty address uses http://127.0.0.1:8080. Enter an API key only if that server requires one. LocalAI runs independently of Ai Keeper.
If something looks wrong
Connect Lemonade
Create and test the Lemonade local service route without exposing credentials in prompts or notes.
Before you start
- Start Lemonade Server. Ai Keeper still needs some text in the API Key field before it will create the runtime.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Start Lemonade locally and confirm its health or models endpoint responds before configuring Ai Keeper.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Lemonade in the Provider menu.
Type any text of ten or more characters into API Key, for example
lemonade-local: the sheet will not load the model list or enable Create while the field is empty, even though a local Lemonade server ignores the value. Then choose or type the Model ID. There is no address field; Lemonade is always reached at http://127.0.0.1:8000/api/v1.Review the route note: The route is fixed at http://127.0.0.1:8000/api/v1. For a Lemonade server at another address, use Custom or Another server.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Lemonade request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Lemonade is an existing service route: Ai Keeper does not own its backend process. Its address is fixed at http://127.0.0.1:8000 with /api/v1 added. For a Lemonade server at another address, use Custom or Another server instead.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: The route is fixed at http://127.0.0.1:8000/api/v1. For a Lemonade server at another address, use Custom or Another server.
If something looks wrong
Connect Custom
Create and test the Custom custom endpoint route without exposing credentials in prompts or notes.
Before you start
- Provide an OpenAI- or Anthropic-compatible base URL and optional secret.
- Permission to send the test prompt to this provider or service.
- A known provider model ID or a discoverable model list.
Create the key with the provider (or on your own server) and keep it ready to paste. Never paste it into Chat.
Open Runtime, click New Runtime, choose Cloud provider beside Where does it run?, then pick Custom in the Provider menu.
Under Endpoint enter the Base URL and choose the API Format (OpenAI Compatible or Anthropic Compatible). Paste a key into API Key (optional for custom) only if the server needs one, then choose or type the Model ID.
Review the route note: Choose the API Format the server really speaks. Extra request headers can only come from the GENERIC_OPEN_AI_CUSTOM_HEADERS environment variable; the sheet has no field for them.
Click Create, then in Chat pick the new runtime, send the harmless prompt Reply with exactly: provider route ready, and inspect Activity > Requests.
You are done when
The Custom request succeeds once, the selected instance is named in the request trace, and no credential appears in the prompt or logs.
Advanced details
Custom capability declarations must reflect the endpoint’s actual tool, vision, reasoning and API-format support. A responding /models list does not prove every request shape.
Cloud/privacy policy and the reversible privacy filter are independent of whether credentials are configured. Inspect the selected route before sending private files or allowing cloud failover; CLI execution on this Mac can still send content to the provider.
Practical setup note: Choose the API Format the server really speaks. Extra request headers can only come from the GENERIC_OPEN_AI_CUSTOM_HEADERS environment variable; the sheet has no field for them.