Coming soon. The Wiki is in active development, so features and these docs may still change. Early adopters: contact us for access.

Kee providers and models

Connect Anthropic, OpenAI, Google Gemini or Amazon Bedrock with your own key, add models, and choose the default and the fallback

Settings → Kee → Providers and models holds the accounts Kee uses and the models people may pick. Credentials are encrypted on the server and never shown again after saving.

Providers and models: each provider with its status, and the models table with the default and the fallback model
Providers and models: each provider with its status, and the models table with the default and the fallback model

1. Connect a provider

  1. Open the dialog — Connect beside a provider, or Add provider.
  2. Fill in the credentials — Each provider asks for different things (below). Name is shown to administrators only.
  3. Test the connection — Test connection calls the provider from the server and says how many models the account may call and how long it took, or why it failed. Save is only possible after a passed test of exactly what you typed.
  4. Save — The key is encrypted with the installation's key. The list then shows only its last four characters.
Connect a provider: the four providers, the name, the API key and a passed connection test
Connect a provider: the four providers, the name, the API key and a passed connection test
ProviderWhat it asks forNotes
AnthropicAPI key
OpenAIAPI key; optional organisation ID and project IDIts model list includes models that aren't for chat: add only chat models
Google GeminiAPI keyThe Gemini API key, not Vertex AI
Amazon BedrockRegion, and an access key ID and secret access key, or This server's roleSee Amazon Bedrock
  • To replace a key, Edit the provider and type the new one; leaving the field empty keeps the stored key. A key can be replaced, never read back.
  • Remove deletes the provider's credentials. A provider that still has models can't be removed: remove its models first.
  • A failed test says why in plain words (credentials rejected; the account may not do this because of permissions, quota or billing; the server can't reach the provider), with the provider's own message and the server it was tested from.
  • Each provider's status shows in the list: Connected, Not tested, Key rejected or Failing.

2. Amazon Bedrock

  • Region is where the account's models and inference profiles are called. It decides where your text is processed.
  • Access key stores an access key ID and secret access key. This server's role stores no key at all: the server uses its instance profile or pod role. Every server of a cluster needs the same role; the test runs on the server that got the request.
  • The role or user needs bedrock:InvokeModelWithResponseStream, bedrock:InvokeModel, bedrock:ListFoundationModels and bedrock:ListInferenceProfiles.
  • Models can be foundation models or inference profiles. Bedrock doesn't say a model's limits: type them when you add it.

3. Add a model

Add model offers a model of a connected provider to people:

Add a model: the provider, a model picked from the provider's list, the name people see, the limits and the prices
Add a model: the provider, a model picked from the provider's list, the name people see, the limits and the prices
FieldMeaning
Provider, Model IDPicked from the provider's own list, or typed (a model ID or a Bedrock inference profile)
Name people seeName it the way your team talks about it. People pick models by this name
KindChat for everything Kee does today
Context window and Maximum output tokensFilled from the provider where it says them; type them otherwise. Kee cuts long content to fit
Price per million input and output tokensOptional, in the currency of your budget. Only for the cost estimate and the monthly budget
Reads imagesWhether the model accepts images (not used by Kee yet)
Offered to peopleOff keeps the model in the list without offering it

4. The default model

  • The default does every small task (fixing spelling and grammar, page summaries) and is first in every model picker. Exactly one model is the default; Make default in a model's menu changes it.
  • Writing help and Ask Kee let people pick any model that is offered. The picker shows only when there are two or more.
  • Pausing or removing the default first asks Which model takes over? A removed model's name stays in the usage records.

5. The fallback model

Fallback model is used when the default's provider is down: busy, rate limiting, unreachable, timing out, or rejecting its key. Kee tries the fallback once, before any text has arrived; the person sees which model answered. A model someone picked never falls back, and a request that was too long or declined isn't retried. A fallback at another provider than the default's needs Enterprise. It is off unless set.

6. Health checks

  • Every five minutes each server asks each provider for its model list (no tokens, no cost) and records whether it worked.
  • The system check shows AI default model (a default exists and its provider works) and AI providers (each server reaches each provider).
  • Administrators get an alert when a provider rejects its credentials, at once, and when it has been failing for five minutes.

7. Network

Calls go from the Wiki's servers to the provider; browsers and plugins never see the key. Allow outbound HTTPS from every server to the providers you use:

ProviderHosts
Anthropicapi.anthropic.com
OpenAIapi.openai.com
Google Geminigenerativelanguage.googleapis.com
Amazon Bedrockbedrock-runtime.<region>.amazonaws.com and bedrock.<region>.amazonaws.com

Provider calls use the server's standard HTTPS_PROXY and NO_PROXY environment and the system's trusted certificates. There is no separate proxy or certificate setting for Kee.

8. Timeouts and retries

A provider that is busy or rate limiting is retried a few times before the first words arrive, never after. An answer that breaks part way keeps what arrived and is marked incomplete: nothing incomplete is put on a page.