Ai Keeper/Guides/APIs, providers, and external clients
← All workflows
Collection 04 · Compatible clients

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.

22 workflowsBeginner-first

Find one workflow

Filter this collection by name, outcome, provider, engine, channel, mode, or command.

22 shown
Workflow 01

Connect an OpenAI-compatible app

Point a coding tool, script, or SDK at Ai Keeper's proxy instead of a raw model port.

Beginner5 minResult · The external client receives a completion✓ Source-audited workflow
System API Access showing the OpenAI-compatible base URL, supported formats, running instances, and copy actions.
Copy the displayed base URL rather than guessing a port; the OpenAI card lists the routes clients can use.
Before you start
  • At least one Ready model.
  • An external client that accepts a custom OpenAI base URL.
  1. Open System > Settings > API Access.

  2. 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 in API Access — it is a setting, not a constant. Going straight to an instance port skips routing, tool policy, and the request log.

  3. If API-key protection is enabled, create or copy a client key from the same protected setup flow.

  4. 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, drop the -H line entirely. Doing this before touching the other app tells you whether a later failure is Ai Keeper's fault or the client's.

    curl http://127.0.0.1:11434/v1/models \
      -H "Authorization: Bearer $AIKEEPER_API_KEY"
    shell
  5. Send 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."}]
      }'
    shell
  6. For a script, the official OpenAI SDK works unchanged — only base_url changes.

    Most tools that say “OpenAI-compatible” — VS Code extensions, Cursor, Continue, LangChain — expose exactly these two fields. Paste the same base URL and key there.

    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)
    python
  7. Open System > 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.
If something looks wrong
404 Not FoundUse the exact base URL and path shown in API Access; do not accidentally add /v1 twice.
Model not foundCopy the public model ID exactly as the proxy lists it.
Works locally but not from another deviceLoopback addresses are local-only. Follow the remote-access workflow and require authentication.
Workflow 02

Connect an Anthropic-compatible client

Use the Messages API shape for Claude-style tools and SDKs.

Intermediate5–10 minResult · The client completes a Messages request✓ Source-audited workflow
System API Access showing the Anthropic Messages endpoint beside OpenAI, Responses, Ollama, MCP, and Management.
Use the Anthropic Messages URL and format from this card when configuring an Anthropic-compatible client.
Before you start
  • A client that permits a custom Anthropic base URL.
  • A Ready route compatible with the requested features.
  1. Open System > Settings > API Access and copy the displayed Anthropic-compatible address and model ID.

  2. Configure the client's base URL and key. Keep its API-version header at the value the client normally sends unless API Access says otherwise.

    The Messages API authenticates with an x-api-key header and an anthropic-version header — not the Authorization: Bearer header the OpenAI routes use.

  3. Send a plain text request first. Add tools or images only after the basic request succeeds.

    max_tokens is 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."}]
      }'
    shell
  4. To point Claude Code at this Mac instead of the cloud, set its base URL environment variable before launching it.

    omlx and mlx-optiq answer the Anthropic shape natively, so a Claude-style client can run fully local.

    export ANTHROPIC_BASE_URL="http://127.0.0.1:11434"
    export ANTHROPIC_API_KEY="YOUR-KEY-OR-ANY-STRING"
    claude
    shell
  5. Inspect System > Requests > Inspector to see whether Ai Keeper routed natively or transformed the request.

You are done when
A Messages request succeeds and the response content is returned in the format the client expects.
If something looks wrong
Client hardcodes Anthropic's cloud hostThat client cannot use a custom proxy without its own configuration or wrapper.
Tools fail but text worksConfirm the selected route supports tool calling and that tool policy allows it.
Workflow 03

Connect an Ollama-compatible app

Keep software that speaks Ollama working while Ai Keeper owns model routing.

Intermediate5 minResult · An Ollama-style request succeeds✓ Source-audited workflow
System API Access showing the Ollama compatibility endpoint and its supported routes.
The Ollama card provides the host URL expected by tools that can replace their Ollama backend.
Before you start
  • An Ollama-compatible client with a configurable host.
  • A Ready chat model.
  1. Open System > Settings > API Access and locate the Ollama-compatible routes.

  2. 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.

  3. List what the Ollama-shaped route reports, and pick a name from it.

    curl http://127.0.0.1:11434/api/tags
    shell
  4. Send a small chat request. Set stream to 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
      }'
    shell
  5. If the app points at an OLLAMA_HOST environment variable instead of a settings field, set that and relaunch it.

    export OLLAMA_HOST="http://127.0.0.1:11434"
    shell
  6. Check System > 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.
