llmspy.org
llms.py<br>The self-hosted, OpenAI-compatible AI gateway for text, image & audio — a lightweight CLI, server and OSS Open WebUI alternative for Local and Cloud LLMs
View the DocsExplore the GalleryView on GitHub<br>July 20, 2026 - v4 Released! →
530+<br>Models
24<br>Providers
Modalities · Text · Image · Audio
100%<br>Open Source & Self-Hosted
One tool, every modality<br>Generate Anything<br>From a single self-hosted gateway — chat with 530+ models, create images, and synthesize speech across 24 providers
Text & Chat
A fast, private, ChatGPT-like web UI over every local & cloud LLM — with tools, MCP, skills, agents and 200+ system prompts
Image Generation
Create images via Gemini, OpenAI, OpenRouter, Chutes, Z.ai & Nvidia — right inside the chat and gallery workflow
Audio & Speech
High-quality text-to-speech with Gemini & OpenRouter models, plus voice-to-text input via the microphone
Create → Publish → Showcase<br>Your Creations, in the Public Gallery<br>Anything you generate in llms.py can be published with one click — landing in the live showcase at ai.llmspy.org, browsable by everyone with categories, tags, ratings and infinite scroll.<br>Browse generated images & audio by category and tag<br>Play full Projects built by AI — games and apps, ready to run<br>Free & anonymous publisher account — no email required<br>Explore the GalleryLearn more →
ImagesAudioProjects
Playable & self-contained<br>Projects Built by AI<br>Complete, self-contained apps & games — generated with llms.py and published for anyone to open and play
Space Blocks<br>Space themed Tetris with power ups
Breakout<br>Stunning sci-fi breakout game
2048<br>Neon 2048 Arcade game
Pac Man<br>Stunning Sci-Fi Pacman
Asteroids<br>The classic Asteroids game
Pong<br>Sci-Fi Neon Pong
Browse all projects →
Quick Install
pip install llms-py
💬 Simple Chat<br>Ask questions directly from the command line
terminal<br>Copy<br>$ llms "What is the capital of France?"<br>Paris is the capital of France. It's located in the north-central part of the country and is known for its art, fashion, gastronomy, and culture. The city is home to iconic landmarks like the Eiffel Tower, the Louvre Museum, and Notre-Dame Cathedral.
Run Server
llms --serve 8000
Beautiful Themes<br>Personalize your experience with a selection ofhandcrafted themes
Nord
Nord
Matrix
Blue Smoke
Dark
Light Slate
Soft Pink
Light Sky
Light
💬 ChatGPT-like Interface<br>Modern, fast, and privacy-focused web UI for all your local and remote LLMs
What's New<br>Latest release focused on extensibility, expanded provider support, and enhanced user experience
530+ Models from 24 Providers
Powered by models.dev integration with automatic daily updates
Extensions System
Add features, providers, and customize the UI with flexible plugins
Gemini File Search
RAG workflows with document stores, categories, and contextual chat
Credentials Auth
Username/Password authentication with Admin UI and CLI user management
Agent Profiles
Specialized AI agents with custom prompts, tools, themes, and Planner→Coder workflows
Projects
Secure workspace isolation that restricts AI agent filesystem access to designated project folders
Tool Support
First-class Python function calling for LLM interactions with your environment
Server Tools
Built-in support for provider hosted Anthropic & OpenRouter server tools like web search
MCP Support
Connect to Model Context Protocol servers for extended tool capabilities
Skills Support
Extend AI capabilities with specialized knowledge, workflows, and tools
Agent Browser
AI-powered browser automation with live preview, script editor, and element inspector
Themes
Customize the look and feel with built-in themes or create your own
Calculator & Run Code UIs
Beautiful UIs to evaluate math and execute Python, JS, TS & C# code
Media Gallery
Browse and manage all your generated images and audio in one place
Voice Input
Voice-to-text transcription via microphone button or ALT+D keyboard shortcut
Image Generation
Built-in support for Gemini, OpenAI, OpenRouter, Chutes, Z.ai and Nvidia
Audio Generation
TTS support for Gemini 2.5 Flash/Pro Preview models
KaTeX Math Rendering
Beautiful LaTeX math typesetting for equations and formulas
Model Selector<br>Smart search, advanced filtering, sorting, and favorites over 530 models from 24 providers<br>Learn more →
Credentials Auth<br>Built-in Username/Password authentication with a Sign In page, Admin Web UI and CLI for user managing accounts, roles, and account locking<br>Learn more →
Agent Profiles & Projects<br>Configure specialized AI agents with custom prompts, tools, and themes — and scope their filesystem access to secure project workspaces<br>Agent Profiles →Projects →
Gemini File Search & RAG<br>Build knowledge bases with document stores and contextual AI chat<br>Learn more →
Tools & Function Calling<br>First-class Python function calling for LLM interactions<br>Learn more →
Server Tools<br>Built-in support for provider-hosted OpenRouter & Anthropic server tools like web search,...