Step-by-Step Guide

Set Up LiteLLM & Web Search
for Your AI Tools

A complete guide to create your account and connect Kilo, Codex CLI, and Claude Code — so they can search the web for current information.

Before You Start: Two Web Addresses

This process uses two different web addresses with completely different purposes. This is the most common source of mistakes, so please note them first.

PurposeAddress
1 Register your account & manage keys (web portal) https://litellm.feedmob.ai
2 The “service address” you enter into each AI tool https://litellm-api.feedmob.ai
Create your account and key on address 1; but the service address you enter into the AI tools must always be address 2. If you mistakenly use address 1, the AI tool will still chat but won't be able to search the web.
1

Create a LiteLLM Account and Get Your Key

Ask an administrator to invite you

Your account must be created via an invitation from the administrator, Rao. Please contact her and let her know you need a LiteLLM account. You will then receive an invitation email.

Open the link in the email and register

Find the invitation email in your inbox, click the registration link inside, and fill in the requested information to complete sign-up.

Screenshot placeholder — invitation email / registration page
Invitation email with the registration link

Log in and create a key

  1. Open the portal in your browser: https://litellm.feedmob.ai
  2. Log in with the account you just registered.
  3. Find the Virtual Keys page in the menu.
  4. Click the Create New Key button.
  5. In Key Name, enter a name you'll recognize, e.g. my-key. Leave the other options at their defaults.
  6. Click create. The page will show a key starting with sk-.
Screenshot placeholder — Virtual Keys → Create New Key
Virtual Keys page — creating a new key
Copy this sk- key immediately and store it somewhere safe (e.g. a password manager). Once the page is closed you usually cannot view it in full again. Wherever you see sk-xxxxxxxx below, it stands for your real key.
2

Connect Your AI Tools

Below are the setup instructions for three common tools. You only need to configure the one you actually use — you don't have to do all three. The model name is always minimax/minimax-m3.

A · Kilo (VSCode extension)

Kilo is an AI assistant inside VSCode. We recommend adding the service through its graphical interface first, then adjusting settings as needed.

Part 1 — Add a custom provider in the Kilo UI

  • Open Kilo settings and choose to add a custom provider.
  • In the API Key field, paste your sk-xxxxxxxx key.
  • In the service address (base URL) field, enter the value below:
Base URL
https://litellm-api.feedmob.ai/v1
Screenshot placeholder — Kilo custom provider dialog
Kilo — adding a custom provider with API Key and base URL

Part 2 (optional) — Add capabilities such as image recognition

If you need options not available in the UI (such as image recognition), edit the config file ~/.config/kilo/kilo.jsonc using the example below:

~/.config/kilo/kilo.jsonc
{
  "model": "litellm/minimax-m3",
  "provider": {
    "litellm": {
      "name": "LiteLLM",
      "npm": "@ai-sdk/openai",
      "options": {
        "baseURL": "https://litellm-api.feedmob.ai/v1",
        "timeout": 300000
      },
      "models": {
        "minimax-m3": {
          "id": "minimax/minimax-m3",
          "name": "MiniMax M3",
          "tool_call": true,
          "reasoning": true,
          "attachment": true,
          "modalities": { "input": ["text", "image"], "output": ["text"] }
        }
      }
    }
  }
}
You do not need to enter the key again in the config file. As long as the provider name is still litellm (matching what you added in the UI), Kilo will reuse the key you entered there. Restart VSCode after editing for changes to take effect.
B · Codex CLI (command-line tool)

Edit the config file ~/.codex/config.toml and add the following:

~/.codex/config.toml
model = "minimax/minimax-m3"
model_provider = "litellm"

[model_providers.litellm]
name = "litellm"
base_url = "https://litellm-api.feedmob.ai"
wire_api = "responses"
requires_openai_auth = true
env_key = "LL_API_KEY"

Then set your key as an environment variable (we recommend adding it to ~/.bashrc or ~/.zshrc so it persists):

Environment variable
export LL_API_KEY="sk-xxxxxxxx"
The service address here does not include /v1 — Codex adds it automatically. After setup, open a new terminal and run codex. If you see a message like “Model metadata … not found / fallback metadata”, this is a known notice and does not affect usage.
C · Claude Code CLI (command-line tool)

Connect by setting three environment variables (again, we recommend adding them to ~/.bashrc or ~/.zshrc):

Environment variables
export ANTHROPIC_BASE_URL="https://litellm-api.feedmob.ai"
export ANTHROPIC_AUTH_TOKEN="sk-xxxxxxxx"
export ANTHROPIC_MODEL="minimax/minimax-m3"
After setup, open a new terminal and run claude. Its web search runs through the service address automatically.
3

Verify It Works

In whichever tool you configured, ask a question that needs current information, for example:

Test prompt
Search for the latest international oil prices (Brent / WTI).
  • If it returns recent information with source links, web search is working.
  • If it can't search, first check: whether the service address was set to address 2 (not address 1), whether the key is correct, and whether the model name is minimax/minimax-m3.
Frequently Asked Questions
Didn't receive the invitation email / can't register?

Contact the administrator, Rao, to resend the invitation.

Forgot or leaked your key?

Go back to the Virtual Keys page in the portal (https://litellm.feedmob.ai), create a new one, and disable the old one.

Can chat normally but can't search the web?

Almost always because the service address was set to address 1. Change it to address 2.