If something looks wrong
The app insists on discovering local OllamaDisable its auto-discovery or set its host environment/configuration explicitly.
Pull command failsAi Keeper's model acquisition is in Download; an Ollama pull workflow is not the same as Hugging Face/Cookbook management.
Workflow 04

Add a cloud, CLI, Lemonade, or custom provider

Use one of 16 provider routes when a job should not run on a local managed model.

Intermediate5–15 minResult · A provider-backed instance answers✓ Source-audited workflow
System API Access showing every public API format and the currently running route.
Confirm a provider-backed instance appears under Running Instances before connecting an external client.
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.
  1. Open Runtime > Instances and create a provider/external instance.

  2. Choose ChatGPT Codex, Claude Code, OpenAI, Anthropic, Google Gemini, Groq, Mistral, DeepSeek, xAI, OpenRouter, Together AI, Perplexity, Fireworks AI, Cerebras, Lemonade, or Custom.

  3. Store required credentials through System > Advanced > Secrets; do not paste them into prompts or plain notes. CLI providers use their own installed authentication.

  4. Enter or select the model ID and, for Custom/Lemonade when needed, the base URL. Set tool/vision policy to what the endpoint actually supports.

  5. Save, run its readiness test, then send a harmless prompt in Chat.

You are done when
The provider instance reports available, answers a test prompt, and System > Requests identifies the chosen route.
If something looks wrong
API key is accepted but requests failCheck the exact provider model ID, account entitlement, and API format.
Private data leaves the MacProvider routes are not local. Use a local instance for sensitive content unless your policy explicitly allows the provider.
Workflow 05

Add Ollama, LM Studio, vLLM, or another existing server

Register a Generic External OpenAI-compatible endpoint without letting Ai Keeper manage its process.

Intermediate5–10 minResult · Ai Keeper routes to the external server✓ Source-audited workflow
System API Access showing proxy endpoints and the Running Instances section.
An external runtime becomes useful to clients only after its instance appears here as an available route.
Before you start
  • The external server is already running.
  • Its OpenAI-compatible base URL and optional key.
  1. Test the external server's own /v1/models endpoint outside Ai Keeper or with Lab > Playground.

  2. Create an instance in Runtime > Instances and choose External OpenAI-compatible.

  3. Enter the base URL, optional API key reference, public model ID, and real feature policy.

  4. Save and verify. Ai Keeper should treat this as an externally owned endpoint, so Start/Stop process controls do not apply.

  5. Use Chat or API Access to send a request through Ai Keeper.

You are done when
The instance is available without a managed child process, and requests reach the external server through the Ai Keeper proxy.
If something looks wrong
Used localhost for a server on another Maclocalhost means the Ai Keeper Mac itself. Use the other machine's reachable address.
Tool catalog overwhelms an 8K modelKeep the tool policy narrow; Ai Keeper reduces the catalog for self-hosted routes, but irrelevant tools still waste context.
Workflow 06

Create and test a failover chain

Try a preferred local route first, then controlled backups when it is unavailable.

Advanced10–20 minResult · Requests move to a healthy backup✓ Source-audited workflow
System Advanced Connectivity showing Failover, Remote Access, Lanes, ACP Server, Node Mesh, and Device Pairing.
Failover Chains is the first Connectivity tool; create and test the chain here before making it a default route.
Before you start
  • At least two working instances/providers.
  • A clear cost, privacy, and quality order.
  1. Open System > Advanced > Failover and create a chain.

  2. Put the preferred route first. Add backups in the exact order you are willing to use them.

  3. Configure retry/cooldown and key rotation conservatively. Avoid endless loops or silently switching private work to cloud.

  4. Attach the chain to the intended route or policy and run a normal test.

  5. Temporarily stop or invalidate the first test route, send another harmless request, and inspect Requests to prove the second route was used. Restore the first route afterward.

You are done when
The first request uses the preferred target; the controlled failure uses the next target once, with the event visible in traffic/logs.
If something looks wrong
Unexpected cloud spendDo not place a billable provider in a generic chain without an explicit policy and usage review.
Every route retriesTighten retry classes and cooldowns; authentication failures and model-not-found errors usually need configuration, not repeated calls.
Workflow 07

Connect ChatGPT Codex

Create and test the ChatGPT Codex cli route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · ChatGPT Codex answers through Ai Keeper✓ CloudProvider source catalog verified
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.
  1. Install ChatGPT Codex's supported command-line tool, complete its own sign-in flow, and prove the CLI can list or use a model.

  2. Open Runtime > Instances, create a cloud/external instance, and choose ChatGPT Codex.

  3. Select a model exposed by the authenticated CLI. Leave the API-key field empty.

  4. Review the route note: No API key is entered in Ai Keeper; choose a model reported by the CLI.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 08

