Set up
Open the settings
Go to Settings → AI Model. Under Where does inference run?, pick Your provider account or Self-hosted.
Choose a provider and model
Pick a provider (see below), then pick a model from the list or type any model ID your provider serves.
Enter your key
Paste your API key. For Amazon Bedrock, enter the region, access key ID and secret access key.
Providers
| Provider | Models listed in the dashboard |
|---|---|
| OpenAI | gpt-4o-mini, gpt-4o, gpt-4.1-mini, gpt-4.1 |
| Anthropic | claude-3-5-haiku-latest, claude-3-5-sonnet-latest |
| Google Gemini | gemini-1.5-flash, gemini-1.5-pro |
| Amazon Bedrock | Claude Sonnet 4.5, Claude Haiku 4.5, Amazon Nova Pro and Lite, Llama 3.3 70B, Mistral Large |
OpenAI-compatible vendors
These use the OpenAI format. The dashboard fills in the address for you.| Vendor | Address |
|---|---|
| Groq | https://api.groq.com/openai/v1 |
| Together AI | https://api.together.xyz/v1 |
| Fireworks AI | https://api.fireworks.ai/inference/v1 |
| DeepSeek | https://api.deepseek.com/v1 |
| xAI (Grok) | https://api.x.ai/v1 |
| Mistral AI | https://api.mistral.ai/v1 |
| Cerebras | https://api.cerebras.ai/v1 |
| DeepInfra | https://api.deepinfra.com/v1/openai |
| OpenRouter | https://openrouter.ai/api/v1 |
Self-hosted models
Choose Self-hosted to use a model server such as Ollama, vLLM, LM Studio or LocalAI. Pick the API format it speaks (usually OpenAI) and enter its address.Amazon Bedrock
Enter the region, an AWS access key ID and a secret access key. The model is an inference profile ID whose prefix matches your region, such asus.anthropic.claude-sonnet-4-5-20250929-v1:0. Kelu never uses its own AWS account for your workspace.
What runs on your account
The AI Model page shows, under What runs on your account, which steps your key pays for:| Step | On your account? |
|---|---|
| Answers | Yes |
| Query planning | Yes |
| Passage scoring | Yes, unless Kelu scores passages with its own reranking model |
| Embeddings | Only with an OpenAI key on the OpenAI API. Your documents were indexed with Kelu’s embedding model, so other keys cannot be used for it. |
API
| Field | Description |
|---|---|
provider | openai, anthropic, gemini or bedrock. For an OpenAI-compatible vendor, use openai |
api_key | Your key. Never returned; GET reports has_api_key instead |
base_url | Optional. The vendor’s address, or https://bedrock-runtime.<region>.amazonaws.com for Bedrock |
model | The model ID |
max_tokens, temperature | Optional. 100–32,000 and 0–2 |
testmakes one small call. Leave outapi_keyto test the saved key. A rejected key returns 502 with the provider’s message.DELETEreturns the workspace to Kelu’s models.- For Bedrock,
api_keyis JSON ({"access_key_id": "…", "secret_access_key": "…", "session_token": "…"}),ACCESS:SECRET[:REGION[:SESSION_TOKEN]], or a Bedrock API key.