Full Setup Guide (Blog)
Complete walkthrough: Docker Compose, virtual keys, Ollama, remote access, and Caddy HTTPS.
An AI gateway is an OpenAI-compatible proxy that sits in front of your AI providers and routes all team traffic through one controlled endpoint. Combined with Askimo’s built-in OpenAI-Compatible provider, it lets an entire team share one set of API keys, with no one ever seeing the real credentials.
This guide uses LiteLLM as a worked example — it is a widely-used open-source gateway that works with Askimo out of the box. Other OpenAI-compatible gateways follow the same connection pattern.
Askimo is a bring-your-own-key desktop app. Each user normally manages their own API keys locally. This is ideal for individual privacy and cost control, but creates friction for teams:
A shared AI gateway solves this by:
The diagram below shows how Askimo connects to a shared AI gateway (LiteLLM used as the example):
flowchart LR A1["Askimo Desktop\nUser 1"] --> P A2["Askimo Desktop\nUser 2"] --> P A3["Askimo Desktop\nUser 3"] --> P
subgraph P["LiteLLM Proxy (self-hosted)"] direction TB VK["Virtual Keys\nper user"] RT[Model Router] VK --> RT end
P --> OAI["OpenAI\nGPT models"] P --> ANT["Anthropic\nClaude models"] P --> GEM["Google\nGemini models"] P --> OLL["Ollama\nLocal models"]LiteLLM exposes an OpenAI-style /v1 endpoint. Askimo connects to it via the OpenAI-Compatible provider, with no special plugin or configuration needed on the client side. Any gateway that exposes an OpenAI-style /v1 endpoint works the same way.
Once your AI gateway is running (see the full guide for a LiteLLM-based setup), each team member configures Askimo as follows:
Open Askimo and click the provider pill in the footer bar, then click Add Provider. Or go to Settings → AI Providers.
Select Other providers from the list.
Fill in the connection details:
| Field | Value |
|---|---|
| Provider Name | Any label (e.g. Team AI) |
| Base URL | http://your-server-ip:4000/v1 |
| API Key | Your personal virtual key (or leave blank for open internal access) |
| API Mode | Chat Completions (default) |
| HTTP Version | HTTP/1.1 (default) |
Save. Askimo calls /v1/models and populates the model list automatically.
Start chatting. All requests route through LiteLLM to whichever provider the model belongs to.
| Without LiteLLM | With LiteLLM | |
|---|---|---|
| API key setup per user | Required for each provider | Not needed, just one URL |
| Provider accounts | Each user signs up | Admin only |
| Spend control | Per-user, fragmented | Central, per-virtual-key budgets |
| Access revocation | Rotate real key (affects everyone) | Delete one virtual key |
| Models available | Whatever the user configured | All models the admin has enabled |
| Privacy | Chats stay local | Chats stay local; keys stay on server |
LiteLLM is a straightforward open-source option to get a gateway running quickly:
| Step | What you do |
|---|---|
| 1. Run LiteLLM | curl -sSL https://docs.litellm.ai/docker-compose.yml | docker compose --env-file .env -f - up -d |
| 2. Add your provider API keys | Via the .env file or the Admin UI at http://localhost:4000/ui |
| 3. Create virtual keys | One per team member, with optional spend limits and model restrictions |
| 4. Share the proxy URL + virtual key | Each user enters it in Askimo as an OpenAI-Compatible provider |
LiteLLM can also route to an Ollama server running on the same machine, making free open-source models available to the whole team alongside cloud models:
model_list: - model_name: llama3.3 litellm_params: model: ollama/llama3.3 api_base: http://host.docker.internal:11434 # use host.docker.internal when LiteLLM runs in DockerOnce added, llama3.3 appears in Askimo’s model picker alongside GPT and Claude, at no cost per request.
No models showing after connecting?
/v1curl http://your-server:4000/health“Invalid API key” error?
Model returns errors?
docker logs litellm-proxyFull Setup Guide (Blog)
Complete walkthrough: Docker Compose, virtual keys, Ollama, remote access, and Caddy HTTPS.
OpenAI-Compatible Provider
Reference docs for connecting any OpenAI-style endpoint to Askimo.
Askimo Pricing & Team Edition
Team Edition brings native shared workspaces and management, with no proxy needed.
LiteLLM Documentation
Official LiteLLM proxy docs: model routing, virtual keys, budgets, and Admin UI.