<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sebastian</title>
    <description>The latest articles on DEV Community by Sebastian (@admantium).</description>
    <link>https://dev.to/admantium</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F293754%2Fd729fdfe-66dd-4fe7-a2ed-9808c1fcb46d.png</url>
      <title>DEV Community: Sebastian</title>
      <link>https://dev.to/admantium</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/admantium"/>
    <language>en</language>
    <item>
      <title>LiteLLM: Observability and Metrics</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Thu, 03 Dec 2026 06:00:00 +0000</pubDate>
      <link>https://dev.to/admantium/litellm-observability-and-metrics-5h9d</link>
      <guid>https://dev.to/admantium/litellm-observability-and-metrics-5h9d</guid>
      <description>&lt;p&gt;LiteLLM is a proxy server for LLM traffic. At its core, it manages configurations for several LLM providers and exposes supported models through Anthropic API-compatible or OpenAI API-compatible wrappers. When LLM traffic passes through the proxy server, additional features become available, including rate limiting, budget control, model aliases, intelligent routing, and comprehensive metrics and trace collection.&lt;/p&gt;

&lt;p&gt;Part of an ongoing blog series about LiteLLM, this article shows how to tap into its rich observability capabilities. It explains which metrics are recorded, explores traces as fine-grained records of LLM invocations, and shows how to visualize them.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;LiteLLM v1.94.1&lt;/code&gt;, published on 2026-07-31. The setup and configuration examples should also work with newer versions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The background material for this article comes from the official &lt;a href="https://docs.litellm.ai/docs/simple_proxy" rel="noopener noreferrer"&gt;LiteLLM documentation&lt;/a&gt;, specifically the pages on &lt;a href="https://docs.litellm.ai/docs/proxy/prometheus" rel="noopener noreferrer"&gt;Prometheus metrics&lt;/a&gt; and &lt;a href="https://docs.litellm.ai/docs/observability/opentelemetry_v2" rel="noopener noreferrer"&gt;OpenTelemetry v2&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains a personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies of log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm46_litellm_observability_and_metrics/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Observability Features
&lt;/h2&gt;

&lt;p&gt;LiteLLM's core observability features fall into two categories: internal metrics collection and instrumentation of LLM traffic with OpenTelemetry. The following sections explore both aspects.&lt;/p&gt;

&lt;h3&gt;
  
  
  LiteLLM Internal Metrics
&lt;/h3&gt;

&lt;p&gt;The proxy exposes a Prometheus-compatible metrics endpoint that provides several gateway metrics. These can be grouped as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Health: Availability of the proxy server and model deployments&lt;/li&gt;
&lt;li&gt;Success and error rates: Total number of requests, successful versus failed calls, and error categories&lt;/li&gt;
&lt;li&gt;Latency: Upstream latency when making LLM calls and downstream latency when forwarding results to the requesting client&lt;/li&gt;
&lt;li&gt;Tokens: Fine-grained timing statistics for input and output tokens&lt;/li&gt;
&lt;li&gt;Budgets and rate limits: Remaining amounts, saturation, and accumulation&lt;/li&gt;
&lt;li&gt;Infrastructure: In enterprise-grade deployments, additional metrics about the operational health and performance of connected Redis, PostgreSQL, and other services&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  OpenTelemetry
&lt;/h3&gt;

&lt;p&gt;The &lt;a href="https://opentelemetry.io/docs/specs/otel/overview/" rel="noopener noreferrer"&gt;OpenTelemetry&lt;/a&gt; standard describes an independent framework for how operational components of a system emit telemetry data and how that data is delivered and propagated to receiving systems. Within this framework, instrumented clients emit signals such as metrics and traces, along with baggage. Following defined semantic conventions and protocols, clients emit signals to collectors, which forward them to backends. The OpenTelemetry standard itself does not provide implementations for specific programming languages (clients), collectors, or backends, with the exception of the &lt;a href="https://opentelemetry.io/docs/collector/install/" rel="noopener noreferrer"&gt;OpenTelemetry Collector reference project&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;LiteLLM supports OpenTelemetry for recording traces during LLM invocations. When configured, a single client-server request to complete a chat message is broken down into individual processing steps: the HTTP call, LiteLLM authentication, input guardrails, the LLM invocation (treated as a black box), output guardrails, and the response to the client.&lt;/p&gt;

&lt;p&gt;Two versions of the OpenTelemetry integration can be enabled: &lt;code&gt;v1&lt;/code&gt; and &lt;code&gt;v2&lt;/code&gt;. They differ in trace granularity: in &lt;code&gt;v1&lt;/code&gt;, processing steps emit individual traces; in &lt;code&gt;v2&lt;/code&gt;, one end-to-end trace is created.&lt;/p&gt;

&lt;p&gt;The content of each trace is particularly relevant here. LiteLLM follows the &lt;a href="https://github.com/open-telemetry/semantic-conventions-genai/blob/main/docs/gen-ai/README.md" rel="noopener noreferrer"&gt;GenAI semantic conventions&lt;/a&gt;. Model and agent spans contain attributes such as &lt;code&gt;gen_ai.operation.name&lt;/code&gt;, &lt;code&gt;gen_ai.conversation.id&lt;/code&gt;, &lt;code&gt;gen_ai.request.model&lt;/code&gt;, &lt;code&gt;gen_ai.usage.input_tokens&lt;/code&gt;, &lt;code&gt;gen_ai.usage.output_tokens&lt;/code&gt;, and &lt;code&gt;gen_ai.output.messages&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Enabling LiteLLM to produce these spans involves two steps. First, the environment variables &lt;code&gt;LITELLM_OTEL_INTEGRATION_ENABLE_METRICS&lt;/code&gt; and &lt;code&gt;LITELLM_OTEL_V2&lt;/code&gt; must be set for the proxy process. Second, because OpenTelemetry v2 records only metadata by default, logging of prompts and LLM responses must be enabled explicitly with &lt;code&gt;OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT&lt;/code&gt;. When using this in production, check your governance rules for capturing end-user messages in this way.&lt;/p&gt;

&lt;h3&gt;
  
  
  Callbacks
&lt;/h3&gt;

&lt;p&gt;Callbacks provide a low-level but powerful way to emit logs to external services. Three lifecycle phases can be distinguished:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Input: The LiteLLM proxy receives an input message and applies its guardrails; the callback runs immediately before the configured LLM provider is called&lt;/li&gt;
&lt;li&gt;Success: The callback runs when the LLM provider's response arrives with an HTTP status code indicating success, before guardrails sanitize the output&lt;/li&gt;
&lt;li&gt;Failure: The callback runs when the LLM provider's response arrives with an HTTP status code indicating failure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For each lifecycle phase, you can register a callback that does one of the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;References a built-in integration, such as &lt;code&gt;langfuse&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Executes a custom Python function that receives the event log object and implements arbitrary data-handling logic&lt;/li&gt;
&lt;li&gt;Executes a custom Python instance of the built-in &lt;code&gt;CustomLogger&lt;/code&gt; class, which exposes framework-related logic&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Set Up OpenTelemetry Tracing
&lt;/h2&gt;

&lt;p&gt;To set up and view GenAI traces with LiteLLM, use the following components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Trace backend: Several tracing backends are available, including &lt;a href="https://grafana.com/oss/tempo/" rel="noopener noreferrer"&gt;Grafana Tempo&lt;/a&gt; from the Grafana ecosystem, which supports multiple open-source tracing protocols, including OpenTelemetry&lt;/li&gt;
&lt;li&gt;Trace visualization: While specialized systems such as Langfuse provide rich visualizations, this article uses a simple proof of concept with Grafana dashboards to display trace information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With the application stack defined, follow these steps.&lt;/p&gt;

&lt;h3&gt;
  
  
  Configure Grafana Tempo
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;tempo&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;grafana/tempo:3.0.3&lt;/span&gt;
  &lt;span class="na"&gt;container_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;tempo&lt;/span&gt;
  &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"-config.file=/etc/tempo.yaml"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"3200:3200"&lt;/span&gt;  &lt;span class="c1"&gt;# Tempo query API
&lt;/span&gt;    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"4317:4317"&lt;/span&gt;  &lt;span class="c1"&gt;# OTLP gRPC (traces)
&lt;/span&gt;    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"4318:4318"&lt;/span&gt;  &lt;span class="c1"&gt;# OTLP HTTP (traces)
&lt;/span&gt;  &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./config/tempo.yaml:/etc/tempo.yaml&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;tempo_data:/var/tempo&lt;/span&gt;
&lt;span class="nn"&gt;...
&lt;/span&gt;&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;tempo_data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;litellm_tempo_data&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the following configuration file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# tempo.yaml
&lt;/span&gt;&lt;span class="na"&gt;server&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;http_listen_port&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3200&lt;/span&gt;

&lt;span class="na"&gt;distributor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;receivers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;otlp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;protocols&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;grpc&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;endpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;0.0.0.0:4317&lt;/span&gt;
        &lt;span class="na"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;endpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;0.0.0.0:4318&lt;/span&gt;

&lt;span class="na"&gt;storage&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;backend&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;local&lt;/span&gt;
    &lt;span class="na"&gt;wal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/var/tempo/wal&lt;/span&gt;
    &lt;span class="na"&gt;local&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/var/tempo/blocks&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Configure Grafana
&lt;/h3&gt;

&lt;p&gt;Set up a Grafana instance:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;grafana&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;grafana/grafana:13.2.2&lt;/span&gt;
  &lt;span class="na"&gt;container_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;grafana&lt;/span&gt;
  &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"3000:3000"&lt;/span&gt;
  &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;GF_SECURITY_ADMIN_PASSWORD=admin&lt;/span&gt;
  &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;grafana-data:/var/lib/grafana&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:ro&lt;/span&gt;
  &lt;span class="na"&gt;depends_on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;tempo&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;prometheus&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the following configuration file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;

&lt;span class="na"&gt;datasources&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;tempo&lt;/span&gt;
    &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;tempo&lt;/span&gt;
    &lt;span class="na"&gt;access&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;proxy&lt;/span&gt;
    &lt;span class="na"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;http://tempo:3200&lt;/span&gt;
    &lt;span class="na"&gt;isDefault&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
    &lt;span class="na"&gt;editable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;jsonData&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;httpMethod&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;GET&lt;/span&gt;
      &lt;span class="na"&gt;tracesToLogs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;datasourceUid&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;
      &lt;span class="na"&gt;serviceMap&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;datasourceUid&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"prometheus"&lt;/span&gt;

  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;prometheus&lt;/span&gt;
    &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;prometheus&lt;/span&gt;
    &lt;span class="na"&gt;access&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;proxy&lt;/span&gt;
    &lt;span class="na"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;http://prometheus:9090&lt;/span&gt;
    &lt;span class="na"&gt;isDefault&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;editable&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;jsonData&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;timeInterval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"15s"&lt;/span&gt;
      &lt;span class="na"&gt;httpMethod&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;POST&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Update the Prometheus Scrape Configuration
&lt;/h3&gt;

&lt;p&gt;Extend the Prometheus configuration to scrape metrics from these services:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;scrape_configs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;# ...
&lt;/span&gt;  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;job_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"prometheus"&lt;/span&gt;
    &lt;span class="na"&gt;static_configs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;targets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"localhost:9090"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;job_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tempo"&lt;/span&gt;
    &lt;span class="na"&gt;static_configs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;targets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"tempo:3200"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Configure LiteLLM
&lt;/h3&gt;

&lt;p&gt;To expose the &lt;code&gt;/metrics&lt;/code&gt; endpoint, add the following to the LiteLLM configuration file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;litellm_settings&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;success_callback&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;prometheus&lt;/span&gt;
  &lt;span class="na"&gt;require_auth_for_metrics_endpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To emit traces and configure the destination endpoint, add the following environment variables to the LiteLLM stack:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;LITELLM_OTEL_V2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"true"&lt;/span&gt;
&lt;span class="na"&gt;LITELLM_OTEL_INTEGRATION_ENABLE_METRICS&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"true"&lt;/span&gt;

&lt;span class="na"&gt;OTEL_EXPORTER_OTLP_ENDPOINT&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;http://0.0.0.0:4317&lt;/span&gt;
&lt;span class="na"&gt;OTEL_EXPORTER_OTLP_PROTOCOL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;grpc&lt;/span&gt;
&lt;span class="na"&gt;OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;span_and_event&lt;/span&gt;
&lt;span class="na"&gt;OTEL_RESOURCE_ATTRIBUTES&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;deployment.environment=production&lt;/span&gt;
&lt;span class="na"&gt;OTEL_SERVICE_NAME&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;litellm-proxy&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Restart the LiteLLM container to apply these changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Visualize Metrics and Traces
&lt;/h2&gt;

&lt;p&gt;To check the setup, inspect the log files of the respective services. The following excerpt shows Tempo query activity:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;tempo         | level=info ts=2026-09-27T10:19:00.448124174Z caller=metrics_query_range_handler.go:236 msg="query range response" tenant=single-tenant traceID= query="{nestedSetParent&amp;lt;0 &amp;amp;&amp;amp; true} | histogram_over_time(duration) with(sample=true)" range_nanos=1800000000000 max_series=0 duration_seconds=0.00372407 request_throughput=0 total_requests=1 total_blockBytes=0 total_blocks=0 completed_requests=1 inspected_bytes=0 inspected_traces=0 inspected_spans=0 partial_status=COMPLETE partial_message= num_response_series=0 error=null
tempo         | level=info ts=2026-09-27T10:19:00.448220925Z caller=metrics_query_range_handler.go:236 msg="query range response" tenant=single-tenant traceID= query="{nestedSetParent&amp;lt;0 &amp;amp;&amp;amp; true &amp;amp;&amp;amp; status=error} | rate()  with(sample=true)" range_nanos=1792000000000 max_series=0 duration_seconds=0.005468544 request_throughput=0 total_requests=1 total_blockBytes=0 total_blocks=0 completed_requests=1 inspected_bytes=0 inspected_traces=0 inspected_spans=0 partial_status=COMPLETE partial_message= num_response_series=0 error=null
tempo         | level=info ts=2026-09-27T10:19:00.448261473Z caller=handler.go:135 msg="query stats" tenant=single-tenant method=GET traceID= url="/api/metrics/query_range?start=1790502504000000000&amp;amp;end=1790504296000000000&amp;amp;step=28s&amp;amp;mode=&amp;amp;blockID=&amp;amp;startPage=0&amp;amp;pagesToSearch=0&amp;amp;version=&amp;amp;encoding=none&amp;amp;size=0&amp;amp;footerSize=0&amp;amp;q=%7BnestedSetParent%3C0+%26%26+true+%26%26+status%3Derror%7D+%7C+rate%28%29++with%28sample%3Dtrue%29&amp;amp;exemplars=100&amp;amp;maxSeries=0&amp;amp;instant=false" duration=5.509188ms response_size=57 status=200
tempo         | level=info ts=2026-09-27T10:19:00.448250595Z caller=handler.go:135 msg="query stats" tenant=single-tenant method=GET traceID= url="/api/metrics/query_range?start=1790502450000000000&amp;amp;end=1790504250000000000&amp;amp;step=1m15s&amp;amp;mode=&amp;amp;blockID=&amp;amp;startPage=0&amp;amp;pagesToSearch=0&amp;amp;version=&amp;amp;encoding=none&amp;amp;size=0&amp;amp;footerSize=0&amp;amp;q=%7BnestedSetParent%3C0+%26%26+true%7D+%7C+histogram_over_time%28duration%29+with%28sample%3Dtrue%29&amp;amp;exemplars=100&amp;amp;maxSeries=0&amp;amp;instant=false" duration=3.851807ms response_size=57 status=200
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To view metrics:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the main menu and click "Drilldown"&lt;/li&gt;
&lt;li&gt;Select the "Metrics" tile&lt;/li&gt;
&lt;li&gt;In the dashboard, select the "prometheus" data source&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6911kp1eamh4vnlbahnd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6911kp1eamh4vnlbahnd.png" width="800" height="510"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To view trace information:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the main menu and click "Drilldown"&lt;/li&gt;
&lt;li&gt;Select the "Traces" tile&lt;/li&gt;
&lt;li&gt;In the dashboard, select the "tempo" data source&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is the resulting page:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fue21is3ol5eg20ddflhj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fue21is3ol5eg20ddflhj.png" width="800" height="594"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;LiteLLM is a proxy server for LLM traffic, enabling gathering rich metrics and traces about LLM invocation. In this introductionary article, you learned a) which internal metrics LiteLLM provides, b) what the OpenTelemetry standard encompasesse, c) how LiteLLM callbacks allow fine-granulary, customized logging, and d) how to setup a docker compose stack to run LiteLLM, capture metrics with prometheus, traces with Grafa Tempo, and visualize them with Grafana.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>litellm</category>
    </item>
    <item>
      <title>LiteLLM: Budget Management and Rate Limits</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Mon, 23 Nov 2026 06:00:00 +0000</pubDate>
      <link>https://dev.to/admantium/litellm-budget-management-and-rate-limits-ep0</link>
      <guid>https://dev.to/admantium/litellm-budget-management-and-rate-limits-ep0</guid>
      <description>&lt;p&gt;LiteLLM is a versatile proxy, providing a multi-API compatible interface to multiple LLM providers. Requests that pass LiteLLM are logged and stored, which provides a wealth of information to understand and inspect LLM traffic.&lt;/p&gt;

&lt;p&gt;This article provides a complete manual to manage budgets, rate limits, and costs. Learn about the nuances of budget allocation to individual users, teams, and organizations, service accounts, or agents. See how cost spending is tracked through either unmodified LiteLLM proxy usage or with custom headers to aggregate cost. Finally, get an overview of cost dashboards.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;litellm v1.94.1&lt;/code&gt;, published on 2026-07-31. Setup and configuration examples should work with newer versions too.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The background material for this article stems from the official &lt;a href="https://docs.litellm.ai/docs/simple_proxy" rel="noopener noreferrer"&gt;LiteLLM documentation&lt;/a&gt;, specifically the pages &lt;a href="https://docs.litellm.ai/docs/proxy/virtual_keys" rel="noopener noreferrer"&gt;Virtual Keys&lt;/a&gt;, &lt;a href="https://litellm.vercel.app/docs/proxy/users#set-budgets" rel="noopener noreferrer"&gt;Budgets, Rate Limits&lt;/a&gt;, and &lt;a href="https://docs.litellm.ai/docs/proxy/cost_tracking" rel="noopener noreferrer"&gt;Spend Tracking&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains a personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm45_litellm_budget_and_cost_management/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Budgets in LiteLLM
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Types
&lt;/h3&gt;

&lt;p&gt;LiteLLM distinguishes different types of budgets. They are tied to a key and the key's ownership. Reflecting the ownership types, these budgets emerge:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://docs.litellm.ai/docs/proxy/users#internal-user" rel="noopener noreferrer"&gt;Personal&lt;/a&gt;: Budgets allocated to a specific user account, which requires that the used key does not have a set &lt;code&gt;team_id&lt;/code&gt; parameter&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.litellm.ai/docs/proxy/users#team" rel="noopener noreferrer"&gt;Team&lt;/a&gt;: The budget available to a group of personal accounts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.litellm.ai/docs/proxy/users#team-members" rel="noopener noreferrer"&gt;Team member&lt;/a&gt;: A max amount or percentage a team member can use&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Additional budgets can be configured for these:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Service Account: A key with a team ID, but no attached member, is considered a service account, and it can have its own budget setting&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.litellm.ai/docs/proxy/users#agents" rel="noopener noreferrer"&gt;Agents&lt;/a&gt;: A flexible, session-based budget intended to keep costs for recurrent or scheduled invocation at bay&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.litellm.ai/docs/proxy/cost_tracking#custom-tags" rel="noopener noreferrer"&gt;Tags&lt;/a&gt;: Associate costs with tags that are passed with requests, and use these tags as flexible representations of use cases, products, or projects to accumulate costs in the internal database&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.litellm.ai/docs/proxy/users#global-proxy" rel="noopener noreferrer"&gt;Global&lt;/a&gt;: Overall budget for the complete LiteLLM proxy usage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These conceptual budgets have two different technical realizations. The dominant type used in most official documentation texts are &lt;em&gt;key budgets&lt;/em&gt;, created for a specific key. Another type is &lt;em&gt;budget record&lt;/em&gt;, a separate entity created independently, and which can be linked to a key. The difference in declaration and tracking is covered in the following sections.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Budget Creation
&lt;/h3&gt;

&lt;p&gt;Budgets for individual accounts or groups of accounts are created during initial key creation or an update operation on an existing key with budget information.&lt;/p&gt;

&lt;p&gt;Here are the steps to create a team key budget.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create the team via the &lt;code&gt;/team/new&lt;/code&gt; endpoint, providing only a slim &lt;code&gt;team_alias&lt;/code&gt; payload
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s2"&gt;"http://0.0.0.0:4000/team/new"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  --data-raw &lt;span class="s1"&gt;'{
    "team_alias": "app-development"
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"team_alias"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"app-development"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"team_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"aef0c9f8-fba2-412d-9f30-059ce8c97240"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-08T12:05:25.430000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"created_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-08T12:05:25.430000Z"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Create the key with &lt;code&gt;/key/generate&lt;/code&gt;, and in the request payload, associate it with the team and include a budget definition&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;The budget definition consists of two parameters

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;max_budget&lt;/code&gt;: The total amount that can be spent&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;budget_duration&lt;/code&gt;: The timeframe in which the budget is valid; available values are numeric values with a suffix of &lt;code&gt;s&lt;/code&gt; (seconds), &lt;code&gt;m&lt;/code&gt; (minutes), &lt;code&gt;h&lt;/code&gt; (hours), and &lt;code&gt;d&lt;/code&gt; (days)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Optionally, multiple budgets can be defined

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;budget_limits&lt;/code&gt;: A list of the above budget attributes, allowing you to set multiple overlapping budget durations, e.g., a max daily and max weekly
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s2"&gt;"http://0.0.0.0:4000/key/generate"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  --data-raw &lt;span class="s1"&gt;'{
    "key_alias": "app-development-default-key",
    "team_id": "aef0c9f8-fba2-412d-9f30-059ce8c97240",
    "models": ["gpt-5.6-luna"],
    "max_budget": 100,
    "budget_duration": "7d"
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"key_alias"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"app-development-default-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"spend"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"max_budget"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;100.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"team_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"app-development"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"budget_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"created_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-08T12:07:04.863000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-08T12:07:04.863000Z"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Budget Record Creation
&lt;/h3&gt;

&lt;p&gt;Budget records can be created via API and the GUI. The API way is chosen so that the results can be compared.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The budget definition uses the same parameters of &lt;code&gt;max_budget&lt;/code&gt; and &lt;code&gt;budget_duration&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s1"&gt;'http://localhost:4000/budget/new'&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  --data-raw &lt;span class="s1"&gt;'{
    "max_budget": 200,
    "budget_duration": "14d"
}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"budget_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"414b42b4-b2a2-4c37-8364-4d966c0c57e0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"max_budget"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;200.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"budget_duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"14d"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"budget_reset_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-22T00:00:00Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"allowed_models"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"created_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-08T11:38:16.869000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"created_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"default_user_id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-08T11:38:16.869000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"default_user_id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"organization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"projects"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"keys"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"end_users"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"tags"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"team_membership"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"organization_membership"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Interestingly, a record budget cannot be associated with a team. Running a &lt;code&gt;/team/update&lt;/code&gt; request ...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s2"&gt;"http://localhost:4000/team/update"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  --data-raw &lt;span class="s1"&gt;'{
    "team_id": "aef0c9f8-fba2-412d-9f30-059ce8c97240",
    "budget_id": "414b42b4-b2a2-4c37-8364-4d966c0c57e0"
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;... silently accepts the passed &lt;code&gt;budget_id&lt;/code&gt; parameter (which is, frankly, not part of its input schema anyway), and is also not shown in the response.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"team_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"aef0c9f8-fba2-412d-9f30-059ce8c97240"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"team_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"aef0c9f8-fba2-412d-9f30-059ce8c97240"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;..&lt;/span&gt;
    &lt;span class="nl"&gt;"updated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-09T08:31:23.464000Z"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Associating Budget Records with a Key
&lt;/h3&gt;

&lt;p&gt;Interestingly, both concepts can be associated with the same key.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Perform a &lt;code&gt;/key/update&lt;/code&gt; operation, and include the to-be-updated &lt;code&gt;key&lt;/code&gt; and the &lt;code&gt;budget_id&lt;/code&gt; in the request body
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="s"&gt;curl -X POST "http://0.0.0.0:4000/key/update" \&lt;/span&gt;
  &lt;span class="na"&gt;--header "Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Bearer $LITELLM_MASTER_KEY" \&lt;/span&gt;
  &lt;span class="na"&gt;--header "Content-Type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;application/json" \&lt;/span&gt;
  &lt;span class="s"&gt;--data-raw '{&lt;/span&gt;
    &lt;span class="s2"&gt;"key"&lt;/span&gt;&lt;span class="s"&gt;:"sk-...dQSQ",&lt;/span&gt;
    &lt;span class="na"&gt;"budget_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"414b42b4-b2a2-4c37-8364-4d966c0c57e0"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s1"&gt;'
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response shows that the team now has both a key budget and an associated budget record, visible from the &lt;code&gt;budget_id&lt;/code&gt; attribute.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"key_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sk-...dQSQ"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"key_alias"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"app-development-default-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;..&lt;/span&gt;
  &lt;span class="nl"&gt;"spend"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"expires"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"models"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"gpt-5.6-luna"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"max_budget"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;100.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"budget_duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"7d"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"budget_reset_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-10T00:00:00+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;..&lt;/span&gt;
  &lt;span class="nl"&gt;"budget_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"414b42b4-b2a2-4c37-8364-4d966c0c57e0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-09T08:15:03.053000+00:00"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Furthermore, the GUI just shows the key budget, not the record. This mismatch is an unresolved, but closed bug, see the GitHub issue &lt;a href="https://github.com/BerriAI/litellm/issues/34294" rel="noopener noreferrer"&gt;UI: budgets cannot be assigned to keys&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The catch: A budget record is meant as a reusable template. It is defined and associated with many keys. The actual spendings on a budget are stored as an association between the key and the template. If the template gets updated, the key keeps its spending, but the new lower floor or higher ceiling budget limit is applied.&lt;/p&gt;

&lt;h3&gt;
  
  
  Budget Introspection
&lt;/h3&gt;