Connect Claude Code

Create and test the Claude Code cli route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Claude Code answers through Ai Keeper✓ CloudProvider source catalog verified
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.
  1. Install Claude Code's supported command-line tool, complete its own sign-in flow, and prove the CLI can list or use a model.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Claude Code.

  3. Select a model exposed by the authenticated CLI. Leave the API-key field empty.

  4. Review the route note: No API key is entered in Ai Keeper; requests use the Anthropic message format.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 09

Connect OpenAI

Create and test the OpenAI api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · OpenAI answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create an OpenAI API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose OpenAI.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Use an exact model ID available to the account.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 10

Connect Anthropic

Create and test the Anthropic api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Anthropic answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create an Anthropic API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Anthropic.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Ai Keeper applies the Anthropic key and version headers automatically.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 11

Connect Google Gemini

Create and test the Google Gemini api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Google Gemini answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create a Gemini API key in Google AI Studio and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Google Gemini.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Use a model exposed through Google's OpenAI-compatible endpoint.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 12

Connect Groq

Create and test the Groq api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Groq answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create a Groq API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Groq.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Choose a model currently enabled for the Groq account.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 13

Connect Mistral

Create and test the Mistral api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Mistral answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create a Mistral API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Mistral.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Use the provider's exact public model identifier.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 14

Connect DeepSeek

Create and test the DeepSeek api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · DeepSeek answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create a DeepSeek API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose DeepSeek.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Cloud DeepSeek is separate from the local ds4 backend.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 15

Connect xAI

Create and test the xAI api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · xAI answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create an xAI API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose xAI.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Confirm the selected Grok model is enabled for the account.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 16

Connect OpenRouter

Create and test the OpenRouter api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · OpenRouter answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create an OpenRouter API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose OpenRouter.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Model IDs normally include the upstream provider namespace.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 17

Connect Together AI

Create and test the Together AI api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Together AI answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create a Together API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Together AI.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Copy the model ID from Together rather than guessing it.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 18

Connect Perplexity

Create and test the Perplexity api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Perplexity answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create a Perplexity API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Perplexity.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: This provider uses its own OpenAI-compatible base path.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 19

Connect Fireworks AI

Create and test the Fireworks AI api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Fireworks AI answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create a Fireworks API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Fireworks AI.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Use the full Fireworks account/model identifier when required.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 20

Connect Cerebras

Create and test the Cerebras api route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Cerebras answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Create a Cerebras API key and store it in Secrets.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Cerebras.

  3. Select the saved secret and enter or choose the exact model ID enabled for the account.

  4. Review the route note: Pick a model listed for the current Cerebras account.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 21

Connect Lemonade

Create and test the Lemonade local service route without exposing credentials in prompts or notes.

Intermediate5–15 minResult · Lemonade answers through Ai Keeper✓ CloudProvider source catalog verified
Before you start
  • Start Lemonade Server; a local instance may not need a key.
  • Permission to send the test prompt to this provider or service.
  • A known provider model ID or a discoverable model list.
  1. Start Lemonade locally and confirm its health or models endpoint responds before configuring Ai Keeper.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Lemonade.

  3. Enter the exact base URL, API format, optional secret reference, and public model ID. Do not append the same /v1 path twice.

  4. Review the route note: The default route is http://127.0.0.1:8000/api/v1; change it only when the server differs.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.
Workflow 22

Connect Custom

Create and test the Custom custom endpoint route without exposing credentials in prompts or notes.

Advanced5–15 minResult · Custom answers through Ai Keeper✓ CloudProvider source catalog verified
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.
  1. Create the required credential outside Ai Keeper, then save it in System > Advanced > Secrets. Never paste it into Chat.

  2. Open Runtime > Instances, create a cloud/external instance, and choose Custom.

  3. Enter the exact base URL, API format, optional secret reference, and public model ID. Do not append the same /v1 path twice.

  4. Review the route note: Declare only capabilities the endpoint truly supports; custom headers come from reviewed configuration.

  5. Save the instance, send the harmless prompt Reply with exactly: provider route ready, then inspect System > 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.
If something looks wrong
401 or 403Rotate or reselect the stored secret, then confirm the account can use the exact model. Do not retry a bad key repeatedly.
404 or model not foundCopy the provider model ID exactly and verify the base URL/path.
Unexpected billable trafficStop the route, inspect Usage, and keep cloud providers out of generic failover chains unless policy allows them.

Keep going