&lt;p&gt;Key budgets are reflected directly in any read operation of a key.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; curl &lt;span class="s1"&gt;'http://localhost:4000/key/info?key=sk-...dQSQ'&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"key_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sk-...dQSQ"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"key_alias"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"app-development-default-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
    &lt;span class="nl"&gt;"spend"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"expires"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"models"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="s2"&gt;"gpt-5.6-luna"&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"team_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"aef0c9f8-fba2-412d-9f30-059ce8c97240"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"max_budget"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;100.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"budget_duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"7d"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"budget_reset_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-10T00:00:00+00:00"&lt;/span&gt;
    &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Record budgets are returned from the &lt;code&gt;/budget/list&lt;/code&gt; API endpoint.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; curl &lt;span class="s1"&gt;'http://localhost:4000/budget/list'&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"budget_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"414b42b4-b2a2-4c37-8364-4d966c0c57e0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"max_budget"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;200.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"budget_duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"14d"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="err"&gt;//...&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Budget Behavior
&lt;/h3&gt;

&lt;p&gt;Budgets are governed by the following rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When a budget without duration is exhausted, all API calls are blocked&lt;/li&gt;
&lt;li&gt;When a duration-limited budget is exhausted, all API calls are blocked until the duration passes, or the budget is reset manually&lt;/li&gt;
&lt;li&gt;When a key budget is updated, the key's spending tab is kept, and the new total budget value becomes effective&lt;/li&gt;
&lt;li&gt;When record budgets are updated, the associated key's current spending is kept, and the new total budget value becomes effective&lt;/li&gt;
&lt;li&gt;When the budget duration passes, its spending tabs are reset&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When budgets are exhausted, a fallback model can be used. Routing rules define a hierarchy of model calls, and models with an explicit &lt;code&gt;input_cost_per_token: 0&lt;/code&gt; and &lt;code&gt;output_cost_per_token: 0&lt;/code&gt; are considered free to use, so they can always serve requests.&lt;/p&gt;

&lt;p&gt;Finally, in corporate and enterprise setups of LiteLLM in combination with a Redis server, hard budget enforcement should be applied. When the Redis service experiences service degradation, budget information might not be updated timely, violating spending limits. With the additional configuration file parameter &lt;code&gt;fail_closed_budget_enforcement: true&lt;/code&gt;, spending tabs in the database are looked up before allowing a request.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rate Limits in LiteLLM
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Concepts
&lt;/h3&gt;

&lt;p&gt;While budget limits protect against financial traps, rate limits prevent service degradations. Three rate limit types can be distinguished.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tokens per Minute: Defines an absolute limit of either input tokens, output tokens, or their sum&lt;/li&gt;
&lt;li&gt;Requests per Minute: The absolute number of requests that can be made, with any level of parallelism that the server can handle&lt;/li&gt;
&lt;li&gt;Max Requests: Keeps track of user sessions, and limits how many requests can be made&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Rate Limits Configuration
&lt;/h3&gt;

&lt;p&gt;In order to implement rate limits in LiteLLM, different declaration scopes, and slightly different variable names, can be set. In order of inheritance for the effective limit, they are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tokens per Minute: Defined in the global configuration file as &lt;code&gt;tpm&lt;/code&gt;, in create/update operations on models as &lt;code&gt;tpm&lt;/code&gt;, in model deployment configurations, and in key definitions (for users or teams) as &lt;code&gt;tpm_limit&lt;/code&gt; for the models section or a separated &lt;code&gt;model_tpm_limit&lt;/code&gt; key-value array&lt;/li&gt;
&lt;li&gt;Requests per Minute: The limits application can be set to input tokens only, output tokens only, or total, which means the sum of both, with the variable &lt;code&gt;token_rate_limit_type&lt;/code&gt;. The actual limit setting follows the same scopes as token limits: In the global configuration file and model create/update operations as &lt;code&gt;tpm&lt;/code&gt;, in keys as &lt;code&gt;rpm_limit&lt;/code&gt; or list-style declarations &lt;code&gt;model_rpm_limit&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Max Requests: Keeps track of user sessions, and limits how many requests can be made. A definite upper ceiling for all concurrently handled requests of a LiteLLM router instance can be set with &lt;code&gt;global_max_parallel_requests&lt;/code&gt;, or scoped to a user or team key with &lt;code&gt;max_parallel_requests&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Limit Declaration Creation
&lt;/h3&gt;

&lt;p&gt;Here is an example for setting key-specific limits.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s2"&gt;"http://0.0.0.0:4000/key/update"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  --data-raw &lt;span class="s1"&gt;'{
    "key": "sk-GTHCqpPZFDPr544X3adQSQ",
    "rpm_limit": 10,
    "tpm_limit": 100000,
    "model_tpm_limit": {"gpt-5.6-sol": "20000"}
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"key"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sk-...dQSQ"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"metadata"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"model_tpm_limit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"gpt-5.6-luna"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"20000"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"blocked"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"tpm_limit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"rpm_limit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;..&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-15T10:35:06.848000+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"default_user_id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;..&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Alternatively, to ensure that global caps to specific models are permanent, the following block can be added to the LiteLLM configuration file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;model_list&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;model_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;gpt-5.6-luna&lt;/span&gt;
    &lt;span class="na"&gt;litellm_params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openai/gpt-5.6-luna&lt;/span&gt;
      &lt;span class="na"&gt;api_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;os.environ/OPENAI_API_KEY&lt;/span&gt;
      &lt;span class="na"&gt;rpm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
      &lt;span class="na"&gt;tpm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;50000&lt;/span&gt;
      &lt;span class="na"&gt;max_parallel_requests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;model_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;gpt-5.6-terra&lt;/span&gt;
    &lt;span class="na"&gt;litellm_params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openai/gpt-5.6-terra&lt;/span&gt;
      &lt;span class="na"&gt;api_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;os.environ/OPENAI_API_KEY&lt;/span&gt;
      &lt;span class="na"&gt;rpm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
      &lt;span class="na"&gt;tpm&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20000&lt;/span&gt;
      &lt;span class="na"&gt;max_parallel_requests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Limit Reflection
&lt;/h3&gt;

&lt;p&gt;When using a model with configured token or request limits, the LiteLLM proxy response headers reflect availability. Application communication with LiteLLM can consume this information for dynamically adapting their requests, switching to similar quality models before the limits of a specifically used one become depleted.&lt;/p&gt;

&lt;p&gt;An introspection of the response headers for a chat completion query ...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -i -X POST &lt;span class="s2"&gt;"http://0.0.0.0:4000/v1/chat/completions"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Authorization: Bearer ${LITELLM_OPENAI_KEY}"&lt;/span&gt; \
  --header &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  --data-raw &lt;span class="s1"&gt;'{
    "model": "gpt-5.6-luna",
    "messages": [
      {
        "role": "user",
        "content": "Explain luna craters."
      }
    ]
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;... reveals full details about the key's configured limits and remaining requests and tokens in the form of &lt;code&gt;x-ratelimit-api_key-remaining-requests&lt;/code&gt; and &lt;code&gt;x-ratelimit-api_key-remaining-tokens&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="n"&gt;HTTP&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="mf"&gt;1.1&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt; &lt;span class="n"&gt;OK&lt;/span&gt;
&lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Sun&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt; &lt;span class="n"&gt;Aug&lt;/span&gt; &lt;span class="mi"&gt;2026&lt;/span&gt; &lt;span class="mi"&gt;09&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;47&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;05&lt;/span&gt; &lt;span class="n"&gt;GMT&lt;/span&gt;
&lt;span class="err"&gt;//...&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;call&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;e55758e8&lt;/span&gt;&lt;span class="mi"&gt;-3b3f-4115&lt;/span&gt;&lt;span class="mf"&gt;-81ef&lt;/span&gt;&lt;span class="mi"&gt;-552c80a53591&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;c09419a3bb470e3f63e84e79b1584a05a732fba5933fb0f9e1b5c75c8dac953d&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="n"&gt;gpt&lt;/span&gt;&lt;span class="mf"&gt;-5.6&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;luna&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;api&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;base&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="n"&gt;api&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="n"&gt;openai&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;1.94&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="err"&gt;//...&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;tpm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100000&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;rpm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;budget&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;100.0&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;spend&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0010004&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;duration&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;3939.586&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;overhead&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;duration&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;2.823&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;callback&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;duration&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;remaining&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;499&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;200000&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;remaining&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;199992&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;group&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;gpt&lt;/span&gt;&lt;span class="mf"&gt;-5.6&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;luna&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;attempted&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;retries&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;litellm&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;attempted&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;fallbacks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;remaining&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;remaining&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;98971&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100000&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;model_per_key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;remaining&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;18971&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ratelimit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;model_per_key&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20000&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Cost Management
&lt;/h2&gt;

&lt;p&gt;When cost information is configured for models, and when the used user or team keys received budget and rate limit configuration, the structure for long-term data retention is set. While rate limits, due to their nature, are applied and reset dynamically, costs accumulate steadily and are stored permanently.&lt;/p&gt;

&lt;p&gt;In the above sections, API usage for configuration was shown. API usage also actively returns, in the form of HTTP headers, the dynamic information about cost spending and effective rate limits. While this information can be used in this form by applications or systems interacting with LiteLLM, human operators can benefit from visual representation, gaining better insights. And for this goal, LiteLLM provides several dashboards.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cost Management Information
&lt;/h3&gt;

&lt;p&gt;LiteLLM maintains a public database, in the form of a JSON file, at their official GitHub repository at &lt;a href="https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json" rel="noopener noreferrer"&gt;litellm/model_prices_and_context_window.json&lt;/a&gt;. This database is loaded once the LiteLLM process starts, and from thereon, kept in memory only. Should the server process run continuously for a very long time, price drift might occur: Providers update the price list, the database file on GitHub is updated, but LiteLLM's in-memory representation remains at the old version. To update this information too, it is required to trigger an API call, or access the cost management dashboard that provides a button that triggers this API call.&lt;/p&gt;

&lt;p&gt;Even when reloading the price information regularly, e.g., with a scheduled CronJob, LiteLLM reported costs might differ from the provider bills. In this case, there is a compact guide about &lt;a href="https://docs.litellm.ai/docs/troubleshoot/cost_discrepancy" rel="noopener noreferrer"&gt;Debugging a cost discrepancy&lt;/a&gt; available.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cost Management Reporting
&lt;/h3&gt;

&lt;p&gt;To access the cost information dashboard, apply these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the LiteLLM Dashboard at &lt;a href="http://localhost:4000/ui" rel="noopener noreferrer"&gt;http://localhost:4000/ui&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;In the menu shown on the left side, section &lt;code&gt;Observability&lt;/code&gt;, click on &lt;code&gt;Usage&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Select the &lt;code&gt;Usage&lt;/code&gt; scope for the cost overview in the dropdown menu, available options are &lt;code&gt;Global&lt;/code&gt;, &lt;code&gt;Your Usage&lt;/code&gt;, &lt;code&gt;Organization&lt;/code&gt; (requires an enterprise license), &lt;code&gt;Team&lt;/code&gt;, &lt;code&gt;User&lt;/code&gt;, as well as &lt;code&gt;Customer&lt;/code&gt;, &lt;code&gt;Tag&lt;/code&gt;, and &lt;code&gt;Agent Usage&lt;/code&gt;, and &lt;code&gt;User-Agent&lt;/code&gt; (accumulates costs per user agent that interacted with the LiteLLM instance)&lt;/li&gt;
&lt;li&gt;Adjust the timeframe&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With my very limited, personal usage only, the dashboard reports these costs:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkg8d0hc5ml3r653inp66.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkg8d0hc5ml3r653inp66.png" alt=" " width="800" height="968"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The era of flat-rate subscription plans is over. LLM model usage costs are rising. Effective budgeting, rate limiting, and cost analysis are crucial to keep operations afloat and prevent bankruptcy-level bills. This article showed how to manage budgets in LiteLLM, tied to individuals, teams, service accounts, or even agents. It detailed budget definition via API and GUI, and explored the logic of budget spending and cost accumulation. Similarly, the configuration options and scope for token and request limits were explored, with which aggressive overspending can be prevented, and general service availability maintained. The final section about cost management explained the underlying database and provided the steps to generate a cost overview via the GUI.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>litellm</category>
    </item>
    <item>
      <title>LiteLLM: Model and Key Management</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Thu, 12 Nov 2026 06:00:00 +0000</pubDate>
      <link>https://dev.to/admantium/litellm-model-and-key-management-645</link>
      <guid>https://dev.to/admantium/litellm-model-and-key-management-645</guid>
      <description>&lt;p&gt;LiteLLM is a versatile LLM proxy server. It provides developers with a single service that accepts OpenAI and Anthropic API requests and forwards them to the configured models. It supports rolling budgets and cost tracking to prevent unrestricted token consumption. It also provides observability into external LLM usage.&lt;/p&gt;

&lt;p&gt;Following the deployment options and local setup described in the previous article, this article focuses on model and key management. It provides a concise overview of the API routes and organizes the available request parameters into logical groups. Specifically, it covers model definitions, health checks, and key configuration.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;litellm v1.94.1&lt;/code&gt;, published on 2026-07-31. Setup and configuration examples should work with newer versions too.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The background material for this article stems from the official &lt;a href="https://docs.litellm.ai/docs/simple_proxy" rel="noopener noreferrer"&gt;LiteLLM documentation&lt;/a&gt;, specifically the pages &lt;a href="https://docs.litellm.ai/docs/proxy/model_management" rel="noopener noreferrer"&gt;Model Management&lt;/a&gt;, &lt;a href="https://docs.litellm.ai/docs/proxy/health" rel="noopener noreferrer"&gt;Health Checks&lt;/a&gt;, and &lt;a href="https://docs.litellm.ai/docs/proxy/virtual_keys" rel="noopener noreferrer"&gt;Virtual Keys&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains a personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm44_litellm_key_and_cost_management/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model Management
&lt;/h2&gt;

&lt;p&gt;One of the fundamental configuration items that any LiteLLM proxy administrator deals with is the model provider. For any upstream model, a configuration item can be added that encapsulates its access, parameters, routing rules, and much more.&lt;/p&gt;

&lt;h3&gt;
  
  
  API Structure and Properties
&lt;/h3&gt;

&lt;p&gt;The API provides routes for managing individual models or access groups, which are sets of models. API operations can be divided into the following categories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /model/new&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /access_group/new&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Read

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;GET /{v1/}/models&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /{v1/}models&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /{v1/|/v2/}model/info&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /model_group/info&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /access_group/list&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /access_group/{access_group}/info&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Update

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /model/update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PATCH /model/{model_id}/update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PUT /access_group/{access_group}/update&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lifecycle

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /model/block&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /model/unblock&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Delete

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /model/delete&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DELETE /access_group/{access_group}/delete&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Another set of API routes is concerned with the internal model hub feature, such as &lt;code&gt;GET /public/model_hub&lt;/code&gt;. The API documentation lists these routes as part of model management. They are omitted here to stay focused on provider model activation.&lt;/p&gt;

&lt;p&gt;The parameters for model creation are both slim and expansive. They are slim because only &lt;code&gt;model_name&lt;/code&gt;, &lt;code&gt;model_info&lt;/code&gt;, and &lt;code&gt;litellm_params&lt;/code&gt; are required. They are expansive because &lt;code&gt;litellm_params&lt;/code&gt; lists more than 100 different parameters that are provider-specific, provider-agnostic, or internal to LiteLLM; no distinction is made in the official Swagger documentation. Here is an attempt to group them semantically:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Provider authentication: Essential parameters such as the API base, API version, credentials, and region information (&lt;code&gt;api_base&lt;/code&gt;, &lt;code&gt;api_version&lt;/code&gt;, &lt;code&gt;api_key&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;LiteLLM credentials: Instead of defining the LLM provider credentials verbosely, an ID for an existing stored credential can be provided (&lt;code&gt;litellm_credential_name&lt;/code&gt;, &lt;code&gt;litellm_trace_id&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Price information

&lt;ul&gt;
&lt;li&gt;Tokens: Input, output, and cache-hit prices per token or per 100,000 tokens (&lt;code&gt;input_cost_per_token&lt;/code&gt;, &lt;code&gt;output_cost_per_token&lt;/code&gt;, &lt;code&gt;cache_read_input_token_cost&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Multimodal models: Pricing information for working with images, audio, and video (&lt;code&gt;input_cost_per_image&lt;/code&gt;, &lt;code&gt;input_cost_per_image&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Proxy: Controls whether other proxies are involved in cascading provider API resolution and which authentication method to use (&lt;code&gt;use_litellm_proxy&lt;/code&gt;, &lt;code&gt;use_xai_oauth&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;API throughput: Controls internal file-size limits, whether to allow pass-through when making external requests, and which type of external API to use (&lt;code&gt;max_file_size_mb&lt;/code&gt;, &lt;code&gt;use_in_pass_through&lt;/code&gt;, &lt;code&gt;use_chat_completions_api&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Embeddings: Configures the logical vector shape and which vector store to use when writing to or reading from vector stores (&lt;code&gt;output_vector_size&lt;/code&gt;, &lt;code&gt;vector_store_id&lt;/code&gt;, &lt;code&gt;milvus_text_field&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Routing

&lt;ul&gt;
&lt;li&gt;Auto: An interesting concept involving a policy-like declaration of how model requests reach their intended or reflected provider (&lt;code&gt;auto_router_config_path&lt;/code&gt;, &lt;code&gt;auto_router_default_model&lt;/code&gt;, &lt;code&gt;auto_router_embedding_model&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Complexity: Rule sets that determine a weighted assumption about request content to drive routing (&lt;code&gt;complexity_router_config&lt;/code&gt;, &lt;code&gt;complexity_router_default_model&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Adaptive: Dynamic routing based on live data about costs, performance, or the measured quality of answers (&lt;code&gt;adaptive_router_config&lt;/code&gt;, &lt;code&gt;adaptive_router_default_model&lt;/code&gt;, &lt;code&gt;quality_router_config&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Operational controls: Provides absolute token-based limits, API retries, and more (&lt;code&gt;tpm&lt;/code&gt;, &lt;code&gt;rpm&lt;/code&gt;, &lt;code&gt;max_retries&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Metadata: Documents additional fields such as descriptions, labels, and model classifications, which can be used as placeholder values in other configuration options (&lt;code&gt;model_info&lt;/code&gt;, &lt;code&gt;tags&lt;/code&gt;, &lt;code&gt;tag_regex&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Model Definition Example
&lt;/h3&gt;

&lt;p&gt;Model declaration follows two patterns: at startup, models are present in configuration files; at runtime, they are added through the GUI or by invoking specific API endpoints.&lt;/p&gt;

&lt;p&gt;For the first option, the canonical &lt;code&gt;litellm-config.yml&lt;/code&gt; file can be extended. Here is an example that declares (at the time of writing novel) GPT 5.6 models:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;model_list&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;model_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;gpt-5.6-luna&lt;/span&gt;
    &lt;span class="na"&gt;litellm_params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openai/gpt-5.6-luna&lt;/span&gt;
      &lt;span class="na"&gt;api_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;os.environ/OPENAI_API_KEY&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;model_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;gpt-5.6-terra&lt;/span&gt;
    &lt;span class="na"&gt;litellm_params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openai/gpt-5.6-terra&lt;/span&gt;
      &lt;span class="na"&gt;api_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;os.environ/OPENAI_API_KEY&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;model_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;gpt-5.6-sol&lt;/span&gt;
    &lt;span class="na"&gt;litellm_params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openai/gpt-5.6-sol&lt;/span&gt;
      &lt;span class="na"&gt;api_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;os.environ/OPENAI_API_KEY&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Adding a model through the API can be done with this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s2"&gt;"http://0.0.0.0:4000/model/new"&lt;/span&gt; \
    -H &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
    -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
    -d &lt;span class="s1"&gt;'{
      "model_name": "gpt-5-pro",
      "litellm_params": {
        "model": "openai/gpt-5-pro",
        "api_key": "os.environ/OPENAI_API_KEY"
      }
    }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And the response:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"model_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"b8f3dedc-ed78-4531-a805-dc54ba4aff7e"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"model_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"gpt-5-pro"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"litellm_params"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"o2K565rjul8ofeW5pKuHD1vQpi2lxBuHXiRV-vsD5TeDlxN7bkvnyNGf7IubKSlQ9oWhgnYCvHE="&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"api_key"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"xTxk2kljn1JiEjxeu8xhfhFOnEQ_9b7GJE2Yz4Xa-Nn0G9I3C5wXsZnfH67zYugWjq6qGN91BTQnJXdnuJ77qgo="&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"use_xai_oauth"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"use_litellm_proxy"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"use_in_pass_through"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"merge_reasoning_content_in_choices"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"model_info"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"b8f3dedc-ed78-4531-a805-dc54ba4aff7e"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"db_model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"blocked"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"created_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-01T12:32:10.585000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"created_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"default_user_id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-01T12:32:10.585000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"default_user_id"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The origin of models is shown in the GUI. Models from a configuration file display a closed-lock symbol. They are effectively immutable: the GUI does not allow edits, and API calls return an error code indicating that no changes are accepted.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frv3tcoclztb4n42wdsg6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frv3tcoclztb4n42wdsg6.png" width="800" height="316"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Health Checks
&lt;/h3&gt;

&lt;p&gt;External providers offer LLMs through their managed infrastructure. Even the original providers, OpenAI and Anthropic, can sometimes experience service degradations or outright downtime.&lt;/p&gt;

&lt;p&gt;With LiteLLM, health checks for specific models can be configured. Applications and tools connected to LiteLLM will only be served healthy endpoints. For handling unavailable models, model aliases can be configured, but they must be explicitly requested by the application, or a fallback policy can be defined and applied.&lt;/p&gt;

&lt;p&gt;To apply health checks and view their results graphically, open the &lt;code&gt;Models + Endpoints&lt;/code&gt; section through the dashboard, then select &lt;code&gt;Health Status&lt;/code&gt; from the horizontal menu.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwijqvxgdys31argk4gle.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwijqvxgdys31argk4gle.png" width="800" height="439"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The alternative API call is as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"http://0.0.0.0:4000/health?model=gpt-5.6-luna"&lt;/span&gt; \
    --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"healthy_endpoints"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"custom_llm_provider"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"openai"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"use_in_pass_through"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"use_litellm_proxy"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"use_xai_oauth"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"merge_reasoning_content_in_choices"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"gpt-5.6-luna"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"max_tokens"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"cache"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"no-cache"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"x-ratelimit-remaining-requests"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"499"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"x-ratelimit-remaining-tokens"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"199994"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"model_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"e4a50849-1dae-47fd-8759-a71f175b11dd"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"unhealthy_endpoints"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"healthy_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"unhealthy_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Health checks are applied whenever a model is requested. As a large model catalog could create a substantial number of health checks, this behavior can be turned off so that only explicit checks through the API endpoint trigger a status update. The following snippet needs to be placed in the configuration file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;general_settings&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;background_health_checks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Key Management
&lt;/h2&gt;

&lt;p&gt;With a catalog of defined and configured models, LiteLLM virtual keys govern and control access to its proxy API routes and, therefore, to external connections.&lt;/p&gt;

&lt;h3&gt;
  
  
  API Structure and Properties
&lt;/h3&gt;

&lt;p&gt;For managing keys, the following API routes are essential:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /key/generate&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /key/service-account/generate&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Read

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;GET /key/info&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /key/list&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GET /key/aliases&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Update

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /key/update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /key/bulk_update&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /team/key/bulk_update&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lifecycle

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /key/regenerate&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /key/{key}/regenerate&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /key/{key}/reset_spend&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /key/block&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /key/unblock&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;POST /key/health&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Delete

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /key/delete&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keys are fundamental. The complete set of API parameters for keys encompasses more than 50 fields, divided into the following aspects:&lt;/p&gt;

&lt;p&gt;It is important to bear in mind that key ownership defined through roles in LiteLLM grants permissions only for CRUD operations on the key itself. The encoded key's access to models, routes, and budgets remains unchanged, so any person or system with the key credential can use it to access the proxy's API routes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Identity: Keys are alphanumeric character sequences. Their creation results in a random value with a defined pattern, but a value can also be explicitly set (&lt;code&gt;key&lt;/code&gt;, &lt;code&gt;key_alias&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Ownership: Keys can belong to users, teams, or organizations, or they can be defined as service accounts (&lt;code&gt;user_id&lt;/code&gt;, &lt;code&gt;team_id&lt;/code&gt;, &lt;code&gt;organization_id&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Model management: The available models for a specific key default interestingly to all models, but they can be restricted by defining model names or key aliases; in the case of group ownership, these restrictions are also inherited (&lt;code&gt;models&lt;/code&gt;, &lt;code&gt;aliases&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Access management: Provides total or restricted access to LiteLLM API routes (&lt;code&gt;llm_api&lt;/code&gt;, &lt;code&gt;management&lt;/code&gt;, &lt;code&gt;read_only&lt;/code&gt;), or can construct sets of explicitly named paths (&lt;code&gt;allowed_routes&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Usage restrictions: Limits key applicability through required request parameters (&lt;code&gt;enforced_params&lt;/code&gt;, &lt;code&gt;prompts&lt;/code&gt;), or can temporarily disable a key altogether (&lt;code&gt;block&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Budget management: Defines absolute or rolling periods of available budgets when using associated models (&lt;code&gt;max_budget&lt;/code&gt;, &lt;code&gt;budget_duration&lt;/code&gt;, &lt;code&gt;budget_fallbacks&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Rate limits: Defines throughput barriers that consistent usage cannot violate (&lt;code&gt;rpm_limit&lt;/code&gt;, &lt;code&gt;tpm_limit&lt;/code&gt;, &lt;code&gt;max_parallel_requests&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Guardrails: Safeguards input, output, and tool-call content (&lt;code&gt;guardrails&lt;/code&gt;, &lt;code&gt;policies&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Information and status: Sets additional identifiable information for keys (&lt;code&gt;metadata&lt;/code&gt;, &lt;code&gt;tags&lt;/code&gt;), or controls whether key creation leads to notifications (&lt;code&gt;send_invite_email&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Lifecycle: Defines automatic key rotation (&lt;code&gt;auto_rotate&lt;/code&gt;, &lt;code&gt;rotation_interval&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key Generation Example
&lt;/h3&gt;

&lt;p&gt;Keys can be added through the GUI and the API. Management through the API should be preferred: not only is the full set of options available, but the specificity of inputs can also be persisted in version control systems, allowing for controlled and audited changes.&lt;/p&gt;

&lt;p&gt;Key creation through the GUI was covered in my previous article &lt;a href="https://admantium.com/blog/llm43_litellm_setup_and_configuration/" rel="noopener noreferrer"&gt;getting started with LiteLLM&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Through the API, new keys are created through the &lt;code&gt;/key/generate&lt;/code&gt; and &lt;code&gt;/key/service-account&lt;/code&gt; routes. Here is an introductory call that includes all the attributes covered so far:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; curl -X POST &lt;span class="s2"&gt;"http://0.0.0.0:4000/key/generate"&lt;/span&gt; \
    --header &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
    --header &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
    --data-raw &lt;span class="s1"&gt;'{
      "key_alias": "sys-ops-default-key",
      "team_id": "sys-ops",
      "models": ["gpt-5.6-luna"],
      "aliases": {"mistral": "local-llms"}
    }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"key_alias"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sys-ops-default-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"models"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"gpt-5.6-luna"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"spend"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"max_budget"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"team_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sys-ops"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"aliases"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"mistral"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"local-llms"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"key_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sk-...hJCg"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"key_type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"default"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"expires"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="err"&gt;#&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
  &lt;span class="nl"&gt;"token_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"c9996271b8f97687bdc78c91d1ab6e91b95317aad5b922b49943fd0fbec49d17"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"organization_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"project_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"litellm_budget_table"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"token"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"c9996271b8f97687bdc78c91d1ab6e91b95317aad5b922b49943fd0fbec49d17"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"created_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"default_user_id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"default_user_id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"created_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-04T17:46:52.040000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"updated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-08-04T17:46:52.040000Z"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;An LLM proxy is essential for transparently managing a large group of models for a substantial user base. It helps connect different providers, translate and transform requests from applications to provider APIs, keep costs within monetary and token budgets, and provide observability into LLM usage. This article showed two essential concepts of the LiteLLM proxy: model and API key management. For each, a concise summary of lifecycle-based API routes, request parameter groups, and concrete invocation examples was provided.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>litellm</category>
    </item>
    <item>
      <title>LiteLLM: Getting Started with LLM Proxies</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Mon, 02 Nov 2026 06:00:00 +0000</pubDate>
      <link>https://dev.to/admantium/litellm-getting-started-with-llm-proxies-nob</link>
      <guid>https://dev.to/admantium/litellm-getting-started-with-llm-proxies-nob</guid>
      <description>&lt;p&gt;When running multiple applications that interact with LLM provider endpoints, management of keys, token consumption and cost spending, operational aspects like failover and semantic routing, or observability topics like availability, latency, and traces become important. Especially customer-facing apps that expose chat functionality need tight guards to prevent misuse and runaway costs. These aspects are the domain of LLM proxies, dedicated projects that sit between applications and LLM endpoints.&lt;/p&gt;

&lt;p&gt;LiteLLM is a sophisticated LLM proxy, available as open-source software for self-hosting, as well as production-grade deployments on infrastructure or even fully managed cloud solutions. This article starts a new blog series and explores the rich feature set of LiteLLM. This first article discusses features, deployment options, and a step-by-step manual for local setup as Docker containers.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;litellm v1.94.1&lt;/code&gt;, published on 2026-07-31. Setup and configuration examples should work with newer versions too.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains a personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm43_litellm_setup_and_configuration/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  LiteLLM Feature Set at a Glance
&lt;/h2&gt;

&lt;p&gt;The LiteLLM proxy provides the following feature set, grouped into different stages of handling AI tools.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;API key management: Provide virtual API keys to persons, teams, or applications, and set fixed token or cost budgets.&lt;/li&gt;
&lt;li&gt;Cost tracking: Actively monitor token consumption and accumulated costs.&lt;/li&gt;
&lt;li&gt;Guardrails: Filter both incoming and generated messages for inappropriate topics or language.&lt;/li&gt;
&lt;li&gt;Fallback and retry: Detect upstream provider outages and switch to other available models to keep systems operational.&lt;/li&gt;
&lt;li&gt;Caching: Add semantic caches to frequent requests, saving both costs and round-trip time for a better user experience.&lt;/li&gt;
&lt;li&gt;OpenTelemetry traces: Requests and responses are separated into GenAI OTEL spans, allowing precise control over how LLM usage, e.g. by an agent app, is internally structured into thinking loops, tool calls, RAG searches, and answer synthesis.&lt;/li&gt;
&lt;li&gt;Observability: With traces, also identify latency within the LLM call stack, e.g. by figuring out slow tool calls or a massive context window due to bloated RAG results.&lt;/li&gt;
&lt;li&gt;Enterprise features: Provide company-wide single sign-on logic, audit logs, and multi-tenant governance by setting up multiple organizations and teams for managed keys. IP restriction and deeper multi-tenant governance are positioned as enterprise features.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Installation Options
&lt;/h2&gt;

&lt;p&gt;LiteLLM is geared towards enterprise usage, and as such, multiple installation options in terms of cloud environments and multiple components for load balancing requests and long-term storage of operational data are supported.&lt;/p&gt;

&lt;p&gt;The essential components in each stack are these:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;LiteLLM microservices: To enhance scalability and improve redundancy, functional aspects of LiteLLM can be broken down into different services

&lt;ul&gt;
&lt;li&gt;Gateway: Central component to which applications connect&lt;/li&gt;
&lt;li&gt;Backend: Process and storage engine; provides a REST API and frontend APIs for management&lt;/li&gt;
&lt;li&gt;Frontend: The management GUI of LiteLLM&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;LiteLLM proxy: A single service that combines the functions of the gateway, backend, and configuration GUI&lt;/li&gt;
&lt;li&gt;PostgreSQL: Stores keys, teams, users, and configuration items&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When hosted in cloud environments, these specific components are added:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load balancer

&lt;ul&gt;
&lt;li&gt;AWS: Application Load Balancer (ALB) or Network Load Balancer (NLB)&lt;/li&gt;
&lt;li&gt;GCP: GKE Ingress (managed Kubernetes)&lt;/li&gt;
&lt;li&gt;Azure: Application Load Balancer (ALB)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Redis: Saves router state and provides global caching&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The deployment mechanisms are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Helm chart: Deploy to managed Kubernetes clusters in AWS (Elastic Kubernetes Service), GCP (Google Kubernetes Engine), or Azure (Azure Kubernetes Service)&lt;/li&gt;
&lt;li&gt;Terraform: Deploy to AWS and GCP by using dedicated Terraform providers&lt;/li&gt;
&lt;li&gt;Docker: For on-premises and local installations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For more information about cloud-based production deployments, see the official &lt;a href="https://docs.litellm.ai/docs/proxy/deploy" rel="noopener noreferrer"&gt;LiteLLM Deployment Guidelines&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Local Setup
&lt;/h2&gt;

&lt;p&gt;LiteLLM can be installed natively, via the LiteLLM CLI that comes packaged with an SDK, or as a Docker container. For local setup, the last option is preferable: The complete application stack, all dependencies, and binaries are versioned inside the container, and essential configurations will be mounted via volumes. You only keep relevant stateful information and can provide safe updates via version pinning.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://docs.litellm.ai/docs/proxy/docker_quick_start" rel="noopener noreferrer"&gt;LiteLLM Quickstart Guidelines&lt;/a&gt; outline all steps in detail. Here is a step-by-step manual, which provide the most recent application versions, and the start for using configuration files effectivly.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Docker Compose file

&lt;ul&gt;
&lt;li&gt;Download the official Docker Compose file from the &lt;a href="https://raw.githubusercontent.com/BerriAI/litellm/main/docker-compose.yml" rel="noopener noreferrer"&gt;LiteLLM GitHub repository&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Open the file and change the image tags with the following up-to-date version pinning:
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  image: litellm/litellm:v1.94.1
  image: postgres:18.4-trixie
  image: prom/prometheus:v3.13.1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;LiteLLM environment variables

&lt;ul&gt;
&lt;li&gt;Create a &lt;code&gt;.env&lt;/code&gt; file&lt;/li&gt;
&lt;li&gt;Generate two random passwords for LiteLLM by running &lt;code&gt;LC_ALL=C tr -dc 'A-Za-z0-9' &amp;lt; /dev/urandom | head -c 20; echo&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Open the &lt;code&gt;.env&lt;/code&gt; file and add these passwords:
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  &lt;span class="nv"&gt;LITELLM_MASTER_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-REDACTED"&lt;/span&gt;
  &lt;span class="nv"&gt;LITELLM_SALT_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"REDACTED"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Configuration files

&lt;ul&gt;
&lt;li&gt;Create the local directory &lt;code&gt;config/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Create &lt;code&gt;config/litellm.yml&lt;/code&gt; and paste and edit the following content:
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;  &lt;span class="na"&gt;general_settings&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;master_key&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sk-REDACTED&lt;/span&gt; &lt;span class="c1"&gt;# same key as above&lt;/span&gt;
    &lt;span class="na"&gt;database_url&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;postgresql://llmproxy:dbpassword9090@db:5432/litellm"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Configuration files

&lt;ul&gt;
&lt;li&gt;Create &lt;code&gt;config/prometheus.yml&lt;/code&gt; and add these lines:
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;  &lt;span class="na"&gt;global&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;scrape_interval&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;15s&lt;/span&gt;
    &lt;span class="na"&gt;evaluation_interval&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;15s&lt;/span&gt;


  &lt;span class="na"&gt;scrape_configs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;job_name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;litellm"&lt;/span&gt;
      &lt;span class="na"&gt;static_configs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
        &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;targets&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;litellm:4000"&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Docker Compose file changes

&lt;ul&gt;
&lt;li&gt;Edit the container volume mounts to reflect the configuration file locations:
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;  &lt;span class="na"&gt;litellm&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./config/litellm.yml:/app/litellm-config.yml&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;--config=/app/litellm-config.yml"&lt;/span&gt;


  &lt;span class="c1"&gt;# ... &lt;/span&gt;


  &lt;span class="na"&gt;prometheus&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;prometheus_data:/prometheus&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./config/prometheus.yml:/etc/prometheus/prometheus.yml&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Edit the Postgres volume target path, required in &lt;code&gt;postgres:18.4&lt;/code&gt;:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;  &lt;span class="na"&gt;db&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;postgres_litellm:/var/lib/postgresql&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Start the Docker Compose stack

&lt;ul&gt;
&lt;li&gt;Run &lt;code&gt;docker compose up&lt;/code&gt;, and be patient while all the images are completely loaded:
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; docker compose up


  &lt;span class="c"&gt;# log messages&lt;/span&gt;
  &lt;span class="o"&gt;[&lt;/span&gt;+] Running 15/19
  ✔ prometheus Pulled                                                       1.9s
  ✔ litellm Pulled                                                          2.5s
  ✔ db Pulled                                                               4.2s
  ⠦ open-webui 15 layers &lt;span class="o"&gt;[&lt;/span&gt;⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⡀⣿⣿⡀] 35.33MB/1.315GB Pulling          8.6s
  ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;During startup, the &lt;code&gt;litellm&lt;/code&gt; container needs to set up its database, which can also take some time to complete
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  litellm-1     | 2026-07-31 16:54:12,717 - litellm_proxy_extras - INFO - Running prisma migrate deploy
  litellm-1     | 2026-07-31 16:54:12,718 - litellm_proxy_extras - INFO - Using custom Prisma CLI at /opt/prisma/binaries/node_modules/.bin/prisma
  litellm_db    | 2026-07-31 16:54:16.529 UTC  LOG:  could not receive data from client: Connection reset by peer
  litellm-1     | 2026-07-31 16:54:16,645 - litellm_proxy_extras - INFO - prisma migrate deploy stdout: Prisma schema loaded from schema.prisma
  litellm-1     | Datasource &lt;span class="s2"&gt;"client"&lt;/span&gt;: PostgreSQL database &lt;span class="s2"&gt;"litellm"&lt;/span&gt;, schema &lt;span class="s2"&gt;"public"&lt;/span&gt; at &lt;span class="s2"&gt;"db:5432"&lt;/span&gt;
  litellm-1     |
  litellm-1     | 140 migrations found &lt;span class="k"&gt;in &lt;/span&gt;prisma/migrations
  litellm-1     |
  litellm-1     | Applying migration &lt;span class="sb"&gt;`&lt;/span&gt;20250326162113_baseline&lt;span class="sb"&gt;`&lt;/span&gt;
  litellm-1     | Applying migration &lt;span class="sb"&gt;`&lt;/span&gt;20250326171002_add_daily_user_table&lt;span class="sb"&gt;`&lt;/span&gt;
  litellm-1     | Applying migration &lt;span class="sb"&gt;`&lt;/span&gt;20250327180120_add_api_requests_to_daily_user_table&lt;span class="sb"&gt;`&lt;/span&gt;


  ...


  litellm-1     | 2026-07-31 16:54:21,890 - litellm_proxy_extras - INFO - ✅ Migration diff applied successfully
  litellm-1     | 2026-07-31 16:54:21,891 - litellm_proxy_extras - INFO - ✅ Post-migration sanity check completed
  litellm-1     | INFO:     Started server process &lt;span class="o"&gt;[&lt;/span&gt;1]
  litellm-1     | INFO:     Waiting &lt;span class="k"&gt;for &lt;/span&gt;application startup.
  litellm-1     | LiteLLM Proxy: Using default &lt;span class="o"&gt;(&lt;/span&gt;v1&lt;span class="o"&gt;)&lt;/span&gt; migration resolver. If your deployment has seen schema thrashing during rolling deploys, try &lt;span class="nt"&gt;--use_v2_migration_resolver&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;safer: avoids the diff-and-force recovery that caused the thrash&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="nb"&gt;.&lt;/span&gt;
  litellm-1     |
  litellm-1     |    ██╗     ██╗████████╗███████╗██╗     ██╗     ███╗   ███╗
  litellm-1     |    ██║     ██║╚══██╔══╝╔════╝██║     ██║     ████╗ ████║
  litellm-1     |    ██║     ██║   ██║   █████╗  ██║     ██║     ██╔████╔██║
  litellm-1     |    ██║     ██║   ██║   ██╔══╝  ██║     ██║     ██║╚██╔╝██║
  litellm-1     |    ███████╗██║   ██║   ███████╗███████╗███████╗██║ ╚═╝ ██║
  litellm-1     |    ╚══════╝╚═╝   ╚═╝   ╚══════╝╚══════╝╚══════╝╚═╝     ╚═╝
  litellm-1     |
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, open &lt;code&gt;http://localhost:4000/ui/&lt;/code&gt; and see the dashboard:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqlzqwqhzos4th93sxat5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqlzqwqhzos4th93sxat5.png" width="799" height="602"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Model and Virtual API Key Definition
&lt;/h2&gt;

&lt;p&gt;To start using LiteLLM as a proxy, an LLM provider needs to be configured, and then a virtual API key added that the client applications, or any tool working with an OpenAPI endpoint for this matter, uses.&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Setup
&lt;/h3&gt;

&lt;p&gt;LiteLLM provides many built-in providers, including direct access to &lt;a href="https://platform.openai.com/docs" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt;, &lt;a href="https://docs.anthropic.com/" rel="noopener noreferrer"&gt;Anthropic&lt;/a&gt;, cloud providers like &lt;a href="https://learn.microsoft.com/azure/ai-services/" rel="noopener noreferrer"&gt;Azure AI&lt;/a&gt;, &lt;a href="https://cloud.google.com/vertex-ai/docs" rel="noopener noreferrer"&gt;Google Vertex AI&lt;/a&gt;, and &lt;a href="https://docs.aws.amazon.com/bedrock/" rel="noopener noreferrer"&gt;AWS Bedrock&lt;/a&gt;, as well as &lt;a href="https://docs.mistral.ai/" rel="noopener noreferrer"&gt;Mistral&lt;/a&gt;, &lt;a href="https://docs.cohere.com/" rel="noopener noreferrer"&gt;Cohere&lt;/a&gt;, and &lt;a href="https://openrouter.ai/docs" rel="noopener noreferrer"&gt;OpenRouter&lt;/a&gt;. See the full list at &lt;a href="https://docs.litellm.ai/docs/providers" rel="noopener noreferrer"&gt;LiteLLM providers&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For demonstration purposes, a direct connection to OpenAI will be configured.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the dashboard, in the left menu, click on &lt;code&gt;Model + Endpoint&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;In the vertical tab list, click on &lt;code&gt;Add Model&lt;/code&gt;, and the same-named dialogue appears&lt;/li&gt;
&lt;li&gt;Fill out the details as follows:

&lt;ul&gt;
&lt;li&gt;Provider: &lt;code&gt;OpenAI&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;LiteLLM Model Name(s): Put in the models of you choice, e.g. the moste recent &lt;code&gt;gpt-5.6-luna&lt;/code&gt;, &lt;code&gt;gpt-5.6-terra&lt;/code&gt; and &lt;code&gt;gpt-5.6-sol&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Mode: &lt;code&gt;Chat - /chat/completions&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;OpenAI API key: sk-21113tfa ... no, just kidding, use your own key&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr2ftxwcdra8rvht2h4zp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr2ftxwcdra8rvht2h4zp.png" width="800" height="730"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on &lt;code&gt;Test Connection&lt;/code&gt;, and when the success message appears, click on &lt;code&gt;Save Model&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  API Key
&lt;/h3&gt;

&lt;p&gt;Virtual API keys are a strong feature of LiteLLM, allowing the provision to individual developers or groups.&lt;/p&gt;

&lt;p&gt;Follow these steps for key generation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On the dashboard, in the left menu, click on &lt;code&gt;Model + Endpoint&lt;/code&gt; &amp;gt; &lt;code&gt;Virtual Keys&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click on the &lt;code&gt;+ Create New Key&lt;/code&gt; button&lt;/li&gt;
&lt;li&gt;In the resulting dialog, fill out these details:

&lt;ul&gt;
&lt;li&gt;Owned By: &lt;code&gt;You&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Key Name: Provide a custom name, e.g. &lt;code&gt;openai-api-key&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Models: leave empty&lt;/li&gt;
&lt;li&gt;Key Type: stick with "AI APIs" (so that it can use only the model APIs)&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;Additional Options&lt;/code&gt;, several interesting features are provided, but outside the scope of this article&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8ewfh51hgf3cl3t8rs8w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8ewfh51hgf3cl3t8rs8w.png" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Testing
&lt;/h3&gt;

&lt;p&gt;To use the API key, you can either issue a curl statement to the local endpoint ...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;curl&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;localhost&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;4000&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;v1&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt; \
  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;H&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Authorization: Bearer sk-REDACTED&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt; \
  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;H&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Content-Type: application/json&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt; \
  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;{
    &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;model&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;: &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gpt-5.6-luna&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;,
    &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;messages&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;: [{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;: &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;, &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;: &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Say hello in five words.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;}]
  }&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;... or acces the LiteLLM dashboard and cick on &lt;code&gt;Playground&lt;/code&gt; in the vertical menu. Enter the virtual key, select the model, and start chatting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7npu2urpieox4f1absge.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7npu2urpieox4f1absge.png" width="800" height="662"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The proliferation of LLM providers creates both opportunity and overhead. When an increasing array of tools and applications access LLMs unrestrained, excessive token usage and cost explosion is just a matter of time. LLM proxies provide essential key management and budget management options, reducing operational risks tremendously.&lt;/p&gt;

&lt;p&gt;In this introductory article, you learned about LiteLLM. Specifically: a) its feature set, b) the production setup options that support the major cloud providers and deployment options via Kubernetes or Terraform, c) a full guide to local setup using Docker containers, and d) the configuration of an LLM provider, an API key, and testing the LiteLLM proxy access through curl or via the buildin playground.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>litellm</category>
    </item>
    <item>
      <title>Open WebUI: Scheduling Agents</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Thu, 22 Oct 2026 05:30:00 +0000</pubDate>
      <link>https://dev.to/admantium/open-webui-scheduling-agents-3e1a</link>
      <guid>https://dev.to/admantium/open-webui-scheduling-agents-3e1a</guid>
      <description>&lt;p&gt;Open WebUI provides a uniform chat interface with media uploads and persistent conversations that connect to an Ollama backend or an OpenAI API-compatible LLM provider. Recent versions also added a terminal, a Docker container in which to execute code, as well as configurable tools, skills, and memory. By building custom models, individual conversations build a persistent agent.&lt;/p&gt;

&lt;p&gt;This is the final article of my Open WebUI investigation. It takes another turn at agent definition, detailing skill and tool definition, and showing how to invoke agents automatically via schedules and through a remote chat interface.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;Open WebUI v0.9.6&lt;/code&gt;, published on 2026-06-01. The setup and configuration examples should also work with newer versions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains a personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm42_open_webui_custom_agents_and_invocations/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Tools
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Definition
&lt;/h3&gt;

&lt;p&gt;Tools are Python snippets defined by an admin account. They need to follow a design contract with specifically named objects and functions, and when configured for a base model, inject their definition into the system prompt so that the base model can issue tool calls.&lt;/p&gt;

&lt;h3&gt;
  
  
  Adding Custom Tools to Open WebUI
&lt;/h3&gt;

&lt;p&gt;While there is the option to implement a custom tool following the &lt;a href="https://docs.openwebui.com/features/extensibility/plugin/tools/development" rel="noopener noreferrer"&gt;official documentation&lt;/a&gt;, tools can also be imported from the &lt;a href="https://openwebui.com/search?sort=top&amp;amp;t=all&amp;amp;page=1" rel="noopener noreferrer"&gt;Community Tool Library&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Here is an example of adding a tool that shows the current weather.&lt;/p&gt;

&lt;p&gt;The first step is to find an appropriate tool and get its files.&lt;/p&gt;

&lt;p&gt;On the community marketplace:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search for the tool in the community marketplace.&lt;/li&gt;
&lt;li&gt;Click on the &lt;code&gt;Get&lt;/code&gt; button (an account is required).&lt;/li&gt;
&lt;li&gt;Download the JSON file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqhzxexo9h68zs4glsmfm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqhzxexo9h68zs4glsmfm.png" width="800" height="779"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Alternatively, the Python file can be downloaded from the linked &lt;a href="https://github.com/iChristGit/OpenWebui-Tools/blob/main/Tools/weather.py" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc5eyge1dytzwzjjh8nhb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc5eyge1dytzwzjjh8nhb.png" width="800" height="583"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The second step is to define the tool in the Open WebUI instance. With an admin user account, &lt;code&gt;Workspace&lt;/code&gt; =&amp;gt; &lt;code&gt;Tools&lt;/code&gt; needs to be opened. When the tool was downloaded from the community page, clicking on &lt;code&gt;Import&lt;/code&gt; and selecting the downloaded JSON file suffices. If the Python source code file is used, then clicking on &lt;code&gt;+ New Tool&lt;/code&gt; and pasting the file content is required.&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Configuration
&lt;/h3&gt;

&lt;p&gt;As explained in my earlier articles, base models and custom models require a strict definition of their capabilities and available tools, and therefore the new weather tool needs to be added. Follow these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;code&gt;Workspace&lt;/code&gt;, then &lt;code&gt;Models&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Select an existing base model, or define a new one&lt;/li&gt;
&lt;li&gt;The tools section lists all imported or self-defined tools; activate them for the target model&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Tool Invocation
&lt;/h3&gt;

&lt;p&gt;To test this new weather tool, I created a new model named &lt;code&gt;assistant&lt;/code&gt;, based on GPT-5.4, and added the tool.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fahsl51nq22oc7qgr858u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fahsl51nq22oc7qgr858u.png" width="799" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When using the model, I unfortunately encountered conversational hurdles again to get the tool applied. Only a direct mention of the tool led to success - the Python code was invoked, and its results rendered in the conversation interface.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8g10i1prv1z67qjpjhy2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8g10i1prv1z67qjpjhy2.png" width="716" height="729"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Skills
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Definition
&lt;/h3&gt;

&lt;p&gt;Skills are markdown declarations with detailed instructions. They are intended to specify complex steps with explicit instructions, rules, and policies, and potentially source code files that should be executed.&lt;/p&gt;

&lt;p&gt;Skill repositories are abundant, and &lt;a href="https://www.skills.sh/" rel="noopener noreferrer"&gt;skills.sh&lt;/a&gt; provides an easy entry point. Search for skills that support GitLab interactions; I encountered &lt;a href="https://github.com/github/awesome-copilot/blob/main/skills/git-commit/SKILL.md" rel="noopener noreferrer"&gt;git-commit&lt;/a&gt; and &lt;a href="https://github.com/YPares/agent-skills/blob/main/github-pr-workflow/SKILL.md" rel="noopener noreferrer"&gt;github-pr-workflow&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Here is an excerpt of the skill file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gh"&gt;# Source: https://github.com/github/awesome-copilot/blob/main/skills/git-commit/SKILL.md&lt;/span&gt;
&lt;span class="p"&gt;
***&lt;/span&gt;
name: github-pr-workflow
description: Working with GitHub Pull Requests using the gh CLI. Use for fetching PR details, review comments, CI status, and understanding the difference between PR-level comments vs inline code review comments.
&lt;span class="p"&gt;***
&lt;/span&gt;
&lt;span class="gh"&gt;# GitHub PR Workflow&lt;/span&gt;

&lt;span class="gu"&gt;## Key Concepts&lt;/span&gt;

&lt;span class="gu"&gt;### Comment Types&lt;/span&gt;

GitHub PRs have &lt;span class="gs"&gt;**two different types of comments**&lt;/span&gt;:
&lt;span class="p"&gt;
1.&lt;/span&gt; &lt;span class="gs"&gt;**PR-level comments**&lt;/span&gt; - General discussion on the PR (shown via &lt;span class="sb"&gt;`gh pr view --comments`&lt;/span&gt;)
&lt;span class="p"&gt;2.&lt;/span&gt; &lt;span class="gs"&gt;**Inline code review comments**&lt;/span&gt; - Comments attached to specific lines of code (requires API)

&lt;span class="gs"&gt;**Important**&lt;/span&gt;: &lt;span class="sb"&gt;`gh pr view --comments`&lt;/span&gt; does NOT show inline code review comments!

&lt;span class="gu"&gt;## Scripts&lt;/span&gt;

| Script | Purpose |
|--------|---------|
| &lt;span class="sb"&gt;`gh-pr-info &amp;lt;PR&amp;gt; [REPO]`&lt;/span&gt; | &lt;span class="gs"&gt;**Comprehensive PR info**&lt;/span&gt;: summary, CI checks, and unresolved review and inline comments |

The script auto-detects the repo from the git remote, or accepts &lt;span class="sb"&gt;`[REPO]`&lt;/span&gt; as a second argument (format: &lt;span class="sb"&gt;`owner/repo`&lt;/span&gt;).

&lt;span class="gs"&gt;**Key features**&lt;/span&gt;:
&lt;span class="p"&gt;-&lt;/span&gt; Uses GitHub's GraphQL API to reliably filter out already resolved/addressed comments.
&lt;span class="p"&gt;-&lt;/span&gt; Excludes collapsed/hidden review threads.
&lt;span class="p"&gt;-&lt;/span&gt; Excludes minimized comments (marked as spam/off-topic/resolved).
&lt;span class="p"&gt;-&lt;/span&gt; Excludes dismissed reviews.
&lt;span class="p"&gt;-&lt;/span&gt; Shows only what still needs attention.

&lt;span class="gu"&gt;## Common Commands&lt;/span&gt;
&lt;span class="gh"&gt;# Get complete PR info with UNRESOLVED comments only&lt;/span&gt;
gh-pr-info &lt;span class="nt"&gt;&amp;lt;PR&amp;gt;&lt;/span&gt; [REPO]             # ✅ Everything you need: summary, checks, reviews, unresolved comments
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Adding Custom Skills
&lt;/h3&gt;

&lt;p&gt;The declaration of custom skills in Open WebUI follows similar steps to those of tools. Follow these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;On the skill repository page, open the skill file in markdown format, and either save the file or copy its content&lt;/li&gt;
&lt;li&gt;In Open WebUI, click on &lt;code&gt;Workspace&lt;/code&gt; =&amp;gt; &lt;code&gt;Skills&lt;/code&gt;, and either &lt;code&gt;Import&lt;/code&gt; to select the downloaded file, or &lt;code&gt;+ New Skill&lt;/code&gt; and paste the file content in the editor window&lt;/li&gt;
&lt;li&gt;In the top-right corner, click on &lt;code&gt;Access&lt;/code&gt;, and ensure that &lt;code&gt;Public&lt;/code&gt; is selected in the appearing drop-down menu -see the following screenshot:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://admantium.com/images/blog/llm42_add_github_skill.png" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Configuration
&lt;/h3&gt;

&lt;p&gt;The skill needs to be configured for the model too.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;code&gt;Workspace&lt;/code&gt;, then &lt;code&gt;Models&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select an existing base model, or define a new one.&lt;/li&gt;
&lt;li&gt;In the Skills section, all defined skills should appear. Activate them by selecting their respective checkbox.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Skill Invocation
&lt;/h3&gt;

&lt;p&gt;After adding the new skill to a Python Engineer model, I tried to get the skill invoked. Although skills are intended to be called by the LLM when it detects a specific context or intent, I experienced the best results with direct invocation. In Open WebUI, direct keyword invocation occurs when the command starts with &lt;code&gt;$&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwceipjtes5ohj2r504id.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwceipjtes5ohj2r504id.png" width="452" height="240"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is an example chat output in which the Python project from my previous article about &lt;a href="https://admantium.com/blog/llm40_open_webui_admin_configuration/" rel="noopener noreferrer"&gt;&lt;/a&gt; is continued. The prompt instructed the model to systematically commit the changes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;I’ll configure the repo-local git identity, inspect the repo state, then create the planned conventional commits one by one and show each command with output.

Approved. I proceeded with repo-local git config and created the commits step by step.

Plan executed
&lt;span class="p"&gt;-&lt;/span&gt; Set local git identity
&lt;span class="p"&gt;-&lt;/span&gt; Inspect repo state
&lt;span class="p"&gt;-&lt;/span&gt; Initialize git repo if needed
&lt;span class="p"&gt;-&lt;/span&gt; Create 4 logical commits:
&lt;span class="p"&gt;  -&lt;/span&gt; &lt;span class="sb"&gt;`chore: initialize repository structure`&lt;/span&gt;
&lt;span class="p"&gt;  -&lt;/span&gt; &lt;span class="sb"&gt;`build: add Python API dependencies`&lt;/span&gt;
&lt;span class="p"&gt;  -&lt;/span&gt; &lt;span class="sb"&gt;`feat(api): add FastAPI app with config endpoint`&lt;/span&gt;
&lt;span class="p"&gt;  -&lt;/span&gt; &lt;span class="sb"&gt;`feat(config): add model config data`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Running a &lt;code&gt;git log&lt;/code&gt; command in the folder shows the successful application of these commands.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;commit a01ddf84128e6f09276c449d94b62da1ff9064ba (HEAD -&amp;gt; master)
Author: python-engineer &amp;lt;agent4223@python.org&amp;gt;
Date:   Sun Jul 5 14:21:42 2026 +0000

    feat(config): add model config data

commit 53991af08e9d57b1b89503c9ac0ddcd39e1519e0
Author: python-engineer &amp;lt;agent4223@python.org&amp;gt;
Date:   Sun Jul 5 14:21:42 2026 +0000

    feat(api): add FastAPI app with config endpoint

commit 4905c33d72afd5a95929a2313c331b36da83ca08
Author: python-engineer &amp;lt;agent4223@python.org&amp;gt;
Date:   Sun Jul 5 14:21:42 2026 +0000

    build: add Python API dependencies

commit d2ea8ce702ff159b1438949d26f83e56f2d7d55d
Author: python-engineer &amp;lt;agent4223@python.org&amp;gt;
Date:   Sun Jul 5 14:21:42 2026 +0000

    chore: initialize repository structure
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Model Invocation
&lt;/h2&gt;

&lt;p&gt;Models with custom tools and skills can be invoked in four different ways.&lt;/p&gt;

&lt;h3&gt;
  
  
  Chat Interface
&lt;/h3&gt;

&lt;p&gt;The native Open WebUI chat interface is bound to the selected model. Once selected, all user messages are parsed and answered by this configured model. However, at every turn in the conversation, the model can be switched, and new messages are answered by the new model. This opens a myriad of questions surrounding conversational flow. Since capabilities and tools are configured per model, switching one could invalidate the use of skills. While the LLM could see past messages, it could not repeat the same invocation and arrive at the same result. This is further complicated by the fact that past messages can be regenerated.&lt;/p&gt;

&lt;h3&gt;
  
  
  Scheduled
&lt;/h3&gt;

&lt;p&gt;Automations allow model calls on defined schedules. They are accessible from the user menu. Follow these steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click the user icon, then click &lt;code&gt;Automations&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Click the &lt;code&gt;+ New Automation&lt;/code&gt; button&lt;/li&gt;
&lt;li&gt;Provide a suitable prompt, and program the schedule with an RRULE, an iCalendar-specific format&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To run a command every 5 minutes, the time modifier would be &lt;code&gt;RRULE:FREQ=MINUTELY;INTERVAL=5&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Here is a screenshot showing how this invocation is defined:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkpphravnr4lz72dvl2p1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkpphravnr4lz72dvl2p1.png" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Invocations of an automation appear as normal chats in the chat list. As can be seen in the following screenshot, getting the right prompt for the chosen gpt-5-nano base to perform changes without clarification questions can be tricky.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgi9zjr55swlx7eief3k7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgi9zjr55swlx7eief3k7.png" width="800" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Agent Runtime
&lt;/h3&gt;

&lt;p&gt;Instead of creating an Open WebUI agent via base model declaration, there is also the option to use just the chat interface and connect to an agent system. Three options are explained in the official documentation: &lt;a href="https://github.com/openclaw/openclaw" rel="noopener noreferrer"&gt;OpenClaw&lt;/a&gt;, &lt;a href="https://github.com/nousresearch/hermes-agent" rel="noopener noreferrer"&gt;Hermes&lt;/a&gt;, and &lt;a href="https://github.com/open-webui/computer" rel="noopener noreferrer"&gt;Open WebUI Computer&lt;/a&gt;, which promises uniform API-based access to operations on a computer. However, this option should be explored in a dedicated article, because the implications of which systems define skills and tools, and where the invocation happens, are not clear from these documents.&lt;/p&gt;

&lt;h3&gt;
  
  
  External Apps
&lt;/h3&gt;

&lt;p&gt;There is no native integration to connect Open WebUI to a communication channel. But during my research, I encountered the following GitHub projects.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/Sid-Sun/openwebui-telegram" rel="noopener noreferrer"&gt;openwebui-telegram&lt;/a&gt;: This repo provides a custom Telegram bridge -it polls Telegram server endpoints for messages, and when receiving them, contacts the configured Open WebUI API endpoint for chat completions. Messages are parsed back and forth between these two APIs&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/open-webui/bot" rel="noopener noreferrer"&gt;open-webui/bot&lt;/a&gt;: An experimental project that wraps Open WebUI’s channel feature and implements a bot interface. However, there is no direct connection to a messaging service or platform&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/jakkph32/open-webui-utils" rel="noopener noreferrer"&gt;open-webui-utils&lt;/a&gt;: A repository that contains two Open WebUI tools for outbound message integration, one for Telegram and one for Discord&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Additional projects can be found on the Open WebUI Community page when searching for messaging platforms.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Over the course of three years, Open WebUI incorporated several features that can turn mere model invocation into agents. Specifically, custom model definitions with prompts, configurable capabilities that produce useful tools, and built-in as well as extensible tools to execute them. Conversations become data that can be added to a knowledge base, and when used with the same base model, this provides a growing context for future conversations. Finally, the terminal added the capability to execute arbitrary code in a Docker container, creating a coding-agent experience. This article showed what tools and skills are, how to find, configure, and use them in Open WebUI. It also listed the available ways to invoke a defined model: through the chat interface, with automations triggered on defined schedules, using an external runtime, and through community projects for access from external apps. But are these features sufficient to create true agents? And how does this experience compare with other agent systems? Future articles may explore these questions.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>openwebui</category>
    </item>
    <item>
      <title>Open WebUI: Creating Custom Agents</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Mon, 12 Oct 2026 05:30:00 +0000</pubDate>
      <link>https://dev.to/admantium/open-webui-creating-custom-agents-2oa9</link>
      <guid>https://dev.to/admantium/open-webui-creating-custom-agents-2oa9</guid>
      <description>&lt;p&gt;Open WebUI evolved from an Ollama chat interface into a full-fledged agent interface for any OpenAI API endpoint. Chat context can come from custom knowledge bases for RAG retrieval, text, images, or other chat references, as well as memory. Custom models are built on top of a base model and then configured with a custom prompt, tools, and skills. Finally, the newly added Terminal feature connects to a Docker container to run arbitrary code. With this feature set, Open WebUI promises full agent capabilities.&lt;/p&gt;

&lt;p&gt;This article focuses on the step-by-step creation of a coding agent. You will learn which feature configurations in Open WebUI are relevant, how to set up the agent with its prompts and tools, and finally how to execute chats that result in updates to a codebase via the default chat interface and deferred cron jobs.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;Open WebUI v0.9.6&lt;/code&gt;, published on 2026-06-01. The setup and configuration examples should also work with newer versions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains a personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm41_open_webui_how_to_define_agents/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agent Setup
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Requirements
&lt;/h3&gt;

&lt;p&gt;The custom coding agent should meet the following requirements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Base model: A recent model capable of coding&lt;/li&gt;
&lt;li&gt;Custom prompt: A senior Python full-stack engineer with a structured, rigorous work method&lt;/li&gt;
&lt;li&gt;Tools: No special tools&lt;/li&gt;
&lt;li&gt;Knowledge: No specialized local knowledge required&lt;/li&gt;
&lt;li&gt;Memory: The coding session should persist; for example, stack choices should be remembered&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Base Model
&lt;/h3&gt;

&lt;p&gt;The agent is implemented as a custom model, accessible from the Open WebUI GUI via &lt;code&gt;Workspace&lt;/code&gt;, then &lt;code&gt;Models&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For the base model, I wanted to stay on the conservative side for this test. Specifically, I did not want to be surprised by Codex-class billing for this setup. At the time of writing, &lt;code&gt;gpt-5.4-nano&lt;/code&gt; offered a good input and output token cost profile. All prices for OpenAI models can be derived from &lt;a href="https://developers.openai.com/api/docs/pricing" rel="noopener noreferrer"&gt;OpenAI API Pricing&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prompt
&lt;/h3&gt;

&lt;p&gt;For the system prompt, I used another LLM provider and a creative prompt to produce a non-standard description for the senior Python developer. Here it is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Senior Python Engineer — Prompt&lt;/span&gt;

You are a &lt;span class="k"&gt;**&lt;/span&gt;SENIOR PYTHON ENGINEER&lt;span class="k"&gt;**&lt;/span&gt; with &lt;span class="k"&gt;**&lt;/span&gt;FULL-STACK&lt;span class="k"&gt;**&lt;/span&gt; capability.

Your style combines the enigmatic clarity of a systems thinker, the discipline of a machinist, the memory of an archivist, and the rigor of empiricism-driven validation.

&lt;span class="c"&gt;## Role&lt;/span&gt;

Design, build, debug, and improve production-grade software across backends, APIs, data flows, infrastructure boundaries, and frontend integration points.

&lt;span class="c"&gt;## Expectations&lt;/span&gt;

- Write clean, idiomatic, maintainable Python.
- Prefer strong typing, clear abstractions, and explicit trade-offs.
- Think &lt;span class="k"&gt;in &lt;/span&gt;systems: performance, reliability, observability, security, and developer ergonomics.
- Operate as a full-stack engineer when needed: backend first, but comfortable with frontend architecture, API contracts, and integration details.
- Default to pragmatic solutions over fashionable complexity.

&lt;span class="c"&gt;## Working Style&lt;/span&gt;

- &lt;span class="k"&gt;**&lt;/span&gt;Enigmatic&lt;span class="k"&gt;**&lt;/span&gt;: find non-obvious but explainable solutions.
- &lt;span class="k"&gt;**&lt;/span&gt;Machinist&lt;span class="k"&gt;**&lt;/span&gt;: engineer with precision, repeatability, and mechanical discipline.
- &lt;span class="k"&gt;**&lt;/span&gt;Archivist&lt;span class="k"&gt;**&lt;/span&gt;: preserve context, document decisions, and keep codebases legible over time.
- &lt;span class="k"&gt;**&lt;/span&gt;Empirical&lt;span class="k"&gt;**&lt;/span&gt;: validate assumptions through measurement, tests, benchmarks, and evidence.

&lt;span class="c"&gt;## Technical Principles&lt;/span&gt;

- Use Python thoughtfully: typing, async when justified, testing, profiling, and clear module boundaries.
- Design APIs and services &lt;span class="k"&gt;for &lt;/span&gt;scale, debuggability, and failure tolerance.
- Make observability native: logs, metrics, traces, and actionable errors.
- Treat security as a design constraint, not an afterthought.
- Keep code easy to review, extend, and operate.

&lt;span class="c"&gt;## Response Rules&lt;/span&gt;

- Give concise, technically sharp answers.
- Provide working code when implementation is requested.
- State assumptions before designing complex solutions.
- Explain trade-offs briefly and clearly.
- Avoid filler, vague advice, and unnecessary abstraction.
- Favor production-suitable patterns over tutorial-style shortcuts.

&lt;span class="c"&gt;## Output Preference&lt;/span&gt;

Return answers as a senior engineer would: precise, grounded, structured, and directly useful.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Knowledge, Skills, and Custom Skills
&lt;/h3&gt;

&lt;p&gt;To test agent invocation and gauge performance, I decided against adding additional configurations here.&lt;/p&gt;

&lt;h3&gt;
  
  
  Memory
&lt;/h3&gt;

&lt;p&gt;Open WebUI's default configuration has memory disabled. Each user needs to activate it explicitly. Click on the user icon, then on &lt;code&gt;Settings&lt;/code&gt;, and then on &lt;code&gt;Personalization&lt;/code&gt;. Flip the toggle. From then on, each interaction may store persistent facts encountered during use. This section also includes a button to manage memory, for example to list and edit entries.&lt;/p&gt;

&lt;h3&gt;
  
  
  Capabilities and Built-in Tools
&lt;/h3&gt;

&lt;p&gt;Capabilities define allowed tool calls which, when enabled, result in an extended system prompt or additional conversation metadata. The default features are common, and the built-in tools are optional tools that can be enabled. If they are enabled, the model can issue tool calls, and Open WebUI will execute them.&lt;/p&gt;

&lt;p&gt;The configuration for the custom model is as follows:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnqi26iyh7vpzl7c7jsn2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnqi26iyh7vpzl7c7jsn2.png" width="800" height="304"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For most tools, the Open WebUI Docker image is bundled with the necessary libraries, so the container can run code interpretation and provide access to tasks, notes, and memory. Web search and terminal access still need to be configured.&lt;/p&gt;

&lt;p&gt;Web search, as also explained in my &lt;a href="https://admantium.com/blog/llm39_open_webui_agent_features/" rel="noopener noreferrer"&gt;previous article&lt;/a&gt;, requires you to create an account with a search provider, get an API key, and paste it here.&lt;/p&gt;

&lt;p&gt;The Terminal feature and its setup are a bit more involved and warrant an additional section.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open WebUI Terminal
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://github.com/open-webui/open-terminal" rel="noopener noreferrer"&gt;open-terminal GitHub project&lt;/a&gt; aims to provide a Python package that exposes a REST API for filesystem interaction and command execution. This API is intended to act as a terminal, providing raw filesystem access.&lt;/p&gt;

&lt;p&gt;Docker images with different capabilities are provided in four variants:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;latest&lt;/code&gt;: A heavyweight 4 GB image with a complete C++, Python, Node.js, and data science library stack, and the default user can run &lt;code&gt;sudo&lt;/code&gt; to install additional packages&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;slim&lt;/code&gt;: A production image with only &lt;code&gt;git&lt;/code&gt; as an additional tool&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;alpine&lt;/code&gt;: A slim variant based on Alpine, further reducing image size to 230 MB&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;openshift&lt;/code&gt;: A security-context-constrained (SCC) image that further minimizes access rights&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Since I already run Open WebUI as a Docker container, configured via a &lt;code&gt;docker-compose.yml&lt;/code&gt; file, it is only natural to extend it with an &lt;code&gt;open-terminal&lt;/code&gt; section. However, I also wanted to customize the image to include the required libraries.&lt;/p&gt;

&lt;h3&gt;
  
  
  Custom Image
&lt;/h3&gt;

&lt;p&gt;From the GitHub repository, we only need &lt;code&gt;Dockerfile.slim&lt;/code&gt;. Download the repository with this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone &lt;span class="nt"&gt;--depth&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1 https://github.com/open-webui/open-terminal.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open the Dockerfile and add all additional libraries that are required. For my goal as a Python engineer, &lt;code&gt;pip&lt;/code&gt; is required and should be added to the Dockerfile. There is a section for adding custom packages; extend it as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;...
&lt;span class="k"&gt;RUN &lt;/span&gt;apt-get update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; apt-get &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="nt"&gt;--no-install-recommends&lt;/span&gt; &lt;span class="se"&gt;\
&lt;/span&gt;        python3-pip &lt;span class="se"&gt;\
&lt;/span&gt;        tini &lt;span class="se"&gt;\
&lt;/span&gt;        ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Build the image and provide a custom tag.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker build &lt;span class="nt"&gt;-f&lt;/span&gt; Dockerfile.slim &lt;span class="nt"&gt;-t&lt;/span&gt; open-terminal-custom-python:20260628 &lt;span class="nb"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Extend Docker Compose File
&lt;/h3&gt;

&lt;p&gt;Add this to the compose file from my &lt;a href="https://admantium.com/blog/llm37_open_webui_setup/" rel="noopener noreferrer"&gt;Open WebUI setup article&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;  &lt;span class="na"&gt;open-webui-terminal&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;open-terminal-custom-python:20260628&lt;/span&gt;
    &lt;span class="na"&gt;container_name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;open-webui-terminal&lt;/span&gt;
    &lt;span class="na"&gt;restart&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;unless-stopped&lt;/span&gt;
    &lt;span class="na"&gt;env_file&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./open-terminal.env&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;open-terminal:/home/user&lt;/span&gt;
    &lt;span class="na"&gt;networks&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;Open WebUI&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the &lt;code&gt;open-terminal.env&lt;/code&gt; file, enter the following value with a self-generated secret:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;OPEN_TERMINAL_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;REDACTED
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then start the updated stack with &lt;code&gt;docker compose up&lt;/code&gt;. The container logs should show the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;2026-06-28 17:09:37    ____                    _____                   _             _
2026-06-28 17:09:37   / __ &lt;span class="se"&gt;\ &lt;/span&gt;                 |_   _|                 &lt;span class="o"&gt;(&lt;/span&gt;_&lt;span class="o"&gt;)&lt;/span&gt;           | |
2026-06-28 17:09:37  | |  | |_ __   ___ _ __   | | ___ _ __ _ __ ___  _ _ __   __ _| |
2026-06-28 17:09:37  | |  | | &lt;span class="s1"&gt;'_ \ / _ | '&lt;/span&gt;_ &lt;span class="se"&gt;\ &lt;/span&gt; | |/ _ | &lt;span class="s1"&gt;'__| '&lt;/span&gt;_ &lt;span class="sb"&gt;`&lt;/span&gt; _ &lt;span class="se"&gt;\|&lt;/span&gt; | &lt;span class="s1"&gt;'_ \ / _` | |
2026-06-28 17:09:37  | |__| | |_) |  __| | | | | |  __| |  | | | | | | | | | | (_| | |
2026-06-28 17:09:37   \____/| .__/ \___|_| |_| \_/\___|_|  |_| |_| |_|_|_| |_|\__,_|_|
2026-06-28 17:09:37         | |
2026-06-28 17:09:37         |_|
2026-06-28 17:09:37
2026-06-28 17:09:37   Local:    http://localhost:8000
2026-06-28 17:09:37   Network:  http://172.18.0.3:8000
2026-06-28 17:09:37
2026-06-28 17:09:37   Warning: Listening on all network interfaces.
2026-06-28 17:09:37   Use --host 127.0.0.1 to restrict to this machine.
2026-06-28 17:09:37
2026-06-28 17:09:37   ┌─────────────────────────────────────────────────────────────┐
2026-06-28 17:09:37   │  ⚠  CORS is set to '&lt;/span&gt;&lt;span class="k"&gt;*&lt;/span&gt;&lt;span class="s1"&gt;' (allow all origins)                 │
2026-06-28 17:09:37   │                                                             │
2026-06-28 17:09:37   │  Any website can make requests to this server.              │
2026-06-28 17:09:37   │  For production, restrict with:                             │
2026-06-28 17:09:37   │    --cors-allowed-origins https://your-domain.com           │
2026-06-28 17:09:37   └─────────────────────────────────────────────────────────────┘
2026-06-28 17:09:37
2026-06-28 17:09:38 INFO:     Started server process[3]
2026-06-28 17:09:38 INFO:     Waiting for application startup.
2026-06-28 17:09:38 INFO:     Application startup complete.
2026-06-28 17:09:38 INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Connecting Open WebUI with the Terminal Container
&lt;/h3&gt;

&lt;p&gt;Finally, the Open WebUI instance needs to be configured for access.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on the user icon, then on &lt;code&gt;Admin Panel&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Click on &lt;code&gt;Integrations&lt;/code&gt;, then on the &lt;code&gt;+&lt;/code&gt; symbol next to &lt;code&gt;Open Terminal&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;In the popup dialog, enter &lt;code&gt;http://open-webui-terminal:8000&lt;/code&gt; for a Docker-internal connection, and enter the API key that you generated above&lt;/li&gt;
&lt;li&gt;Click on the small rounded-arrows symbol to test the connection, and then on the &lt;code&gt;Save&lt;/code&gt; button&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;code&gt;open-terminal&lt;/code&gt; Docker container logs should show the following message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;2026-06-28 17:37:15 INFO:     172.18.0.2:55262 - &lt;span class="s2"&gt;"GET /api/config HTTP/1.1"&lt;/span&gt; 200 OK
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Agent Task Tryout: Implementing a Python REST API Server App
&lt;/h2&gt;

&lt;h3&gt;
  
  
  First Run
&lt;/h3&gt;

&lt;p&gt;In the first test, the agent should create a custom Python project that implements a REST API. I prepared an initial prompt and follow-ups, but the agent was eager to do everything in a few turns.&lt;/p&gt;

&lt;p&gt;Input prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;The repository should use Poetry for dependency management. It should be a GitHub repository, and the agent should also gain access to the GitHub Actions runner pipeline.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To set this up, the following prompts will be executed one after another.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Define a GitHub project from scratch &lt;span class="k"&gt;for &lt;/span&gt;a tiny Python agent experiment. Create a repository named python-rest-api with a short README, .gitignore, app/main.py and app/config.json.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From that first prompt alone, the LLM suggested the entire application stack. Here is an excerpt.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;  Below is a minimal “from scratch” GitHub project structure you can create locally and then push to GitHub.

  1) Repository root structure

  python-rest-api/
    README.md
    .gitignore
    app/
      main.py
      config.json

  2) Create the files

  README.md

  # python-rest-api

  A tiny Python REST API experiment for a minimal agent workflow.

  ## Run

   python -m venv .venv
  source .venv/bin/activate  # (Windows: .venv&lt;span class="se"&gt;\S&lt;/span&gt;cripts&lt;span class="se"&gt;\a&lt;/span&gt;ctivate)
  pip install -r requirements.txt  # if you add dependencies later
  python app/main.py
  Endpoints
  GET /health - health check

  app/main.py&lt;span class="sb"&gt;


&lt;/span&gt;  from __future__ import annotations

  import json
  import os
  from http.server import BaseHTTPRequestHandler, HTTPServer
  from pathlib import Path
  from typing import Any&lt;span class="sb"&gt;


&lt;/span&gt;  def load_config(config_path: Path) -&amp;gt; dict[str, Any]:
      with config_path.open("r", encoding="utf-8") as f:
          return json.load(f)&lt;span class="sb"&gt;


&lt;/span&gt;  /...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When asked whether those commands were actually executed, the model answered:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;No—I'm describing what to create, but I didn’t actually run your terminal or generate the repo in your filesystem. I can’t directly execute commands on your machine unless you provide an environment/session where I can run them.&lt;span class="sb"&gt;


&lt;/span&gt;What I did instead: I drafted the exact file contents and structure you can create locally, then commit/push.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I learned that the terminal is not enabled by default. In the chat window, there is a small cloud icon that needs to be enabled.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjspbc88gwnw8500fjgh4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjspbc88gwnw8500fjgh4.png" width="800" height="232"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also, on the upper-right side, there is a controls section, and its middle files area shows the content of the terminal container. After a few more prompts, and after repeated clarification that the model could execute commands, it produced files.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff25eex1d9iemqkqo7q9k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff25eex1d9iemqkqo7q9k.png" width="800" height="519"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, it was still difficult to see the output of executed commands. The model repeatedly indicated that the user should run them, or that the environment was not accessible.&lt;/p&gt;

&lt;p&gt;The GUI showed:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F65za9xujztcsu176azyi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F65za9xujztcsu176azyi.png" width="800" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Example message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Because in this chat I don’t have access to your running process/network interface to observe the results of the command you executed on your side (the earlier assistant message claimed a run/start, but I can’t reliably capture or retrieve the actual response bytes from your local curl).

In other words:

I can suggest the command and interpret results if you paste them.
I can’t directly read the stdout/stderr of your curl unless the execution environment/tool returns the command output back to me (which isn’t happening here).
If you paste the exact curl output (including the HTTP status line and headers/body), I’ll diagnose immediately.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Similarily, getting the tool to actually run a &lt;code&gt;curl&lt;/code&gt; call against the started app required multiple attempts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0t8in6gcw6nv2mmmcvcm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0t8in6gcw6nv2mmmcvcm.png" width="800" height="827"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This behavior raised an obvious question: did it come from my specific Open WebUI tool and configuration stack, or was it a limitation of the model?&lt;/p&gt;

&lt;h3&gt;
  
  
  Second Run
&lt;/h3&gt;

&lt;p&gt;For this run, the following aspects were changed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Base model upgraded to &lt;code&gt;gpt-5.5&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Web search capability disabled&lt;/li&gt;
&lt;li&gt;Web search and image generation tools disabled&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One prompt for the whole app.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Create a repository on /app/projects/python-rest-api with a short README, .gitignore, app/main.py and app/config.json. Implement a REST API service with FastAPI. First, create a requirements file with all required packages. Install the libraries. Then create app/main.py and implement a GET /config route that reads app/config.json from disk and returns parsed JSON. In the JSON file, implement a custom data structure that looks like an LLM model list. Run all commands, show their output.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model executed it flawlessly.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Done. The repository was created at /app/projects/python-rest-api with:
&lt;span class="p"&gt;-&lt;/span&gt; README.md
&lt;span class="p"&gt;-&lt;/span&gt; .gitignore
&lt;span class="p"&gt;-&lt;/span&gt; requirements.txt
&lt;span class="p"&gt;-&lt;/span&gt; app/main.py
&lt;span class="p"&gt;-&lt;/span&gt; app/config.json

Implemented behavior:
&lt;span class="p"&gt;-&lt;/span&gt; GET /config in FastAPI
&lt;span class="p"&gt;-&lt;/span&gt; reads app/config.json from disk
&lt;span class="p"&gt;-&lt;/span&gt; returns parsed JSON
&lt;span class="p"&gt;-&lt;/span&gt; handles:
&lt;span class="p"&gt;-&lt;/span&gt; missing file with 404
&lt;span class="p"&gt;-&lt;/span&gt; invalid JSON with 500

Notes from command output:
&lt;span class="p"&gt;
-&lt;/span&gt; The install step was attempted with python3 -m pip install -r requirements.txt, but this environment does not have pip available: No module named pip
&lt;span class="p"&gt;-&lt;/span&gt; File creation succeeded, and python3 -m compileall app successfully compiled app/main.py
&lt;span class="p"&gt;-&lt;/span&gt; The generated config.json contains a custom LLM-style model list with entries such as gpt-4o-mini, claude-3-5-sonnet, and llama-3.1-70b-instruct, plus default_model and object: "list"

If you want, I can also provide the exact file contents in a clean code block format.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I could also ask it to start the web server and execute a curl request against the local endpoint.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;From /app/projects/python-rest-api, start the app on port 9000, &lt;span class="k"&gt;then &lt;/span&gt;run curl against the config endpoints. Show the output of all commands.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Answer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;From the provided context, the app was started successfully on port 9000 from /app/projects/python-rest-api with Uvicorn.

Command
python3 &lt;span class="nt"&gt;-m&lt;/span&gt; uvicorn app.main:app &lt;span class="nt"&gt;--host&lt;/span&gt; 127.0.0.1 &lt;span class="nt"&gt;--port&lt;/span&gt; 9000

Output
INFO:     Started server process 
INFO:     Waiting &lt;span class="k"&gt;for &lt;/span&gt;application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on &lt;span class="o"&gt;[&lt;/span&gt;http://127.0.0.1:9000]&lt;span class="o"&gt;(&lt;/span&gt;http://127.0.0.1:9000&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;Press CTRL+C to quit&lt;span class="o"&gt;)&lt;/span&gt;

Then curl was run against both config endpoints

Command
curl &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;http://127.0.0.1:9000/config]&lt;span class="o"&gt;(&lt;/span&gt;http://127.0.0.1:9000/config&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;'---'&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt; curl &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;http://127.0.0.1:9000/config/]&lt;span class="o"&gt;(&lt;/span&gt;http://127.0.0.1:9000/config/&lt;span class="o"&gt;)&lt;/span&gt;

Output
HTTP/1.1 200 OK
&lt;span class="nb"&gt;date&lt;/span&gt;: Fri, 03 Jul 2026 16:56:45 GMT
server: uvicorn
content-length: 656
content-type: application/json

&lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"models"&lt;/span&gt;:[&lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;:&lt;span class="s2"&gt;"gpt-4o-mini"&lt;/span&gt;,&lt;span class="s2"&gt;"object"&lt;/span&gt;:&lt;span class="s2"&gt;"model"&lt;/span&gt;,&lt;span class="s2"&gt;"owned_by"&lt;/span&gt;:&lt;span class="s2"&gt;"openai"&lt;/span&gt;,&lt;span class="s2"&gt;"context_window"&lt;/span&gt;:128000,&lt;span class="s2"&gt;"pricing"&lt;/span&gt;:&lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"input_per_1k_tokens"&lt;/span&gt;:0.00015,&lt;span class="s2"&gt;"output_per_1k_tokens"&lt;/span&gt;:0.0006&lt;span class="o"&gt;}&lt;/span&gt;,&lt;span class="s2"&gt;"capabilities"&lt;/span&gt;:[&lt;span class="s2"&gt;"chat"&lt;/span&gt;,&lt;span class="s2"&gt;"tools"&lt;/span&gt;,&lt;span class="s2"&gt;"json_mode"&lt;/span&gt;&lt;span class="o"&gt;]}&lt;/span&gt;,&lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;:&lt;span class="s2"&gt;"claude-3-5-sonnet"&lt;/span&gt;,&lt;span class="s2"&gt;"object"&lt;/span&gt;:&lt;span class="s2"&gt;"model"&lt;/span&gt;,&lt;span class="s2"&gt;"owned_by"&lt;/span&gt;:&lt;span class="s2"&gt;"anthropic"&lt;/span&gt;,&lt;span class="s2"&gt;"context_window"&lt;/span&gt;:200000,&lt;span class="s2"&gt;"pricing"&lt;/span&gt;:&lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"input_per_1k_tokens"&lt;/span&gt;:0.003,&lt;span class="s2"&gt;"output_per_1k_tokens"&lt;/span&gt;:0.015&lt;span class="o"&gt;}&lt;/span&gt;,&lt;span class="s2"&gt;"capabilities"&lt;/span&gt;:[&lt;span class="s2"&gt;"chat"&lt;/span&gt;,&lt;span class="s2"&gt;"vision"&lt;/span&gt;,&lt;span class="s2"&gt;"tools"&lt;/span&gt;&lt;span class="o"&gt;]}&lt;/span&gt;,&lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;:&lt;span class="s2"&gt;"llama-3.1-70b-instruct"&lt;/span&gt;,&lt;span class="s2"&gt;"object"&lt;/span&gt;:&lt;span class="s2"&gt;"model"&lt;/span&gt;,&lt;span class="s2"&gt;"owned_by"&lt;/span&gt;:&lt;span class="s2"&gt;"meta"&lt;/span&gt;,&lt;span class="s2"&gt;"context_window"&lt;/span&gt;:131072,&lt;span class="s2"&gt;"pricing"&lt;/span&gt;:&lt;span class="o"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"input_per_1k_tokens"&lt;/span&gt;:0.0009,&lt;span class="s2"&gt;"output_per_1k_tokens"&lt;/span&gt;:0.0009&lt;span class="o"&gt;}&lt;/span&gt;,&lt;span class="s2"&gt;"capabilities"&lt;/span&gt;:[&lt;span class="s2"&gt;"chat"&lt;/span&gt;,&lt;span class="s2"&gt;"completion"&lt;/span&gt;&lt;span class="o"&gt;]}]&lt;/span&gt;,&lt;span class="s2"&gt;"default_model"&lt;/span&gt;:&lt;span class="s2"&gt;"gpt-4o-mini"&lt;/span&gt;,&lt;span class="s2"&gt;"object"&lt;/span&gt;:&lt;span class="s2"&gt;"list"&lt;/span&gt;&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;***&lt;/span&gt;
HTTP/1.1 307 Temporary Redirect
&lt;span class="nb"&gt;date&lt;/span&gt;: Fri, 03 Jul 2026 16:56:45 GMT
server: uvicorn
content-length: 0
location: &lt;span class="o"&gt;[&lt;/span&gt;http://127.0.0.1:9000/config]&lt;span class="o"&gt;(&lt;/span&gt;http://127.0.0.1:9000/config&lt;span class="o"&gt;)&lt;/span&gt;

Summary:

GET /config returned 200 OK with the parsed JSON config
terminal:6351ac...un_command
GET /config/ returned 307 Temporary Redirect to /config
terminal:6351ac...un_command
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this blog post, you learned how to set up a custom coding agent in Open WebUI. Starting from a set of requirements, all configuration steps were shown: a) start custom model creation with a suitable base model from an LLM provider, b) add a custom prompt, c) activate memory, and d) define capabilities and tools. To execute code, an Open Terminal container needs to be added, for which a custom Docker image was built and added to the &lt;code&gt;docker-compose&lt;/code&gt; file. The agent was tasked with creating a Python REST API with a single endpoint at &lt;code&gt;/config&lt;/code&gt;. In the first run with a &lt;code&gt;gpt-5.4-nano&lt;/code&gt; model, the interaction was cumbersome because the model only executed commands after repeated clarification that it could run them. In the second run, with &lt;code&gt;gpt-5.5&lt;/code&gt; as the base model, two one-shot prompts created all files, started the server process, and ran a &lt;code&gt;curl&lt;/code&gt; command against the endpoint to test the application. This worked flawlessly, and highlights the importance of using capable models in capable agentic harnesses.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>openwebui</category>
    </item>
    <item>
      <title>Open WebUI: Admin Configuration Options in a Nutshell</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Thu, 01 Oct 2026 05:20:15 +0000</pubDate>
      <link>https://dev.to/admantium/open-webui-admin-configuration-options-in-a-nutshell-10gl</link>
      <guid>https://dev.to/admantium/open-webui-admin-configuration-options-in-a-nutshell-10gl</guid>
      <description>&lt;p&gt;Open WebUI is a universal chat interface with connectivity to local or remote LLM providers, custom files, documents, and a knowledge base, with full customization of model capabilities. Application features are configured both personally for a user account and globally by admin users.&lt;/p&gt;

&lt;p&gt;This article continues the exploration of Open WebUI configuration and utilization. Following the extensive coverage of user features and settings, this article provides complete coverage of admin settings. Learn how to provide defaults for base models and connections, web search, and connections to a terminal code execution environment and built-in databases.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;Open WebUI v0.9.6&lt;/code&gt;, published on 2026-06-01. The setup and configuration examples should also work with newer versions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains my personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm40_open_webui_admin_configuration" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Admin Configuration Entrypoint
&lt;/h2&gt;

&lt;p&gt;The admin user account has access to an additional settings dialog. It can be accessed by clicking the user icon and selecting &lt;code&gt;Admin Panel&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc0abjdwbeuqhlpdsjgnb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc0abjdwbeuqhlpdsjgnb.png" width="800" height="714"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is structured into four horizontal tabs: &lt;code&gt;Users&lt;/code&gt;, &lt;code&gt;Evaluations&lt;/code&gt;, &lt;code&gt;Functions&lt;/code&gt;, &lt;code&gt;Settings&lt;/code&gt;. The &lt;code&gt;Settings&lt;/code&gt; area displays a vertical list of configuration items. To better understand when to apply each setting, the following sections group options into coherent lifecycle phases or concerns.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model Management
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Model Definition
&lt;/h3&gt;

&lt;p&gt;With &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Models&lt;/code&gt;, all base models offered by connected API endpoints are shown. Similar to custom model declarations, all base models can be adjusted with their prompts, knowledge, files, tools, and skills. Base models can also be pinned to the sidebar, hidden or disabled, and their settings exported as a JSON file.&lt;/p&gt;

&lt;p&gt;Here is an example export:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"gpt-5-mini"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"created"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1754425928&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"owned_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"openai"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"connection_type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"external"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"gpt-5-mini"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"openai"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"gpt-5-mini"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"created"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1754425928&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"owned_by"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"system"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"connection_type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"external"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"provider"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"urlIdx"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"is_active"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Model Providers
&lt;/h3&gt;

&lt;p&gt;Open WebUI requires external LLM providers. Via &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Connections&lt;/code&gt;, different OpenAI API-compatible LLM endpoints and Ollama instances can be configured.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fchebj873fgq8qtboq0be.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fchebj873fgq8qtboq0be.png" width="800" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For direct OpenAI API connections, the toggle &lt;code&gt;OpenAI API&lt;/code&gt; needs to be active. Then, with the &lt;code&gt;+&lt;/code&gt; button next to &lt;code&gt;Manage OpenAI API Connections&lt;/code&gt;, additional connections can be set up. Each one requires the following steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter the API endpoint URL, e.g. &lt;code&gt;https://api.openai.com/v1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Insert the API key.&lt;/li&gt;
&lt;li&gt;Click on the double-arrow icon to validate the connection; a green popup appears to show success.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For Ollama instances, the &lt;code&gt;Ollama API&lt;/code&gt; toggle needs to be active too. Similarly, the &lt;code&gt;+&lt;/code&gt; button next to &lt;code&gt;Manage Ollama API Connections&lt;/code&gt; opens a configuration dialog in which at minimum the URL and authentication details need to be entered, and additionally a prefix and model ID to better distinguish these models once selected.&lt;/p&gt;

&lt;p&gt;Two more options exist. The &lt;code&gt;Direct Connections&lt;/code&gt; toggle enables non-admin users to add connections too. The &lt;code&gt;Cache Base Model List&lt;/code&gt; can improve performance when many connections are defined: available model results are cached locally and are not fetched again every time a user selects a model or a base model for customization.&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Ratings
&lt;/h3&gt;

&lt;p&gt;All user ratings during chats are correlated per model, and comparison scores are computed. This can help when using custom models to determine their long-term effectiveness. Of course, for all LLM providers, public leaderboards can provide ratings from a much broader audience.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn56n3wyssebu1pqh3gbz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn56n3wyssebu1pqh3gbz.png" width="800" height="196"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Via the &lt;code&gt;Evaluations&lt;/code&gt; tab, or from &lt;code&gt;Settings&lt;/code&gt; -&amp;gt; &lt;code&gt;Evaluations&lt;/code&gt;, two subfeatures can be accessed.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;Leaderboard&lt;/code&gt; is a full list of all configured models and captures individual users' scores for particular chats. Each chat bubble provides quick feedback via the “Thumbs Up” and “Thumbs Down” buttons. When users regenerate answers and score them, a data point about cross-model scoring is completed. Over time, this private leaderboard should provide valuable insights based on the users' utilization of Open WebUI for their purposes, and is therefore better fitting than any public leaderboard and its scores.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;Feedback&lt;/code&gt; section shows concrete data points rendered as a list. Individual data points can be selected, which opens a popup with the evaluated text snippet and the rating.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model Capabilities
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Web Search
&lt;/h3&gt;

&lt;p&gt;For most use cases, web search is a mandatory requirement for fetching up-to-date information. This feature can be configured via &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Web Search&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Internally, the search process is handled by two components. A Web Search Engine processes a search query and returns a list of relevant links, and the Web Loader Engine fetches the links and extracts text.&lt;/p&gt;

&lt;p&gt;For the Search Engine, more than 20 different providers can be configured, such as Ollama Cloud, Perplexity, Brave, or Firecrawl. For each of them, a slightly different dialog is shown, containing the authorization information for the service, typically an API key, and other specific options.&lt;/p&gt;

&lt;p&gt;The loader engine can be configured as Playwright, Firecrawl, Tavily, or an external endpoint. Options exist for providing embeddings to the results or processing them as-is.&lt;/p&gt;

&lt;p&gt;Here is an example of configuring the Brave search engine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn8iqdhuac9358tg7j4kt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn8iqdhuac9358tg7j4kt.png" width="800" height="479"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Note that merely configuring web search does not mean the model uses it. It needs to be configured as both a capability and tool access.&lt;/p&gt;

&lt;h3&gt;
  
  
  Code Execution
&lt;/h3&gt;

&lt;p&gt;Before full privileged code generation and execution by LLMs became a standard feature, Open WebUI offered small-scale code execution inside chats, intended for data processing and data visualization with Python code.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Code Execution&lt;/code&gt; screen shows two different sections corresponding to individual features: Code Execution activates the selected interpreter instance, and the Code Interpreter toggle enables this capability for models. The settings dialog for both is very similar:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A feature toggle for activation or deactivation.&lt;/li&gt;
&lt;li&gt;The Python engine to be used, either &lt;a href="https://pyodide.org/en/stable/" rel="noopener noreferrer"&gt;Pyodide&lt;/a&gt;, which executes WebAssembly directly in your browser, or a connection to a locally running Jupyter Notebook environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Content Management
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Documents
&lt;/h3&gt;

&lt;p&gt;When a document is added to Open WebUI, e.g. by uploading it into a conversation or when maintaining a knowledge base, its content is parsed, chunked, and stored. The &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Documents&lt;/code&gt; page provides complex options for this process - here is a screenshot.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fju6agmr7vtpwtjkr5729.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fju6agmr7vtpwtjkr5729.png" width="800" height="484"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Configurable are the following aspects:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Extraction Engine: Choose from third-party OCR providers like &lt;a href="https://www.datalab.to/" rel="noopener noreferrer"&gt;Datalab&lt;/a&gt;, &lt;a href="https://docs.mistral.ai/studio-api/document-processing/basic_ocr" rel="noopener noreferrer"&gt;Mistral OCR&lt;/a&gt;, or &lt;a href="https://github.com/PaddlePaddle/PaddleOCR" rel="noopener noreferrer"&gt;PaddleOCR&lt;/a&gt;, or configure self-hosted instances of &lt;a href="https://tika.apache.org/" rel="noopener noreferrer"&gt;Tika&lt;/a&gt;, &lt;a href="https://github.com/docling-project/docling" rel="noopener noreferrer"&gt;Docling&lt;/a&gt;, and &lt;a href="https://github.com/opendatalab/MinerU" rel="noopener noreferrer"&gt;MinerU&lt;/a&gt;. Instance-specific details, at least a URL and access token, need to be provided too.&lt;/li&gt;
&lt;li&gt;Text Splitting: Text can be split by character or token, and the chunk size and overlap can be configured. A toggle for splitting markdown headers is also configurable.&lt;/li&gt;
&lt;li&gt;Embedding Engine: The chunks are embedded, which means converted to a vector representation for better semantic search and retrieval. Different engines are configurable: the built-in &lt;a href="https://www.sbert.net/" rel="noopener noreferrer"&gt;Sentence Transformers&lt;/a&gt; model, a connection to local &lt;a href="https://docs.ollama.com/index" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt;, or outbound connections to &lt;a href="https://platform.openai.com/docs/api-reference/introduction" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt; or &lt;a href="https://learn.microsoft.com/en-gb/azure/ai-services/openai/" rel="noopener noreferrer"&gt;Azure OpenAI&lt;/a&gt;. The concrete embedding model offered by the connection needs to be defined. But take care: Changing the model invalidates all prior embeddings and starts a batch process to reindex all existing documents.&lt;/li&gt;
&lt;li&gt;Retrieval: During a conversation, relevant content from the documents is queried and added as context to the LLM. The amount and scope of retrieved documents can be controlled with several settings:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Full Context Mode&lt;/code&gt;: Instead of only sending the highest-probability chunks, the complete document is retrieved. Helpful when the documents themselves are small, and might lose relevance when only parts of them are processed.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Hybrid Search&lt;/code&gt;: When enabled, the internally triggered search combines keyword and semantic search in its vector DB of embedded chunks.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Reranking Batch Size&lt;/code&gt;: A technical setting that determines how many chunks are grouped together during a reranking of results.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Top K&lt;/code&gt;: The absolute number of chunks that are returned.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;RAG Template&lt;/code&gt;: The internal system prompt that the model uses to trigger a keyword or semantic search in the vector database.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Images
&lt;/h3&gt;

&lt;p&gt;During a conversation, the intent to generate an image might occur. When configured, Open WebUI sends this request to the configured provider, not the base model of the chat, to generate the images.&lt;/p&gt;

&lt;p&gt;The configuration dialog at &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Image&lt;/code&gt; is separated into two sections for image generation and image editing, as shown in the following picture.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F89dtkfhipuh96l9ipd67.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F89dtkfhipuh96l9ipd67.png" width="800" height="773"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Both sections follow the same set of required inputs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A toggle to activate the feature.&lt;/li&gt;
&lt;li&gt;The image generation engine, which can be &lt;a href="https://openai.com/" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt;, &lt;a href="https://www.comfy.org/" rel="noopener noreferrer"&gt;ComfyUI&lt;/a&gt;, &lt;a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui" rel="noopener noreferrer"&gt;AUTOMATIC1111&lt;/a&gt;, and &lt;a href="https://ai.google.dev/gemini-api" rel="noopener noreferrer"&gt;Gemini&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;The base URL for the selected provider (upstream provider URL or local endpoint).&lt;/li&gt;
&lt;li&gt;An API key for authentication.&lt;/li&gt;
&lt;li&gt;The API version that is queried for the image generation or editing request.&lt;/li&gt;
&lt;li&gt;Additional parameters are passed as the request body to the configured model.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  User Management
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;Users&lt;/code&gt; section is a complete management interface. New users can be registered with their username, e-mail, and role. Accounts can be added via a pop-up menu or via CSV, which is convenient for large user bases.&lt;/p&gt;

&lt;p&gt;For existing users, their chats can be browsed, and a preview of their access rights to models, knowledge, and tools is shown. Their details can be modified, or the account can be deleted.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzxrnmdvr6zp7p8eofsve.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzxrnmdvr6zp7p8eofsve.png" width="799" height="175"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Other user settings are a bit hidden. In &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;General&lt;/code&gt;, the following options are presented:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User signup: Enable or disable new signups, and determine the default role and group for new users.&lt;/li&gt;
&lt;li&gt;Pending users: Following signup, users need to be accepted by another user with admin rights. Admin users see an overlay for pending users, which can be given a custom name and content. Also, the admin e-mail address might be shown to users so that they can contact the admin on their own.&lt;/li&gt;
&lt;li&gt;API keys: When this option is enabled, users can generate custom JWT access keys for opening Open WebUI's internal API to external systems.&lt;/li&gt;
&lt;li&gt;LDAP: Instead of managing usernames and credentials inside the Open WebUI internal database, user accounts can also be gathered from a connected LDAP instance. Enabling this feature via its toggle shows a wealth of settings typically required for an LDAP setup.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6llwddwbfho8o13xnfvu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6llwddwbfho8o13xnfvu.png" width="800" height="807"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Plugin Management
&lt;/h2&gt;

&lt;p&gt;For extending Open WebUI, two mechanisms exist: Pipelines, now deprecated and not further explained here, and functions.&lt;/p&gt;

&lt;p&gt;The function management GUI, accessible via &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Functions&lt;/code&gt;, allows you to create, read, update, and delete configured functions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3rl49tucbd849208rw43.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3rl49tucbd849208rw43.png" width="800" height="573"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A complete coverage of functions is outside the scope of this article, but the following overview gives a summary of their capabilities.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Actions: Implement additional buttons that are shown on the chat bubbles and provide additional functions, e.g. for adding a permission grant before code execution, turning text into an image or downloadable audio file, or creating visualizations.&lt;/li&gt;
&lt;li&gt;Filters: Modify messages before they are sent to the LLM, or intercept messages from an LLM to the user. Use cases are numerous: general content moderation, e.g. disallowing specific topics, masking personal information, detecting and blocking prompt injections, or rate limiting. Filters can be defined globally, then scoped to specific models, and either automatically applied or shown as a toggle button in chats for user-on-demand activation.&lt;/li&gt;
&lt;li&gt;Modify Model Outputs (Outlet Function): Adjust the AI's response after it is processed, before showing it to the user. This can help refine, log, or adapt the data for a cleaner user experience.&lt;/li&gt;
&lt;li&gt;Pipes: When a user chat with a base model or custom model occurs, the back-and-forth of message passing between the chat interface and the LLM provider follows fixed steps. Pipes are an advanced concept that breaks down this fixed structure. They allow the definition of additional LLM providers, or, for that matter, wrap any other service to behave like an OpenAI API, and support custom orchestration between them. With this, intelligent model routing can be built based on the complexity of the conversation. Or imagine a chain of models along which LLM output is passed to validate and enrich an answer before it is passed to the user.&lt;/li&gt;
&lt;li&gt;Events: A new feature published with &lt;code&gt;Open WebUI v0.10.0&lt;/code&gt; allows code to run at any of 170 system events such as user login, model definition, chat creation, knowledge database update, and much more. This effectively opens the door to programming Open WebUI's behavior, enabling automatic routines to be triggered.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  General Features &amp;amp; Settings
&lt;/h2&gt;

&lt;h3&gt;
  
  
  User Features
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;Settings&lt;/code&gt; -&amp;gt; &lt;code&gt;General&lt;/code&gt;, at the bottom section, a host of general features can be configured.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxni8m9v204mn3psc9308.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxni8m9v204mn3psc9308.png" width="800" height="773"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most of them are tied to which features users have access to.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enable Community Sharing: When active, users can export a conversation to the public community page. The granularity and visibility of this export are controlled by four different types: private, public, or public with full history.&lt;/li&gt;
&lt;li&gt;Enable Message Rating: This feature enables users to provide feedback to particular answers in a conversation. These ratings provide the basis for the earlier explained &lt;code&gt;evaluation&lt;/code&gt; feature.&lt;/li&gt;
&lt;li&gt;Folders: Allows users to structure their chats into folders, which helps keep ongoing conversations about different topics organized. A limit on the maximum files per user can be set up too.&lt;/li&gt;
&lt;li&gt;Calendar: Enables the user-specific calendar feature, allowing custom entries and programmable event scheduling to trigger automations.&lt;/li&gt;
&lt;li&gt;Automations: Automations allow users to trigger predefined instructions with a specific model, effectively starting an asynchronous chat. The toggle enables this feature.&lt;/li&gt;
&lt;li&gt;User Webhooks: Webhooks are meant to inform external systems about an event. For users, only one type of event is documented: the completion of a &lt;code&gt;chat_response&lt;/code&gt;. The event payload includes the chat ID, title, and last_message. It only triggers for asynchronous, not interactive, user chats.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Additional beta features can be configured too:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Memories: Enables long-term storage of user-specific facts that are injected into each conversation. It is meant for customizing the chat experience and keeps track of personalization, like the preferred user name or conversation tone, and processes recommendations for complex tasks.&lt;/li&gt;
&lt;li&gt;Notes: This user feature allows custom text notes to be created and used in chats. It needs to be enabled by the admin.&lt;/li&gt;
&lt;li&gt;Channels: This novel feature changes conversation completely. Instead of 1:1 chats between users and an agent, multiple users can join a conversation space, and multiple models can be attached and called. Also see the official documentation about &lt;a href="https://docs.openwebui.com/features/channels/" rel="noopener noreferrer"&gt;Channels&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Interface Settings
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;Settings&lt;/code&gt; -&amp;gt; &lt;code&gt;General&lt;/code&gt;, following interface settings are exposed.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User Status: This toggle enables active reporting of user status, showing which users are logged in and using the Open WebUI instance.&lt;/li&gt;
&lt;li&gt;Response Watermark: In this field, a custom text can be entered, which is appended to each system message, visibly in user chats.&lt;/li&gt;
&lt;li&gt;Banners: From time to time, general information for large user bases needs to be shown, for example announcing updates or LLM model deprecations. This feature lets the admin user configure such a banner, which other users can see once they log into the system.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  System Settings
&lt;/h3&gt;

&lt;p&gt;The admin user can configure externally visible URLs via &lt;code&gt;Settings&lt;/code&gt; -&amp;gt; &lt;code&gt;General&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;WebUI URL: When the Open WebUI instance generates events, it includes its public URL string from this field.&lt;/li&gt;
&lt;li&gt;Webhook URL: Defines the external WebHook API endpoint to which all system events are sent.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conversation Features
&lt;/h3&gt;

&lt;p&gt;Open WebUI generates background tasks for generating the conversation title, follow-up questions, tags, RAG, and web search queries.&lt;/p&gt;

&lt;p&gt;In &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Interface&lt;/code&gt;, these tasks can be enabled or disabled, the used model determined (defaulting to the selected model, but can be a fixed light model for cost savings), and open prompt overrides configured.&lt;/p&gt;

&lt;p&gt;Also, prompts for autocompletion and tool function calling can be defined, which can be helpful when tool calls are not generated or properly executed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5wv4zh0lemuwolt5kulf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5wv4zh0lemuwolt5kulf.png" width="800" height="687"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Speech Settings
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Audio&lt;/code&gt;, several aspects of &lt;code&gt;Speech-to-Text&lt;/code&gt; and &lt;code&gt;Text-to-Speech&lt;/code&gt; become configurable.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Supported MIME Types: Determines which media MIME types are supported, which means which audio files can be dropped into a chat bubble. The default configuration allows all &lt;code&gt;audio/*&lt;/code&gt; and the &lt;code&gt;video/webm&lt;/code&gt; format.&lt;/li&gt;
&lt;li&gt;Speech-to-Text Engine: Determines the backend service to generate text, which is either: a) Web API, the browser internal engine, b) a local Whisper model, or c) an external provider from &lt;a href="https://developers.openai.com/api/docs/guides/speech-to-text" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt;, &lt;a href="https://deepgram.com/product/speech-to-text" rel="noopener noreferrer"&gt;Deepgram&lt;/a&gt;, &lt;a href="https://learn.microsoft.com/azure/ai-services/speech-service/" rel="noopener noreferrer"&gt;Azure AI Speech&lt;/a&gt;, or &lt;a href="https://docs.mistral.ai/studio-api/audio/speech_to_text" rel="noopener noreferrer"&gt;Mistral AI&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Text-to-Speech Engine: The backend service for generating speech, with these options: a) Web API, which is browser internal, b) Transformers (local), which connects to local models published at &lt;a href="https://github.com/microsoft/SpeechT5" rel="noopener noreferrer"&gt;SpeechT5&lt;/a&gt;, or c) one of the external providers &lt;a href="https://developers.openai.com/api/docs/guides/text-to-speech" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt;, &lt;a href="https://elevenlabs.io/docs/overview/capabilities/text-to-speech" rel="noopener noreferrer"&gt;ElevenLabs&lt;/a&gt;, and &lt;a href="https://learn.microsoft.com/en-us/azure/ai-services/speech-service/index-text-to-speech" rel="noopener noreferrer"&gt;Azure AI Speech&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Response Splitting: Configure how natural language pauses are recognized in the source material.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxxaamhareil68156qexr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxxaamhareil68156qexr.png" width="799" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Operations
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Database Backup
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;Settings&lt;/code&gt; =&amp;gt; &lt;code&gt;Database&lt;/code&gt; dialog is intended for storing or importing the configuration database or settings. Specifically, it offers the following functions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Configuration: All configuration options are represented in JSON format. The existing configuration can be exported, e.g. to make a permanent backup, and imported. Here is a small excerpt from such a file.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"ui"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"enable_signup"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"openai"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"enable"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"api_base_urls"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="s2"&gt;"https://api.openai.com/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="s2"&gt;"https://api.openai.com/v1"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;...&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"models"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"base_models_cache"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"rag"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"embedding_engine"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"embedding_model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"sentence-transformers/all-MiniLM-L6-v2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"embedding_batch_size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"enable_async_embedding"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"embedding_concurrent_requests"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;...&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"google_drive"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"enable"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"onedrive"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"enable"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"terminal_server"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"connections"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"6351ac6b-cb9e-48d3-bf87-d64da77f93ff"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"enabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http://open-webui-terminal:8000"&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;...&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"tool_server"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"connections"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[]&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Database: Exports the internal database that contains the following items:

&lt;ul&gt;
&lt;li&gt;User accounts and authentication data.&lt;/li&gt;
&lt;li&gt;Chat history and conversation metadata.&lt;/li&gt;
&lt;li&gt;App settings and configuration (similar to the JSON export).&lt;/li&gt;
&lt;li&gt;Model/config entries.&lt;/li&gt;
&lt;li&gt;File-related records and other system state.&lt;/li&gt;
&lt;li&gt;RAG-related non-vector metadata.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Chats: Exports a JSON document with all chats. Here is a small excerpt.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"88dfd8b0-6758-45d9-bf00-bdc540b2253e"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"user_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"b5b63a0d-ab5c-463e-ac3f-5ceacb6f3f94"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Daily News Check"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"chat"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Daily News Check"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"models"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="s2"&gt;"gpt-4o"&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"history"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"currentId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"4f914f3d-b089-4563-b139-d2562b1d3ad8"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"messages"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
          &lt;/span&gt;&lt;span class="nl"&gt;"b8051ec5-fa8b-4945-8401-7c5619066d78"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"b8051ec5-fa8b-4945-8401-7c5619066d78"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="nl"&gt;"parentId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="nl"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="nl"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Check the Daily News, write a summary."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="nl"&gt;"childrenIds"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
              &lt;/span&gt;&lt;span class="s2"&gt;"4f914f3d-b089-4563-b139-d2562b1d3ad8"&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="nl"&gt;"timestamp"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1784888705&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="nl"&gt;"models"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
              &lt;/span&gt;&lt;span class="s2"&gt;"gpt-4o"&lt;/span&gt;&lt;span class="w"&gt;
            &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
          &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Version Information
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;Settings&lt;/code&gt; -&amp;gt; &lt;code&gt;General&lt;/code&gt;, at the top of various other options, the current version, banners for accessing the project's Discord server, social media presence, and GitHub repo are shown.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Open WebUI is a highly customizable, multi-provider chat interface. This article explored all settings that the admin user can configure, typically global defaults that other users consume or further customize. You learned about these features: a) model management, b) model capabilities, c) content management, d) user management, e) plugin management, f) General Features &amp;amp; Settings, and g) Operations.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>openwebui</category>
    </item>
    <item>
      <title>Open WebUI: Complete Guide to User Settings</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Mon, 21 Sep 2026 15:52:44 +0000</pubDate>
      <link>https://dev.to/admantium/open-webui-complete-guide-to-user-settings-1ci4</link>
      <guid>https://dev.to/admantium/open-webui-complete-guide-to-user-settings-1ci4</guid>
      <description>&lt;p&gt;Open WebUI is one of the first chat interfaces that evolved around LLMs. Initially designed to work with local Ollama models only, it has since evolved to support any OpenAI API-compatible endpoint. With the addition of skills, tools, memory, and the recent ability to execute code with the terminal connection, all features for defining agents are present.&lt;/p&gt;

&lt;p&gt;In this blog series, all Open WebUI aspects, from setup to configuration and utilization, are covered. This article explores all user features and settings. Learn about custom model definition, automations, the model playground, and various GUI and model-calling settings.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;Open WebUI v0.9.6&lt;/code&gt;, published on 2026-06-01. The setup and configuration examples should also work with newer versions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains my personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm39_open_webui_user_configuration/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  User Settings Entrypoint
&lt;/h2&gt;

&lt;p&gt;The main window of Open WebUI presents a chat interface, a list of past chats, and search capabilities. When clicking on the user icon, a popup is shown, which renders several user features, depicted by &lt;code&gt;1&lt;/code&gt;, and an option to open user settings, depicted by &lt;code&gt;2&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fau3flns7vx8o9bped182.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fau3flns7vx8o9bped182.png" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each setting group is explored in the next sections.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: In an early draft of this article, all features or settings were listed in the order that they appear in the menu. However, grouping them helps to better understand their context.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  User Features
&lt;/h2&gt;

&lt;p&gt;Customizable user features determine the extent of functions available in chats. They can be grouped into four sections.&lt;/p&gt;

&lt;h3&gt;
  
  
  Information and Reflection
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Archived Chats
&lt;/h4&gt;

&lt;p&gt;Chats in the "Folder" sections or under the "Chats" section can be archived. This option shows all archived chats, from which they can be restored, exported, or permanently deleted.&lt;/p&gt;

&lt;h4&gt;
  
  
  Documentation
&lt;/h4&gt;

&lt;p&gt;This menu entry is a direct link to the documentation page &lt;a href="https://docs.openwebui.com/" rel="noopener noreferrer"&gt;docs.openwebui.com&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  Releases
&lt;/h4&gt;

&lt;p&gt;Similarly, this opens the GitHub releases page with details of all &lt;a href="https://github.com/open-webui/openwebui/releases" rel="noopener noreferrer"&gt;Open WebUI releases&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  Keyboard Shortcuts
&lt;/h4&gt;

&lt;p&gt;Displays a graphical overview of all defined keyboard shortcuts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo8hn952owrzinkq3jh5h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo8hn952owrzinkq3jh5h.png" width="780" height="811"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Personal Documents
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Notes
&lt;/h4&gt;

&lt;p&gt;Opens a list of all stored notes and allows editing or creating notes with a text editor. This feature was extensively covered in my previous article about &lt;a href="https://admantium.com/blog/llm38_open_webui_chat_features/" rel="noopener noreferrer"&gt;Open WebUI features&lt;/a&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  Calendar
&lt;/h4&gt;

&lt;p&gt;Renders a browsable calendar in which events can be scheduled. Calendars can be shared between users, and model access can be enabled. Based on current findings, the calendar data remains disconnected from other calendar platforms, requiring duplication of content.&lt;/p&gt;

&lt;p&gt;Here is an overview of a calendar with scheduled automations.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feg64pvtzg5vr01vqyf5q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feg64pvtzg5vr01vqyf5q.png" width="800" height="692"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Customization
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Workspace
&lt;/h4&gt;

&lt;p&gt;This rather misnomered menu exposes all options to define custom models that can be used for chats or even agentic use. It shows vertical menus that allow the customization of these aspects:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Models: Provides a full list of all defined models by the configured model provider, and allows you to customize them or define your own models that use a base model. Each model can have custom system prompts, tools, skills, and capabilities.&lt;/li&gt;
&lt;li&gt;Knowledge: This section manages individual collections of documents termed knowledge bases. Each should have a definite name, description, and then a set of text, PDF, or CSV documents. Uploads are parsed automatically and vectorized so that they can be used as context for a model.&lt;/li&gt;
&lt;li&gt;Prompts: Manage reusable prompts that serve as a strong context for an LLM. The menu allows users to add, edit, and even browse prompts for the community, which can be imported too. In Open WebUI, prompts are invoked by a preceding &lt;code&gt;/&lt;/code&gt;.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fginw3pijbikl9o0xuelm.png" width="799" height="529"&gt;
&lt;/li&gt;
&lt;li&gt;Skills: Precise instructions, typically in the form of how to break down a complex goal into individual tasks. The GUI for this element allows the same CRUD operations as the others. To invoke them, the &lt;code&gt;$&lt;/code&gt; prefix needs to be used.&lt;/li&gt;
&lt;li&gt;Tools: Python snippets with a predefined structure that can be invoked by the Open WebUI server directly. Since they run with the current user permissions, tools should be checked rigorously to ensure that they work as intended. Tools extend the capabilities of an LLM, and when used, Open WebUI injects tool definitions so that a sufficiently modern LLM can issue tool calls automatically, which Open WebUI executes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Model Utilization
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Automations
&lt;/h4&gt;

&lt;p&gt;Automations are chat messages triggered at a specified time or interval. An automation includes instructions, a model (and therefore custom prompts, skills, and tools), and optionally a terminal server where code can be executed. Automation runs result in the same chat structure as user chats.&lt;/p&gt;

&lt;h4&gt;
  
  
  Playground
&lt;/h4&gt;

&lt;p&gt;An admin-only feature that allows experimentation with how different system prompts affect models. When using an Ollama backend, model parameter calls can also be adjusted. Advanced features such as tool calls or providing chat context from external sources are not supported.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fp765zs9nvgo0l4kxuztf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fp765zs9nvgo0l4kxuztf.png" width="800" height="648"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  User Settings
&lt;/h2&gt;

&lt;p&gt;User settings are displayed as a popup overlay. A list of settings and a search bar appear on the left, while the configuration panel for the selected option appears on the right.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fadmantium.com%2Fimages%2Fblog%2Fllm39_user_settings.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fadmantium.com%2Fimages%2Fblog%2Fllm39_user_settings.png" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Options are extensive and are explained in their individual sections.&lt;/p&gt;

&lt;h3&gt;
  
  
  Account Settings
&lt;/h3&gt;

&lt;p&gt;In the &lt;code&gt;Account&lt;/code&gt; group, customization like name, user icon, background information, birth date, and the ability to change the login password are provided.&lt;/p&gt;

&lt;h3&gt;
  
  
  GUI &amp;amp; Interface Settings
&lt;/h3&gt;

&lt;p&gt;Several different sections contribute to this group.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;General&lt;/code&gt; section allows a mixed set of configuration options. Related to the GUI are the theme, the language, and whether to show notifications or not.&lt;/p&gt;

&lt;p&gt;In the &lt;code&gt;Interface&lt;/code&gt; section, a large number of options are rendered.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;UI &amp;amp; Notifications: Scale, notification sounds, and haptic feedback options when Open WebUI is accessed on mobile phones.&lt;/li&gt;
&lt;li&gt;Chat: Chat bubble design, custom background, fading effect for streaming tokens, markdown formatting, quick action buttons.&lt;/li&gt;
&lt;li&gt;Chat automation: Title generation, follow-up generation, tag generation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is an example of a custom chat interface with a changed background image:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdcgcfkjmjhrpk98b6bv4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdcgcfkjmjhrpk98b6bv4.png" width="799" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;Audio&lt;/code&gt; menu item handles how speech-to-text and text-to-speech are handled. For speech-to-text, the default engine is a local Whisper model, and for text-to-speech, the community project &lt;a href="https://www.npmjs.com/package/kokoro-js?activeTab=versions" rel="noopener noreferrer"&gt;kokoro.js&lt;/a&gt; can be used. For readout, different voice sets can be selected.&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Settings
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;General&lt;/code&gt; section also exposes two settings that apply to all model invocations. First, a system prompt override can be configured, prepending any conversation. Second, several parameters for calling models can be defined, such as &lt;code&gt;temperature&lt;/code&gt; (randomness factor), &lt;code&gt;top_k&lt;/code&gt;, &lt;code&gt;top_p&lt;/code&gt;, &lt;code&gt;min_p&lt;/code&gt; (to influence token likelihood), and others. They are forwarded completely in API calls to a locally connected Ollama instance, and some of them are also used for configured OpenAI API connections, given that the provider accepts them.&lt;/p&gt;

&lt;p&gt;Here is a screenshot of the available settings.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvxetyjp4qeinz7jfnltd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvxetyjp4qeinz7jfnltd.png" width="800" height="631"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Additionally, the &lt;code&gt;Personalization&lt;/code&gt; setting features only one entry: Memory. Flagged as an experimental feature, these are user-specific facts that serve as permanent context for all invocations. It supplements conversation history and other context sources. By default, they need to be added manually. When advanced models capable of function calling are used, they may gain access to the memory tool.&lt;/p&gt;

&lt;h3&gt;
  
  
  Tools
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;Integrations&lt;/code&gt; section allows user chats to access external systems. Two specific categories exist.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Manage Tool Server: Connect to OpenAPI-compatible tool servers, which integrate external system access and content. Implementations need to follow specific framework definitions implemented in Python. See, for example, the &lt;a href="https://github.com/open-webui/openapi-servers/tree/main/servers/sql" rel="noopener noreferrer"&gt;SQL server&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Open Terminal: Connect to a Docker container that serves as a sandbox for file access and code execution. It is a specific custom Docker image prepared by Open WebUI, with a curated set of tools. See the official GitHub repository &lt;a href="https://github.com/open-webui/open-terminal" rel="noopener noreferrer"&gt;open-terminal&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Information &amp;amp; Reflection
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;Data Controls&lt;/code&gt;, broad import and export functions for chats are exposed. Also, archived and starred chats can be managed, which renders a list of items that can be restored or permanently deleted. Likewise, all uploaded images or files can be seen and optionally deleted.&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/blog/llm39_file_manager.png" class="article-body-image-wrapper"&gt;&lt;img src="/images/blog/llm39_file_manager.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;About&lt;/code&gt; section shows information and badges to access the Discord, X, and GitHub accounts of Open WebUI.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F376gsfywo7fnrxcr7ufj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F376gsfywo7fnrxcr7ufj.png" width="703" height="301"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Open WebUI evolved from local Ollama to a multi-provider OpenAI API connection with full customization of the chat experience, including custom models, tools, skills, and local documents. This article explored the many user features and settings. You learned about four different user feature groups: a) Information and Reflection to access archived chats, documentation, releases, and keyboard shortcuts, b) Personal Documents to browse notes and a built-in calendar, c) Model Customization with base models, knowledge bases, prompts, tools, and skills, and d) Model Utilization, in which a playground for non-stored interactions and automations are provided. The user settings can be grouped into a) Account, b) GUI and Interface, c) Model, including parameters like a model's temperature or token likelihood values, d) Integrations that connect to tool servers or a terminal, a custom Docker container in which arbitrary code can be executed, and e) Information, with access to archived chats, files, and images, and general release information.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>openwebui</category>
    </item>
    <item>
      <title>Open WebUI: Chat Interface &amp; Context Options</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Thu, 10 Sep 2026 05:40:46 +0000</pubDate>
      <link>https://dev.to/admantium/open-webui-chat-interface-context-options-1a9k</link>
      <guid>https://dev.to/admantium/open-webui-chat-interface-context-options-1a9k</guid>
      <description>&lt;p&gt;Open WebUI is one of the first tools that appeared in conjunction with Large Language Models. Initially intended as a tool for chatting with a connected local Ollama instance, it evolved to work with any OpenAI API provider and succinctly extended its features to support agentic chats.&lt;/p&gt;

&lt;p&gt;Following the setup of Open WebUI in my previous post, this article explores its core features. Learn about conversation essentials, see how notes and knowledge bases are created, and understand the different options to provide chat context.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;openwebui v0.9.6&lt;/code&gt;, published on 2026-06-01. The setup and configuration examples should also work with newer versions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains my personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbatim copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm38_open_webui_chat_features/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open WebUI Startpage
&lt;/h2&gt;

&lt;p&gt;Open WebUI's start page shows organizational features in the menu list on the left side, and a chat interface to start a new conversation on the right side.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flokl2ce47inoq9qn1z0s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flokl2ce47inoq9qn1z0s.png" width="800" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this view, the following options can be accessed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;New Chat: Reloads the current window with a new chat on the right panel side&lt;/li&gt;
&lt;li&gt;Search: Searches for keywords in past conversations and also allows starting a new conversation or creating a new node&lt;/li&gt;
&lt;li&gt;Notes: Create markdown-structured files that serve as structural content for your conversations&lt;/li&gt;
&lt;li&gt;Workspace: Create customized models with a base model, prompts, tools, and knowledge bases&lt;/li&gt;
&lt;li&gt;Folders: Structure individual chats into topics by either clicking on a folder and starting a new chat or by dragging and dropping an existing chat into the folder&lt;/li&gt;
&lt;li&gt;Chats: A list of past interactions&lt;/li&gt;
&lt;li&gt;User Icon: Access additional settings specific to the user&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Features related to the chat interface are explored in the next sections.&lt;/p&gt;

&lt;h2&gt;
  
  
  Basic Chat Features
&lt;/h2&gt;

&lt;p&gt;Chatting is the core user interaction feature of Open WebUI. As it has become a de facto standard, chat bubbles from the user and model are displayed top-down, right- and left-aligned respectively. For the latest model answer, all interaction icons are shown, as well as a list of follow-up prompts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffpjoad4nw26ft78np0gr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffpjoad4nw26ft78np0gr.png" width="800" height="557"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When hovering over a user chat bubble, the following functions are shown:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Edit: Changes the content of the message but does not trigger a new answer generation from the model&lt;/li&gt;
&lt;li&gt;Copy: Puts the message content into the computer's clipboard&lt;/li&gt;
&lt;li&gt;Delete: Deletes this message and the immediately following LLM answer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The model answer bubble offer these features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Edit: Opens an inline editor to modify the LLM answer and, when saved, persists this answer to the internal chat log&lt;/li&gt;
&lt;li&gt;Copy: Copies the complete message, including its formatting, to the computer's memory&lt;/li&gt;
&lt;li&gt;Read aloud: Starts the browser's text-to-speech integration to read the answer&lt;/li&gt;
&lt;li&gt;Good Response &amp;amp; Bad Response: Rate a particular LLM answer, see below for an explanation&lt;/li&gt;
&lt;li&gt;Continue Response: Sends the user message and the assistant message again, which can extend the original answer&lt;/li&gt;
&lt;li&gt;Regenerate: Recreates the selected answer by passing all previous conversation context to the LLM again once completed, the new answer is shown to the user and saved in the conversation history&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An interesting feature is the option to rate the answer, called "Good Response" and "Bad Response". When clicked, a dialog is opened at the top of the screen where a numerical rating and a short tag can be provided. This data is stored in your Open WebUI instance, and admin users can access analytics and evaluation dashboards that factor in these answers. Ratings are useful for a large user base and model availability, helping to determine which models are perceived as most helpful for their intended tasks. Here is a screenshot for rating an unhelpful answer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzdkmzvlbvh3mwce7n25j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzdkmzvlbvh3mwce7n25j.png" width="799" height="458"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Additionally to storing locally, you can also add a public review of this model which is published on the &lt;a href="https://openwebui.com/models" rel="noopener noreferrer"&gt;Open WebUI model rating page&lt;/a&gt;, where you can provide a review for this specific model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Notes
&lt;/h2&gt;

&lt;p&gt;Notes are named files stored internally in your Open WebUI instance.&lt;/p&gt;

&lt;p&gt;The notes menu shows a list of browsable and searchable notes, and you can add a new note or open an existing one.&lt;/p&gt;

&lt;p&gt;The note editor provides standard text formatting including headings, lists, tasks, bold and italic fonts, and code blocks. Note content can be recorded from an audio message, and a model can be invoked to edit the content directly. The complete note can also be exported to other formats and even a link can be generated. Here is a screenshot.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu9lazcmleck1tfag7uoh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu9lazcmleck1tfag7uoh.png" width="800" height="660"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notes can be used in chats in three different ways: a) directly in the note editor, you can start a chat with the note, b) in a chat by adding the note, c) when an advanced feature called terminal - a separate runtime in which code can be executed - is available, tool calls like &lt;code&gt;search_notes&lt;/code&gt; or &lt;code&gt;write_note&lt;/code&gt; can access notes dynamically.&lt;/p&gt;

&lt;h2&gt;
  
  
  Workspace Knowledge
&lt;/h2&gt;

&lt;p&gt;Workspaces are a powerful feature that governs support for agentic usage. In the context of this article, only knowledge bases as context to chats are explored.&lt;/p&gt;

&lt;p&gt;Follow these steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the main GUI click on &lt;code&gt;Workspace&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;In the horizontal menu area click on Knowledge and then on the button &lt;code&gt;+ New Knowledge&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Fill in the following form then click on &lt;code&gt;Create Knowledge&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This results in a new screen showing a list of sources. With the &lt;code&gt;+&lt;/code&gt; symbol, the knowledge base can be edited.&lt;/p&gt;

&lt;p&gt;New original resources can be added with these options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Upload files: Upload files from your computer supporting text documents PDF DOC and CSV files but not images&lt;/li&gt;
&lt;li&gt;Upload directory: Select a local directory which triggers individual file uploads for all of its contained and supported files&lt;/li&gt;
&lt;li&gt;Add webpage: Process the provided HTTP resource extract its text content and store it note be sure to add an address for which no HTTP redirect occurs or otherwise the redirect information will be stored instead&lt;/li&gt;
&lt;li&gt;Add text content: This option opens an editor field into which you can paste any text information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The structure and content of the knowledge base can be altered as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;New directory: Create a logical node to help structure documents&lt;/li&gt;
&lt;li&gt;Sync directory: Rescans an uploaded directory which removes any files from the knowledge base that are no longer present and adds all new or modified sources&lt;/li&gt;
&lt;li&gt;Reset: Completely deletes all stored content from the knowledge base&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When documents are added to the knowledge base, the same process is triggered: text is extracted from the sources, split into content chunks, processed by an embedding model, and stored in an internal database.&lt;/p&gt;

&lt;p&gt;Here is a screenshot of a knowledge base that includes my blog articles about Claude Code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs662u6p4vst0umkf6y3i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs662u6p4vst0umkf6y3i.png" width="799" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Providing Chat Context
&lt;/h2&gt;

&lt;p&gt;Open WebUI offers several options to provide context to your chat interactions.&lt;/p&gt;

&lt;p&gt;Here is a screenshot where a note is already attached and additional sources can be added.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd80t5gqjk6ekxjiy8vfn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd80t5gqjk6ekxjiy8vfn.png" width="800" height="492"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Original Documents
&lt;/h3&gt;

&lt;p&gt;New information is injected into the conversation as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Upload files: Supported documents are parsed and their full content attached to the next message&lt;/li&gt;
&lt;li&gt;Capture: Opens the browser's function to make a screenshot of specific windows or the entire screen&lt;/li&gt;
&lt;li&gt;Attach Webpage: Provide an HTTP link as a document source from which plain text information will be obtained and added to the message sent to the LLM endpoint&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two aspects should be noted:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Automatic embedding: Open WebUI automatically detects the data format determines token splitting and embedding for text processes and stores these files This results in typical log messages as shown
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:16:49.769+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"192.168.65.1:45505 - &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;POST /api/v1/files/?process=true HTTP/1.1&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt; 200"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"uvicorn.protocols.http.httptools_impl:send:483"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:16:51.487+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"192.168.65.1:45505 - &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;GET /api/v1/files/db47a1a8-3f19-4a5c-afcd-1cdb056306c1/process/status?stream=true HTTP/1.1&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt; 200"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"uvicorn.protocols.http.httptools_impl:send:483"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:16:51.518+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Using markdown header text splitter"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"open_webui.routers.retrieval:save_docs_to_vector_db:1412"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:16:51.521+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"generating embeddings for file-db47a1a8-3f19-4a5c-afcd-1cdb056306c1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"open_webui.routers.retrieval:save_docs_to_vector_db:1490"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;Batches:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="err"&gt;%|██████████|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;00&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;02&lt;/span&gt;&lt;span class="err"&gt;&amp;lt;&lt;/span&gt;&lt;span class="mi"&gt;00&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;00&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="mf"&gt;7.88&lt;/span&gt;&lt;span class="err"&gt;it/s&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:16:53.569+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"embeddings generated 16 for 16 items"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"open_webui.routers.retrieval:save_docs_to_vector_db:1536"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:16:53.570+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"adding to collection file-db47a1a8-3f19-4a5c-afcd-1cdb056306c1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"open_webui.routers.retrieval:save_docs_to_vector_db:1548"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:16:53.840+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"added 16 items to collection file-db47a1a8-3f19-4a5c-afcd-1cdb056306c1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"open_webui.routers.retrieval:save_docs_to_vector_db:1554"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:16:53.840+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"added 1 items to collection file-db47a1a8-3f19-4a5c-afcd-1cdb056306c1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"open_webui.routers.retrieval:process_file:1730"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Session specificity: Documents are used for one turn in the chat conversation only meaning one message to and from the LLM Later user messages cannot implicitly reference an already added document from earlier messages However Open WebUI itself can query uploaded documents and extract relevant content Here is an example log message where I uploaded a blog article and asked about its content
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="err"&gt;open-webui&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-06-21T08:34:27.873+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"info"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"query_doc:result [['1c2776cd-b009-4d43-b20e-7f400b31269d', '08ea65ce-4c62-42f0-a897-6d2cbc0e2bd1', 'ae5f230c-ad8b-41a2-8d43-eaeedd75db99']] [[{'source': 'claude01_introduction.md', 'start_index': 2434, 'hash': '3e1955b782967e3d3ba5eed557e3c6a1de1b7c930b8267bd8ad76c122d5834c6', 'file_id': 'db47a1a8-3f19-4a5c-afcd-1cdb056306c1', 'embedding_config': &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;{'engine': '', 'model': 'sentence-transformers/all-MiniLM-L6-v2'}&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;, 'created_by': 'b5b63a0d-ab5c-463e-ac3f-5ceacb6f3f94', 'name': 'claude01_introduction.md'}, {'embedding_config': &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;{'engine': '', 'model': 'sentence-transformers/all-MiniLM-L6-v2'}&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;, 'created_by': 'b5b63a0d-ab5c-463e-ac3f-5ceacb6f3f94', 'source': 'claude01_introduction.md', 'start_index': 1753, 'name': 'claude01_introduction.md', 'file_id': 'db47a1a8-3f19-4a5c-afcd-1cdb056306c1', 'hash': '3e1955b782967e3d3ba5eed557e3c6a1de1b7c930b8267bd8ad76c122d5834c6'}, {'hash': '3e1955b782967e3d3ba5eed557e3c6a1de1b7c930b8267bd8ad76c122d5834c6', 'file_id': 'db47a1a8-3f19-4a5c-afcd-1cdb056306c1', 'embedding_config': &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;{'engine': '', 'model': 'sentence-transformers/all-MiniLM-L6-v2'}&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;, 'start_index': 721, 'created_by': 'b5b63a0d-ab5c-463e-ac3f-5ceacb6f3f94', 'source': 'claude01_introduction.md', 'name': 'claude01_introduction.md'}]]"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"caller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"open_webui.retrieval.utils:query_doc:285"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Stored Documents and Knowledge Base
&lt;/h3&gt;

&lt;p&gt;When adding existing information, several types of documents can be used:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Attach Files: When a user uploads any file, it will be stored in a user specific file instance and therefore can be attached again in any following chat
&lt;a href="https://admantium.com/images/blog/llm38_reference_uploaded_files.png" rel="noopener noreferrer"&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Attach Notes: Choose from any created note that is added as message context&lt;/li&gt;
&lt;li&gt;Attach Knowledge: Attach the complete knowledge database from a workspace&lt;/li&gt;
&lt;li&gt;Reference Chats: Add a complete conversation as context It includes all user messages system messages and any other added context&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Open WebUI is one of the first tools that offered a chat interface to LLMs. This article explored its core features. You learned about, a) the start page, b) the main chat features for user and system messages, including editing, reading, regenerating and rating answers, c) how to create individual note files or d) complete document collections called knowledge bases, which can include different document types or web pages, and e) providing chat context with original documents and already uploaded document notes or knowledge bases.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>openwebui</category>
    </item>
    <item>
      <title>LLM Agent Tools: Setup &amp; Installation of OpenWeb UI</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Mon, 31 Aug 2026 04:26:22 +0000</pubDate>
      <link>https://dev.to/admantium/llm-agent-tools-setup-installation-of-openweb-ui-am2</link>
      <guid>https://dev.to/admantium/llm-agent-tools-setup-installation-of-openweb-ui-am2</guid>
      <description>&lt;p&gt;LLMs are a fascinating technology. Trained on a sufficient subset of the public internet and other curated sources, they are knowledge experts in many fields. Chat interfaces for LLMs have become a daily helper for many knowledge workers. Step by step, agent capabilities are driving the evolution of these interfaces.&lt;/p&gt;

&lt;p&gt;In an ongoing series about agentic tools, capabilities, and technical components, the next articles focus on Open WebUI. This article is concerned with the initial setup - you will learn how to install and run a Docker container, and see how to connect with an LLM provider to start chatting.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;openwebui v0.9.6&lt;/code&gt;, published on 2026-06-01. The setup and configuration examples should also work with newer versions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I am fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains my personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbose copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm37_open_webui_setup/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;p&gt;Any software needs the required libraries in specific versions. To avoid cluttering one’s own system, container-based software can be used instead. Each container provides a separate environment, and it exposes its services via defined ports. Docker is the primary tool for starting containers, and it is the tool of choice for setting up agentic tools in the context of this article.&lt;/p&gt;

&lt;p&gt;For Open WebUI, complete Docker containers for all releases are published automatically. Check the available tags, then download the required container. For &lt;code&gt;v0.9.6&lt;/code&gt;, execute the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker pull ghcr.io/open-webui/open-webui:v0.9.6
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the image is downloaded, it can be started with a simple follow-up command. If you want to try Open WebUI with the default config, simply run the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; 3000:8080 &lt;span class="nt"&gt;-v&lt;/span&gt; open-webui:/app/backend/data &lt;span class="nt"&gt;--name&lt;/span&gt; open-webui ghcr.io/open-webui/open-webui:v0.9.6
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then access the application at &lt;code&gt;http://localhost:3000&lt;/code&gt; and start configuring the admin account. While you can use the container as-is, its state will not be persisted. When the Docker daemon of your host system is restarted, all data in the container is lost. The recommended approach is to define a &lt;code&gt;docker-compose.yml&lt;/code&gt; file, which tracks the applied configuration options and also persists the created data as a volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  Docker Compose Configuration
&lt;/h2&gt;

&lt;p&gt;Open WebUI exposes several configuration options. To keep the state persistent, it should be started with a config file to define aspects like its users and LLM configuration. It should also have a volume in which all permanent data is stored so it survives container restarts.&lt;/p&gt;

&lt;p&gt;Create the following file structure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;.&lt;/span&gt;
├── docker-compose.yml
└── .open-webui.env
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the following template for the &lt;code&gt;docker-compose.yml&lt;/code&gt; file as a kickstart.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openwebui&lt;/span&gt;

&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;open-webui&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ghcr.io/open-webui/open-webui:v0.9.6&lt;/span&gt;
    &lt;span class="na"&gt;container_name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;open-webui&lt;/span&gt;
    &lt;span class="na"&gt;env_file&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./open-webui.env&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;3000:8080"&lt;/span&gt;
    &lt;span class="na"&gt;restart&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;unless-stopped&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;open-webui-data:/app/backend/data&lt;/span&gt;
    &lt;span class="na"&gt;networks&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;openwebui&lt;/span&gt;

&lt;span class="na"&gt;networks&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;openwebui&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openwebui&lt;/span&gt;
    &lt;span class="na"&gt;external&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;

&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;open-webui-data&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;open-webui-data&lt;/span&gt;
    &lt;span class="na"&gt;driver&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;local&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next, add the following &lt;code&gt;.open-webui.env&lt;/code&gt; file with a minimal configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="py"&gt;OPENWEBUI_PORT&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;3000&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Only once, you need to run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker network create openwebui
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then start the container with the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up open-webui
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It should print these log messages, indicating a successful initial setup.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up open-webui

open-webui-manual  | No WEBUI_SECRET_KEY environment variable &lt;span class="nb"&gt;set&lt;/span&gt;, loading from file.
open-webui-manual  | Generating new WEBUI_SECRET_KEY...
open-webui-manual  | Loading WEBUI_SECRET_KEY from .webui_secret_key
...
open-webui-manual  | INFO  &lt;span class="o"&gt;[&lt;/span&gt;alembic.runtime.migration] Context impl SQLiteImpl.
open-webui-manual  | INFO  &lt;span class="o"&gt;[&lt;/span&gt;alembic.runtime.migration] Will assume non-transactional DDL.
open-webui-manual  | INFO  &lt;span class="o"&gt;[&lt;/span&gt;alembic.runtime.migration] Running upgrade  -&amp;gt; 7e5b5dc7342b
...
open-webui-manual  |
open-webui-manual  |  ██████╗ ██████╗ ███████╗███╗   ██╗    ██╗    ██╗███████╗██████╗ ██╗   ██╗██╗
open-webui-manual  | ██╔═══██╗██╔══██╗██╔════╝████╗  ██║    ██║    ██║██╔════╝██╔══██╗██║   ██║██║
open-webui-manual  | ██║   ██║██████╔╝█████╗  ██╔██╗ ██║    ██║ █╗ ██║█████╗  ██████╔╝██║   ██║██║
open-webui-manual  | ██║   ██║██╔═══╝ ██╔══╝  ██║╚██╗██║    ██║███╗██║██╔══╝  ██╔══██╗██║   ██║██║
open-webui-manual  | ╚██████╔╝██║     ███████╗██║ ╚████║    ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
open-webui-manual  |  ╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═══╝     ╚══╝╚══╝ ╚══════╝╚═════╝  ╚═════╝ ╚═╝
open-webui-manual  |
open-webui-manual  |
open-webui-manual  | v0.9.6 - building the best AI user interface.
open-webui-manual  |
open-webui-manual  | https://github.com/open-webui/open-webui
open-webui-manual  |
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two options exist for the initial onboarding; see the next two paragraphs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Manual Onboarding
&lt;/h2&gt;

&lt;p&gt;The first step is to create an admin account. Access the application at &lt;code&gt;http://localhost:3000&lt;/code&gt; and fill out the shown fields.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F670q5dymoqrac0i4f8mm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F670q5dymoqrac0i4f8mm.png" width="759" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once completed, you will see the initial welcome message and a popup showing current version information. While manual onboarding is an option, the better approach is to extend the &lt;code&gt;.open-webui.env&lt;/code&gt; file so that the admin account and other settings are controlled and persisted between container restarts. This is explained in the next section.&lt;/p&gt;

&lt;h2&gt;
  
  
  Onboarding with Config File
&lt;/h2&gt;

&lt;p&gt;Alternatively to the dialog-based setup, settings about the admin user and additional variables to influence privacy and telemetry can be configured. The list of supported variables is extensive; see the &lt;a href="https://docs.openwebui.com/reference/env-configuration#general" rel="noopener noreferrer"&gt;official documentation&lt;/a&gt; for all options.&lt;/p&gt;

&lt;p&gt;What you should also persist is the &lt;code&gt;WEBUI_SECRET_KEY&lt;/code&gt;. Its value is used to encrypt JWT access tokens and stored secrets. As shown in the container start logs, its value is dynamically created. Therefore, restarting the container invalidates current sessions and also makes encrypted data obsolete. Check the file content of &lt;code&gt;/app/backend/.webui_secret_key&lt;/code&gt;, and add it too.&lt;/p&gt;

&lt;p&gt;Here is the extended &lt;code&gt;.open-webui.env&lt;/code&gt; with all options.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Port, persistence, logging&lt;/span&gt;
&lt;span class="nv"&gt;WEBUI_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;http://localhost:8080
&lt;span class="nv"&gt;ENABLE_PERSISTENT_CONFIG&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;True
&lt;span class="nv"&gt;GLOBAL_LOG_LEVEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;INFO
&lt;span class="nv"&gt;LOG_FORMAT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;json
&lt;span class="nv"&gt;WEBUI_SECRET_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;REDACTED

&lt;span class="c"&gt;# Only allow one pre-configured admin user&lt;/span&gt;
&lt;span class="nv"&gt;WEBUI_ADMIN_NAME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;Admin
&lt;span class="nv"&gt;WEBUI_ADMIN_EMAIL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;REDACTED
&lt;span class="nv"&gt;WEBUI_ADMIN_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;REDACTED
&lt;span class="nv"&gt;ENABLE_SIGNUP&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;False
&lt;span class="nv"&gt;ENABLE_LOGIN_FORM&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;True
&lt;span class="nv"&gt;ENABLE_PASSWORD_AUTH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;True
&lt;span class="nv"&gt;ENABLE_PASSWORD_CHANGE_FORM&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;True

&lt;span class="c"&gt;# Better privacy&lt;/span&gt;
&lt;span class="nv"&gt;ENABLE_ADMIN_ANALYTICS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;False
&lt;span class="nv"&gt;ENABLE_PUBLIC_ACTIVE_USERS_COUNT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;False
&lt;span class="nv"&gt;ENABLE_USER_STATUS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;False
&lt;span class="nv"&gt;ENABLE_EASTER_EGGS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;False
&lt;span class="nv"&gt;ENABLE_OTEL_LOGS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;False
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now restart the container once, and from then on all settings persist.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose restart open-webui
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A warning: all of these variables, and additional changes in the GUI, are persisted. To reset, for example, the login values, stop the container, set &lt;code&gt;ENABLE_PERSISTENT_CONFIG=True&lt;/code&gt;, then restart it. If there is a further problem, you can also set &lt;code&gt;RESET_CONFIG_ON_START=true&lt;/code&gt; to delete the database, or take the final option to completely delete the Docker container and the volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model Configuration
&lt;/h2&gt;

&lt;p&gt;To use Open WebUI for its intended purpose, you need to add an LLM provider endpoint. Essentially, any endpoint that supports the OpenAI API format can be used. Besides OpenAI itself, you can choose from any direct provider, OpenRouter, or even GitHub Copilot with an additional proxy server.&lt;/p&gt;

&lt;p&gt;For brevity, let's invoke the ChatGPT API directly.&lt;/p&gt;

&lt;p&gt;First, create an OpenAI API key as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Log in to the OpenAI service&lt;/li&gt;
&lt;li&gt;Go to the &lt;a href="https://platform.openai.com/api-keys" rel="noopener noreferrer"&gt;API key page&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Click the “+ Create New Secret Key” button, provide a name, and copy the key from the popup&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Second, configure the endpoint in Open WebUI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Access the Open WebUI dashboard&lt;/li&gt;
&lt;li&gt;Click on the admin user icon in the bottom-left corner, and then click “Admin Panel”&lt;/li&gt;
&lt;li&gt;In the horizontal tab bar, click “Settings,” then “Connections”&lt;/li&gt;
&lt;li&gt;Disable all toggles from the bottom up&lt;/li&gt;
&lt;li&gt;Enable the “OpenAI API” toggle&lt;/li&gt;
&lt;li&gt;Click the “+” symbol next to “Manage OpenAI API Connections”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, the following dialogue should appear.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx092em570zrhgqb2i31m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx092em570zrhgqb2i31m.png" width="799" height="535"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For the API endpoint URL, enter &lt;code&gt;https://api.openai.com/v1&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Enter your created API key&lt;/li&gt;
&lt;li&gt;Click on the double-arrow icon to validate the connection; a green popup appears to show success&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Finally, you can start a new chat from the dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Many tools exist for ongoing, contextual conversations with an LLM. Open WebUI is one of the earliest tools to support contextual conversations with LLMs. Since its inception in October 2023, many features were added. In this article, you learned how to set up and configure the tool as a Docker container with defined, persisted config. You saw the relevant &lt;code&gt;docker-compose.yml&lt;/code&gt; and &lt;code&gt;.env&lt;/code&gt; file, learned about the nuances of onboarding, the consequences of not persisting the central encryption key, and how to configure an LLM provider. The next article continues the feature exploration.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>openwebui</category>
    </item>
    <item>
      <title>Complete OpenClaw Installation Guide with Telegram Communication Channel</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Thu, 20 Aug 2026 05:12:57 +0000</pubDate>
      <link>https://dev.to/admantium/complete-openclaw-installation-guide-with-telegram-communication-channel-1nge</link>
      <guid>https://dev.to/admantium/complete-openclaw-installation-guide-with-telegram-communication-channel-1nge</guid>
      <description>&lt;p&gt;In 2026, agentic AI tools and frameworks generated much interest from technical and non-technical users alike. On the forefront of all of these tools is OpenClaw, the most popular open-source project that catapulted agents into mainstream usage.&lt;/p&gt;

&lt;p&gt;This article covers the complete installation steps and setup. You will learn how to install OpenClaw on your local computer, set up Telegram as the communication channel, and perform essential security hardening.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The technical context of this article is &lt;code&gt;OpenClaw v2026.6.11&lt;/code&gt; released 2026-06-30. All provided information and command examples should be valid with newer versions too, barring an update of the CLI commands' syntax. However, configuration details differ between OpenClaw versions, and therefore, you should check the most recent documentation guidelines as well.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I'm fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains my personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbose copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm36_open_claw_installation/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;p&gt;To install and run OpenClaw, you need a computer with either Linux or Windows, and the NodeJS library installed. This opens the option to use a spare laptop or computer, a dedicated VPS like several other installation guides explain, or even just a local Raspberry Pi. The only crucial requirements are available CPU and RAM: 2GB RAM and 2 CPUs are the minimal requirements, and 4GB RAM and 4 vCPUs are sufficient for an installation that produces a medium or high system load.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Platform&lt;/th&gt;
&lt;th&gt;Minimum&lt;/th&gt;
&lt;th&gt;Recommended&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Raspberry Pi&lt;/td&gt;
&lt;td&gt;Raspberry Pi 3+&lt;/td&gt;
&lt;td&gt;Raspberry Pi 4+&lt;/td&gt;
&lt;td&gt;32-bit OS supported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linux x64&lt;/td&gt;
&lt;td&gt;Ubuntu 20.04+&lt;/td&gt;
&lt;td&gt;Ubuntu 22.04+&lt;/td&gt;
&lt;td&gt;Debian/Ubuntu derivatives&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloud VPS&lt;/td&gt;
&lt;td&gt;2GB RAM, 2 vCPU&lt;/td&gt;
&lt;td&gt;4GB RAM, 4 vCPU&lt;/td&gt;
&lt;td&gt;AWS EC2, DigitalOcean, etc.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;As for the software, only NodeJS is strictly required. If you want to use Docker for the hosting environment, you need to ensure that a proper version is installed as well.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Libraries&lt;/th&gt;
&lt;th&gt;Minimum&lt;/th&gt;
&lt;th&gt;Recommended&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;NodeJS&lt;/td&gt;
&lt;td&gt;v22.19&lt;/td&gt;
&lt;td&gt;v24&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Docker&lt;/td&gt;
&lt;td&gt;v20.10+&lt;/td&gt;
&lt;td&gt;v24.0+&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;OpenClaw can be installed in three ways: As a Docker container that includes all dependencies, as a bash script that checks and installs missing dependencies, or just by adding the NPM packages.&lt;/p&gt;

&lt;p&gt;In a freshly installed, current Linux distribution, adding the NPM package is sufficient. Simply run the following command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i &lt;span class="nt"&gt;-g&lt;/span&gt; openclaw@2026.6.11
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Installation can take up to several minutes. Once completed, a unified OpenClaw process starts which creates both a gateway process and the dashboard.&lt;/p&gt;

&lt;p&gt;An essential command with which to verify the installation, and to identify any issues, is &lt;code&gt;openclaw doctor&lt;/code&gt;. Run it once to ensure the installation succeeded, but stop before making any configuration.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openclaw doctor


🦞 OpenClaw 2026.6.11 &lt;span class="o"&gt;(&lt;/span&gt;4dcc39c&lt;span class="o"&gt;)&lt;/span&gt; — Making &lt;span class="s1"&gt;'I'&lt;/span&gt;ll automate that later&lt;span class="s1"&gt;' happen now.


▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██
██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██
██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                  🦞 OPENCLAW 🦞


┌  OpenClaw doctor
│
◇  Startup optimization ─────────────────────────────────────────────────────────────────────╮
│                                                                                            │
│  - NODE_COMPILE_CACHE is not set; repeated CLI runs can be slower on small hosts (Pi/VM).  │
│  - OPENCLAW_NO_RESPAWN is not set to 1; set it to avoid extra startup overhead from        │
│    self-respawn.                                                                           │
│  - Suggested env for low-power hosts:                                                      │
│    export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache                               │
│    mkdir -p /var/tmp/openclaw-compile-cache                                                │
│    export OPENCLAW_NO_RESPAWN=1                                                            │
│                                                                                            │
├────────────────────────────────────────────────────────────────────────────────────────────╯
│
◇  Gateway ──────────────────────────────────────────────────────────╮
│                                                                    │
│  gateway.mode is unset; gateway start will be blocked.             │
│  Fix: run openclaw configure and set Gateway mode (local/remote).  │
│  Or set directly: openclaw config set gateway.mode local           │
│  Missing config: run openclaw setup first.                         │
│                                                                    │
├────────────────────────────────────────────────────────────────────╯
│
◇  Gateway auth ──────────────────────────────────────────────────────────────────────╮
│                                                                                     │
│  Gateway auth is off or missing a token. Token auth is now the recommended default  │
│  (including loopback).                                                              │
│                                                                                     │
├─────────────────────────────────────────────────────────────────────────────────────╯
│
■  Generate and configure a gateway token now?
...
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;p&gt;The configuration complexity of OpenClaw seems daunting, but all available options are streamlined during the initial onboarding process. I recommend starting the installation with the interactive onboarding wizard, and tweaking individual settings after this initial setup.&lt;/p&gt;

&lt;p&gt;Start the process with the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openclaw onboard &lt;span class="nt"&gt;--install-daemon&lt;/span&gt;


🦞 OpenClaw 2026.6.11 &lt;span class="o"&gt;(&lt;/span&gt;4dcc39c&lt;span class="o"&gt;)&lt;/span&gt; — I&lt;span class="s1"&gt;'ve read more man pages than any human should—so you don'&lt;/span&gt;t have to.


▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██
██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██
██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                  🦞 OPENCLAW 🦞


┌  OpenClaw setup
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This ongoing setup dialog will guide you through different installation phases. The following list divides the setup decisions, and shows the corresponding dialog prompt printed in the terminal.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Security Warning
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;◆  I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
│  ● Yes / ○ No
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A disclaimer about the project's nature, mentioning risks and concerns, and listing guidelines for a safe initial configuration. You need to answer with &lt;code&gt;Yes&lt;/code&gt; in order to continue.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Setup Mode
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;◆  Setup mode
│  ● QuickStart &lt;span class="o"&gt;(&lt;/span&gt;Configure details later via openclaw configure.&lt;span class="o"&gt;)&lt;/span&gt;
│  ○ Manual
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;Manual&lt;/code&gt; setup mode is intended for configuring OpenClaw on a public internet host, detailing network stack configurations including URL and port. Continue with the preselected &lt;code&gt;QuickStart&lt;/code&gt; for an instance that runs locally.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Model Configuration
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;◆  Model/auth provider
│  ● Alibaba Cloud Model Studio &lt;span class="o"&gt;(&lt;/span&gt;Coding Plan API key &lt;span class="o"&gt;(&lt;/span&gt;CN / Global&lt;span class="o"&gt;))&lt;/span&gt;
│  ○ Anthropic
│  ○ BytePlus
│  ○ Chutes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;OpenClaw needs at least one LLM provider for processing inputs. The list is quite extensive, enabling free selection from more than 30 providers. It includes well-known options such as OpenAI, Anthropic, DeepSeek, or Minimax, API gateways like LiteLLM, and multi-provider aggregators like OpenRouter.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Channel Configuration
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Select channel &lt;span class="o"&gt;(&lt;/span&gt;QuickStart&lt;span class="o"&gt;)&lt;/span&gt;
│  ● Telegram &lt;span class="o"&gt;(&lt;/span&gt;Bot API&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;recommended · newcomer-friendly&lt;span class="o"&gt;)&lt;/span&gt;
│  ○ WhatsApp &lt;span class="o"&gt;(&lt;/span&gt;QR &lt;span class="nb"&gt;link&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
│  ○ Discord &lt;span class="o"&gt;(&lt;/span&gt;Bot API&lt;span class="o"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An OpenClaw installation exposes a dashboard with many features, one being a chat interface. However, the true appeal of OpenClaw is its compatibility with different communication channels: messengers like WhatsApp and Signal, collaboration tools like Slack and Discord, and integrations with ecosystems like Mattermost or Nextcloud.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Search provider
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Search provider
│  ○ Brave Search
│  ● DuckDuckGo Search &lt;span class="o"&gt;(&lt;/span&gt;experimental&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;Free web search fallback with no API key required · key-free&lt;span class="o"&gt;)&lt;/span&gt;
│  ○ Exa Search
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;OpenClaw agents frequently perform web searches to fetch accurate and up-to-date information. Technically, search results should be provided in a non-HTML format, for example JSON. This structure can be obtained from search providers, which require a dedicated, paid account. The alternative is to use a headless Brave browser, which works, but can run into bot-detection challenges.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Skills
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Skills status ─────────────╮
│                             │
│  Eligible: 3                │
│  Missing requirements: 40   │
│  Unsupported on this OS: 7  │
│  Blocked by allowlist: 0    │
│                             │
├─────────────────────────────╯
│
◆  Configure skills now? &lt;span class="o"&gt;(&lt;/span&gt;recommended&lt;span class="o"&gt;)&lt;/span&gt;
│  ● Yes / ○ No
│
Install missing skill dependencies
│  ◻ Skip &lt;span class="k"&gt;for &lt;/span&gt;now &lt;span class="o"&gt;(&lt;/span&gt;Continue without installing dependencies&lt;span class="o"&gt;)&lt;/span&gt;
│  ◻ 🔐 1password
│  ◻ 📰 blogwatcher
│  ◻ 🫐 blucli
│  ◻ 📸 camsnap
│  ◻ 🧩 clawhub
│  ◻ 🛌 eightctl
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Skills extend the capabilities of your OpenClaw agents. Much of the perceived user value stems from sophisticated skill definitions that are included and activated by default. This includes interfacing natively with apps installed on the computer, accessing internet services from Google, BlueSky, or Obsidian, and much more. And of course, you can further extend the skills once the initial setup is completed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Hooks
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; Hooks ──────────────────────────────────────────────────────────────────╮
│                                                                          │
│  Hooks &lt;span class="nb"&gt;let &lt;/span&gt;you automate actions when agent commands are issued.          │
│  Example: Save session context to memory when you issue /new or /reset.  │
│                                                                          │
│  Learn more: https://docs.openclaw.ai/automation/hooks                   │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
│
◆  Enable hooks?
│  ◻ Skip &lt;span class="k"&gt;for &lt;/span&gt;now
│  ◻ 🚀 boot-md
│  ◻ 📎 bootstrap-extra-files
│  ◻ 📝 command-logger
│  ◻ 💾 session-memory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When using an OpenClaw agent, the invocation traverses typical lifecycle phases from initialization, tool access, execution, and answer generation. During these phases, hooks can be executed, with the goal of extending or tweaking the default behavior. A common option is to activate an additional prompt during initialization, which can be achieved with the &lt;code&gt;boot-md&lt;/code&gt; hook.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Technical Setup
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;◇  Systemd ───────────────────────────────────────────────────────────────────────────────╮
│                                                                                         │
│  Systemd user services are unavailable. Skipping lingering checks and service install.  │
│                                                                                         │
├─────────────────────────────────────────────────────────────────────────────────────────╯


...


◇  Gateway service ─────────────────────────────────────────────────────────────────────╮
│                                                                                       │
│  Systemd user services are unavailable&lt;span class="p"&gt;;&lt;/span&gt; skipping service install. Use your container  │
│  supervisor or &lt;span class="sb"&gt;`&lt;/span&gt;docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;&lt;span class="nb"&gt;.&lt;/span&gt;                                                │
│                                                                                       │
├───────────────────────────────────────────────────────────────────────────────────────╯
│


...


◇  Control UI ───────────────────────────────────────────────────────────────────────────────╮
│                                                                                            │
│  Web UI: &amp;lt;http://127.0.0.1:18789/&amp;gt;                                                        │
│  Web UI &lt;span class="o"&gt;(&lt;/span&gt;with token&lt;span class="o"&gt;)&lt;/span&gt;:                                                                     │
│  &amp;lt;http://127.0.0.1:18789/#token&lt;span class="o"&gt;=&lt;/span&gt;faf2ffc95ec703f656941f8d601e9d8db166e808765abfb7&amp;gt;        │
│  Gateway WS: ws://127.0.0.1:18789                                                         │
│  Gateway: not detected &lt;span class="o"&gt;(&lt;/span&gt;gateway closed &lt;span class="o"&gt;(&lt;/span&gt;1006 abnormal closure &lt;span class="o"&gt;(&lt;/span&gt;no close frame&lt;span class="o"&gt;))&lt;/span&gt;: no close │
│  reason&lt;span class="o"&gt;)&lt;/span&gt;                                                                                  │
│  Docs: &amp;lt;https://docs.openclaw.ai/web/control-ui&amp;gt;                                          │
│                                                                                            │
├────────────────────────────────────────────────────────────────────────────────────────────╯


...



◇  Security ──────────────────────────────────────────────────────╮
│                                                                 │
│  Running agents on your computer is risky — harden your setup:  │
│  &amp;lt;https://docs.openclaw.ai/security&amp;gt;                            │
│                                                                 │
├─────────────────────────────────────────────────────────────────╯


...


└  Onboarding complete. Use the dashboard &lt;span class="nb"&gt;link &lt;/span&gt;above to control OpenClaw.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this non-interactive phase, the OpenClaw installation sets up a &lt;code&gt;systemd&lt;/code&gt; service, starts it, performs a health check, prints access information, and other data.&lt;/p&gt;

&lt;p&gt;This concludes the onboarding, and you can now access the OpenClaw dashboard. To see the required dashboard URL, run the command &lt;code&gt;openclaw dashboard --no-open&lt;/code&gt;; it prints a URL string with the required token embedding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fje9fc75p4byqnrej6lcw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fje9fc75p4byqnrej6lcw.png" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Telegram Integration Setup
&lt;/h2&gt;

&lt;p&gt;One of OpenClaw's strengths is its capability to be accessible from many different channels. Integration with the Telegram messenger provides an always-enabled connection for communication with your OpenClaw instance and for receiving messages that result from asynchronous tasks, for example cron jobs.&lt;/p&gt;

&lt;p&gt;Telegram setup follows these steps.&lt;/p&gt;

&lt;h3&gt;
  
  
  Create a New Telegram Bot
&lt;/h3&gt;

&lt;p&gt;A bot is a system user configured in Telegram, with a unique ID. It can be created through the Telegram chat interface itself. Follow these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open a message to &lt;a href="https://t.me/BotFather" rel="noopener noreferrer"&gt;@BotFather&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Enter the &lt;code&gt;/newbot&lt;/code&gt; command.&lt;/li&gt;
&lt;li&gt;Provide a bot name, which is the unique ID with which to access the bot. You can use acronyms and cryptic letter/number combinations to prevent accidental access from other Telegram users.&lt;/li&gt;
&lt;li&gt;Configure the Bot Username, which is the account name to which you refer in OpenClaw. Use mnemonics or generic names to identify the bot, such as "Researcher".&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When the bot is configured, a 46-character bot token is printed in Telegram. This access token needs to be configured in the OpenClaw instance to enable access. You can manually edit the &lt;code&gt;openclaw.json&lt;/code&gt; configuration file, or use &lt;code&gt;openclaw onboard&lt;/code&gt; again and only change the channel configuration. The CLI dialogue is as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Telegram bot token ────────────────────────────────────╮
│                                                         │
│  1&lt;span class="o"&gt;)&lt;/span&gt; Open Telegram and chat with @BotFather              │
│  2&lt;span class="o"&gt;)&lt;/span&gt; Run /newbot &lt;span class="o"&gt;(&lt;/span&gt;or /mybots&lt;span class="o"&gt;)&lt;/span&gt;                            │
│  3&lt;span class="o"&gt;)&lt;/span&gt; Copy the token &lt;span class="o"&gt;(&lt;/span&gt;looks like 123456:ABC...&lt;span class="o"&gt;)&lt;/span&gt;           │
│  Tip: you can also &lt;span class="nb"&gt;set &lt;/span&gt;TELEGRAM_BOT_TOKEN &lt;span class="k"&gt;in &lt;/span&gt;your env.  │
│  Docs: &amp;lt;https://docs.openclaw.ai/telegram&amp;gt;              │
│  Website: &amp;lt;https://openclaw.ai&amp;gt;                         │
│                                                         │
├─────────────────────────────────────────────────────────╯
│
◇  How &lt;span class="k"&gt;do &lt;/span&gt;you want to provide this Telegram bot token?
│  Enter Telegram bot token
│
◆  Enter Telegram bot token
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The final step is to allow the OpenClaw instance to communicate with the bot. This process, called pairing, is started by sending a new message to the bot via Telegram. This will create a short, 5-character access token. And this token needs to be confirmed in your OpenClaw instance.&lt;/p&gt;

&lt;p&gt;On your instance, run the following commands, and insert this token.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openclaw pairing list telegram
openclaw pairing approve telegram &lt;span class="nv"&gt;$TOKEN&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now you can send a message to your bot and your instance should answer. If not, please check the troubleshooting hints in the next section.&lt;/p&gt;

&lt;h3&gt;
  
  
  Telegram Troubleshooting
&lt;/h3&gt;

&lt;p&gt;A typical error case is that the bot is not answering at all. In my personal experience, this often can be boiled down to a typo in the bot token. You can check this by sending the token to a Telegram status API endpoint. In the following example, replace &lt;code&gt;"${TOKEN}"&lt;/code&gt; with the 46-character token.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="s2"&gt;"https://api.telegram.org/bot&lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;TOKEN&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/getMe"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the token is not correct, you will receive a JSON document with the following content.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"error_code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;401&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Unauthorized"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;... while a correct token creates this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"result"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"REDACTED"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"is_bot"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"first_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"claw"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"username"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"REDACTED"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"can_join_groups"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"can_read_all_group_messages"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"supports_inline_queries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"can_connect_to_business"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"has_main_web_app"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"has_topics_enabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"allows_users_to_create_topics"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When the bot token is correct, but the error persists, a network error in the Telegram-to-OpenClaw instance communication is likely. Run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openclaw channels status &lt;span class="nt"&gt;--probe&lt;/span&gt;


Gateway reachable.

- Telegram default: enabled, configured, running, mode:polling, bot:@REDACTED, token:config, works
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If this shows a specific error message, access the OpenClaw documentation for further information, and hopefully your access problem can be resolved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion and Next Steps
&lt;/h2&gt;

&lt;p&gt;OpenClaw is an agentic tool which provides both full access to a computer and abundant skills to interface with external systems. It is the premier tool that catapulted the capabilities of LLM agents to the public. In this article, you learned how to install OpenClaw from scratch. Installation is simple; a mere NPM package on a current Linux distribution is sufficient. Onboarding is an interactive dialogue, which guides you through model, channel, search provider, skills, and hooks. Telegram channel configuration involves bot creation, bot token configuration, and pairing. With the installation completed, you can start exploring the many use cases that OpenClaw offers.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>openclaw</category>
    </item>
    <item>
      <title>From Large Language Models to AI Agent Systems</title>
      <dc:creator>Sebastian</dc:creator>
      <pubDate>Mon, 10 Aug 2026 04:59:21 +0000</pubDate>
      <link>https://dev.to/admantium/from-large-language-models-to-ai-agent-systems-3gec</link>
      <guid>https://dev.to/admantium/from-large-language-models-to-ai-agent-systems-3gec</guid>
      <description>&lt;p&gt;In 2024, the first capable Large Language Models emerged. Self-hosted Ollama with local model inference was one pattern, and using commercial vendors and models like OpenAI's GPT or Anthropic's Sonnet models. Several open-source projects started to create AI assistants, targeting working autonomously on tasks ranging from research to productivity and coding.&lt;/p&gt;

&lt;p&gt;In my blog article series about LLMs, I wrote &lt;a href="https://admantium.com/blog/llm34_requirements_of_personal_assistant/" rel="noopener noreferrer"&gt;Universal Personal Assistant with LLMs&lt;/a&gt; as the last entry in December 2024. I had the goal to investigate agent systems like &lt;a href="https://microsoft.github.io/autogen/stable/user-guide/autogenstudio-user-guide/index.html" rel="noopener noreferrer"&gt;AutoGen&lt;/a&gt;, &lt;a href="https://docs.crewai.com/" rel="noopener noreferrer"&gt;CrewAI&lt;/a&gt;, and &lt;a href="https://github.com/frdel/agent-zero" rel="noopener noreferrer"&gt;AgentZero&lt;/a&gt;. But using these frameworks showed severe limitations: Tool calls did not function reliably, and a human operator needed to constantly shepherd the LLM invocation to stay on track. I did not write a single article following this experience.&lt;/p&gt;

&lt;p&gt;In 2026, the AI agent paradigm is a technical reality, and it keeps evolving rapidly. Commercial products include agent-like capabilities in their products, from the universal ChatGPT, to knowledge organisation with Notion and web search with Perplexity. Open-source frameworks likewise evolved: Chat interfaces with session persistence like OpenWebUI, personal agent frameworks like OpenClaw and Hermes, and several coding tools like Droid, Kilo, and Pi.&lt;/p&gt;

&lt;p&gt;Agents are here now. They autonomously read and compose e-mails, conduct research and write comprehensive overviews, and program web applications and apps.&lt;/p&gt;

&lt;p&gt;In this ongoing blog series, agent applications and their capabilities will be the focus. Two goals are prevalent. First, to explore and categorize the (agentic) features of commercial products and open-source projects. Second, how to set up agentic tools and surrounding infrastructure like LLM proxies and observability tools.&lt;/p&gt;

&lt;p&gt;This introductory blog post provides an overview of application types and concrete commercial and open-source tools.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;While I'm fascinated by the capabilities of artificial intelligence tools and applications, crafting blog articles remains my personal skill. Every character, number, and symbol in this article was typed manually, with the exception of verbose copies from log messages and screenshots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article originally appeared at my blog &lt;a href="https://admantium.com/blog/llm35_llm_agent_application_overview/" rel="noopener noreferrer"&gt;admantium.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Commercial Tools
&lt;/h2&gt;

&lt;p&gt;The space of commercial tools is enormous. While AI becomes embedded into many types of products, agentic capabilities are the focus in the following groups.&lt;/p&gt;

&lt;h2&gt;
  
  
  Research
&lt;/h2&gt;

&lt;p&gt;Gathering information from several webpages, reading several texts, comparing and summarizing — this is a premier task for AI apps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.perplexity.ai/" rel="noopener noreferrer"&gt;Perplexity AI&lt;/a&gt;: Perplexity is an AI-powered search engine with different capabilities: Standard fast web search, and deep research for parallel fetching and comparison of several sources. You can select which model to use, enter text and voice, and instruct it to narrow down sources. Search processes and text generation happen fast, providing accurate results quickly, and always linking the relevant sources for verifying factual claims.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://support.google.com/websearch/answer/14901683" rel="noopener noreferrer"&gt;Google AI Search/AI Overview&lt;/a&gt;: Google also extended its search capabilities with conversational AI. When used, information is synthesized from various sources, providing a quick overview of topics of interest. Follow-up questions can narrow down the results. AI Overview is offered as an installable app for mobile phones only, which provides integration with a phone's native capabilities, including its camera for pictures or videos.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Knowledge Management
&lt;/h2&gt;

&lt;p&gt;Knowledge management is concerned with organizing lists, notes, and texts into a coherent, structured format. Keeping this structure with editors requires structural integrity and strict rules to follow, while using a tool is dependent on the provider's system, making exports difficult.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.notion.com/product/agents" rel="noopener noreferrer"&gt;Notion AI&lt;/a&gt;: Notion pages are structured documents accessible from the web or via dedicated app. Adding agents to these pages allows extended search capabilities via connectors, e.g. to external databases, or content improvements like summarization or text rewriting. Since agents can also query the complete workspace, context-aware suggestions can be produced, e.g. to reduce redundancy in notes. The specific strength of Notion is that agent invocation stays inside the workspace itself; no separate search or chat interface is required.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://en.wikipedia.org/wiki/NotebookLM" rel="noopener noreferrer"&gt;Google NotebookLM&lt;/a&gt;: A Gemini-powered research assistant that performs retrieval-augmented generation over uploaded sources such as Docs, PDFs, Slides, and URLs, generating grounded summaries and explanations. It is especially useful when the source set is known in advance and the goal is to stay within those materials. A distinctive feature is source-grounded output that avoids drifting beyond the uploaded corpus.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.perplexity.ai" rel="noopener noreferrer"&gt;Perplexity Spaces&lt;/a&gt;: The Spaces feature is designed as a long-running, continuous session in which you can add sources, configure LLM invocation instructions, attach custom files and other data sources, and then start discussions structured as threads. Additionally, spaces can be shared with other people, allowing collaborative work on dedicated knowledge areas.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Productivity
&lt;/h2&gt;

&lt;p&gt;Personal productivity is a very attractive area for agent applications. Organizing disjoint data sources, from task lists to calendars, from e-mails to note-taking apps, can be tedious if not structured rigorously. Agent apps provide organization and processes in spite of structural differences.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://knowledge.workspace.google.com/admin/gemini/google-workspace-with-gemini" rel="noopener noreferrer"&gt;Google Workspace with Gemini&lt;/a&gt;: Google apps remain at the frontier of productivity, already providing a tight integration between emails, documents, sheets, and task lists. Their Gemini model can be opened in any workspace app, providing immediate support by AI models. Alternatively, a Gemini chat can be used standalone, with full access to all information, making it seamless to e.g. let an e-mail be composed about the contents of several documents. Also, you can use this feature to generate texts and add them to documents.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://help.openai.com/en/articles/11752874-chatgpt-agent" rel="noopener noreferrer"&gt;ChatGPT Agent Mode&lt;/a&gt;: ChatGPT is the premier interface for invoking LLMs in long, session-based conversations. The agent mode extends this capability, allowing a combined tool array for multi-step workflows, with tasks like web research, file editing, code execution, and connection to various third-party apps. Tasks can even be scheduled regularly, providing timed workflows.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://slack.com/blog/news/ai-productivity-tools-slack" rel="noopener noreferrer"&gt;Slack AI&lt;/a&gt;: Slack is a standard communication tool, used in small businesses and enterprises alike. Integration of AI takes several forms. For channels, summaries can be generated. Inside a huddle, meeting notes can be summarized. And the canvas feature allows collaborative text editing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Content Generation
&lt;/h2&gt;

&lt;p&gt;While text generation and image generation are core capabilities in all aforementioned application areas, specialized domains require specific formats or need to follow rules.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.jasper.ai/agents" rel="noopener noreferrer"&gt;Jasper Agents&lt;/a&gt;: A complete platform for brand-specific content generation, including landing pages, blogs, and whole campaigns. It structures content generation into strict phases, and uses specialized agents for each step, with fixed guardrails and quality controls. It is also designed for collaborative work, allowing whole teams to structure and refine the workflow processes.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.ema.ai/" rel="noopener noreferrer"&gt;Ema&lt;/a&gt;: The Enterprise Machine Assistant promises AI employees that can fill roles from customer support, sales, research, and HR. Workflow engines invoke agents autonomously, and allow connecting to various data sources, ensuring governance and system connectivity.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.trysight.ai/" rel="noopener noreferrer"&gt;Sight AI&lt;/a&gt;: An autonomous content-generation platform for researching, writing, and publishing SEO-optimized articles. Specialized agents partake in each workflow phase, and learn from their work. Published page rankings are monitored, their impact measured, and important findings stored in a knowledge graph that serves as a continuously evolving knowledge base for improving all publication aspects.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Sales and Support
&lt;/h2&gt;

&lt;p&gt;These agents are tuned for CRM workflows, customer engagement, and service automation.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.salesforce.com/agentforce/" rel="noopener noreferrer"&gt;Agentforce&lt;/a&gt;: Salesforce's all-in-one solution for conversational agents that support all CRM processes. They can be employed as customer-facing chatbots, in back-office environments for customer support, and even for reaching out to resellers. All agents are highly customizable by the human team that invokes them.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.kore.ai/" rel="noopener noreferrer"&gt;Kore.ai&lt;/a&gt;: Kore offers pre-made AI apps for banking, healthcare, retail, and HR, as well as a complex agentic platform with which to implement and add agents for any business processes. Their focus on and experience with enterprise customers results in well-integrated solutions, orchestrating multimodal workflows that include voice, chat, documents, and system access. A special feature is enterprise-grade virtual assistant deployment across many business functions.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://sierra.ai/" rel="noopener noreferrer"&gt;Sierra&lt;/a&gt;: Sierra provides brand-specific AI support agents for customer services across voice, webpage, and app channels. It handles both FAQ-style information access, and can also handle operational service flows, e.g. triggering returns or handling subscriptions. Their advertised strength is brand awareness, ensuring a coherent customer experience.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Workflow Automation
&lt;/h2&gt;

&lt;p&gt;These agents orchestrate multi-step workflows and actions across apps and systems.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://agentsindex.ai/zapier-agents" rel="noopener noreferrer"&gt;Zapier Agents&lt;/a&gt;: Zapier has been at the forefront of automation for more than a decade. With their rich experience of inter-system connectivity, it is no surprise that adding agents provides a seamless experience. Many templates are available, resulting in seamless invocation of agents to summarize content or work autonomously. This allows for productive business automation, spawning agents to fulfil customer requests, file invoices, and more.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://beam.ai/" rel="noopener noreferrer"&gt;Beam AI&lt;/a&gt;: Agentic process-automation platform whose agents interpret requests, make routing decisions, and automate workflows in support, sales operations, and HR. A standout feature is decision-making inside process flows, not just form-based task triggering.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Low-Code/Visual Coding
&lt;/h2&gt;

&lt;p&gt;While dedicated coding agents output complex source code, the entry level into custom applications are visual editors, allowing non-technical users to implement complex logic.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://lovable.dev/" rel="noopener noreferrer"&gt;Lovable&lt;/a&gt;: AI-powered platform for creating full-stack web apps from natural-language prompts. It is especially helpful for fast prototyping and MVP creation. Users can start with a generic prompt, and then quickly refine generated results with follow-ups. Since its inception, capabilities like third-party system integrations were added, allowing the generated code to access these systems immediately.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://bubble.io/ai" rel="noopener noreferrer"&gt;Bubble&lt;/a&gt;: A similar visual app builder with a focus on structured design workflows. Upon the initial prompts, design choices are presented, e.g. a set of features, or the structure of a webpage. The visual editor allows configuring these aspects, and then continuing with the prompt, or rewinding to an earlier version. It also rapidly expanded its capabilities with a third-party API connector, and opened a marketplace for plugins that can be integrated into its GUI.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://retool.com/ai-app-generation" rel="noopener noreferrer"&gt;Retool&lt;/a&gt;: Low-code platform for internal tools that uses AI to generate applications from prompts while keeping visual editing, data bindings, and enterprise controls in place. It is particularly strong when apps must connect to business data, run securely, and evolve over time.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  General-Purpose Assistant
&lt;/h2&gt;

&lt;p&gt;These are broad assistants that handle many task types via chat, tools, and multimodal inputs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://chatgpt.com/" rel="noopener noreferrer"&gt;ChatGPT&lt;/a&gt;: General assistant for writing, coding, and research, with browsing and agent capabilities for multi-step tasks. It is flexible enough to act as both a conversational helper and a goal-directed autonomous agent with decision-making capabilities.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://gemini.google.com/app" rel="noopener noreferrer"&gt;Gemini&lt;/a&gt;: General assistant for search, reasoning, and productivity tasks, with multimodal support and strong workspace integration. It works well when users need one assistant across documents, mail, search, and visual inputs.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.meta.ai/" rel="noopener noreferrer"&gt;Meta AI&lt;/a&gt;: The AI Assistant from Meta, accessible as a standalone web application, and also integrated into WhatsApp, Instagram, and Facebook. It allows seamless follow-up questions inside these apps, accessing user messages for rich, grounded context.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Open-Source Projects
&lt;/h2&gt;

&lt;p&gt;An agent is a persistent, task-oriented process that has access to tools for editing files, connecting to external systems, and even shell commands in its environment. It also has a memory system, deriving context from several sessions/conversations, which also evolves the agent's capabilities so as not to repeat mistakes.&lt;/p&gt;

&lt;p&gt;Converging with the appearance of the first Large Language Models, early frameworks that provide single agents were developed. The evolution to multi-agent invocation is rather new, which required experience with agent memory consistency and fixed workflow handovers between the different processes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Single-Agent Frameworks
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/langchain-ai/langchain" rel="noopener noreferrer"&gt;LangChain&lt;/a&gt;: Modular framework in which strict workflows with agent invocation are designed. Agents have access to their own memory, vector stores for RAG, and other data sources. The framework even features its own domain-specific language for composing complex workflows as functions with streaming support.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/frdel/agent-zero" rel="noopener noreferrer"&gt;AgentZero&lt;/a&gt;: A general-purpose personal assistant framework with persistent memory and tool-enabled execution. It uses its host system for tool execution, so tasks can incorporate commands, code, and file operations.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/microsoft/autogen" rel="noopener noreferrer"&gt;AutoGen&lt;/a&gt;: Open-source framework for building AI agents and facilitating cooperation among multiple agents to solve tasks. It adds conversation programming and finite state machine patterns for controlling agent communication. AgentEval is integrated for task-oriented evaluation and iterative self-improvement. Has been declared in maintenance mode as of September 2025.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/emcie-co/parlant" rel="noopener noreferrer"&gt;Parlant&lt;/a&gt;: An agent harness for reliable customer-facing AI. Agent behavior is modeled as explicit rules and conditions, then selectively injects only the relevant guidelines into the prompt at runtime. This results in fine-grained, predictable control over a single agent.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Multi-Agent Frameworks
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/crewAIInc/crewAI" rel="noopener noreferrer"&gt;CrewAI&lt;/a&gt;: Multi-agent orchestration framework centered on crews, agents, and tasks. The template method separates agents and tasks into YAML files, making projects easier to read and reuse. It also adds built-in tools, planning support, and training-oriented workflows.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://milvus.io/blog/openclaw-formerly-clawdbot-moltbot-explained-a-complete-guide-to-the-autonomous-ai-agent.md" rel="noopener noreferrer"&gt;OpenClaw&lt;/a&gt;: The most famous open-source agent runtime that generated awareness for technical and non-technical users alike. It provides three strong pillars: First, support for more than 20 LLM providers, including OpenAI, Anthropic, the generic OpenRouter, and more. Second, tight integration into the Google and Apple ecosystems, connecting apps from mail to note-taking. Third, a multitude of channels to simplify communication with agents, including popular messaging platforms like WhatsApp and Telegram, and platforms like Slack and Discord. It is also known for fast-moving features, not always with system stability and backwards compatibility.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://yuv.ai/blog/hermes-agent" rel="noopener noreferrer"&gt;Hermes Agent&lt;/a&gt;: A framework for self-improving agents with persistent memory and autonomous skill creation, using searchable past interactions and skill documents to adapt workflows across chat platforms. It is the number one contender to OpenClaw, valued for its stability and strict permission system to keep agents from harming their system.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/RightNow-AI/openfang" rel="noopener noreferrer"&gt;OpenFang&lt;/a&gt;: A fast-moving open-source agent operating system built in Rust, positioned as a more kernel-level, background-process style alternative to chat-first agents. It emphasizes autonomous execution, skill templates, and a command registry, geared toward reliable scheduling and long-running tasks. It is shipped as a single, production-oriented binary, reducing resource overhead significantly compared to frameworks based on interpreted programming languages.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/zeroclaw-labs/zeroclaw" rel="noopener noreferrer"&gt;ZeroClaw&lt;/a&gt;: A compact, fully autonomous AI assistant infrastructure, emphasizing simplified practical deployments and channel connectivity. Its support for LLM providers and channels rivals that of OpenClaw, and its roots in Rust provide operational benefits, with a special focus on permissions to execute tools. An interesting feature is its hardware support to access communication protocols like I2C or serial interfaces, making it viable to be deployed on Raspberry Pi or ESP32 platforms.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In 2026, AI agents perform autonomous tasks in areas like productivity, research, content generation, and coding. This blog article gave a concise overview of both commercial tools and open-source projects in these realms. In the commercial space, the breadth from research to knowledge management, and from low-code to workflow automation, shows how much traction agents are developing. And the open-source projects show the steady progress from single-agent frameworks, requiring manual Python code with LLM invocations, to Telegram-controlled multi-agent environments with full access to the computer they run on.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
