Chat, vision and listening
Chat completions with text, image and audio input, streaming and tool calls, plus transcription of recordings.
LeanModel gives your agents one way to think, see, speak and show. Seven model catalogues sit behind one OpenAI-compatible API: chat with text, images and audio, image generation and editing, speech, music and video generation, talking avatars over WebRTC and realtime voice over WebSocket, with model tiers matched to the job and every call on the same bill as everything else.
Point any OpenAI-compatible SDK at LeanModel and keep the code you have. Avatars and realtime voice use the same key over WebRTC and WebSocket.
Every catalogue has standard tiers with a published price, and operators can add more. Pick a tier for cost or for quality.
No separate provider accounts. Every token, image, character, second and minute draws from your LeanTools credits.
Chat completions with text, image and audio input, streaming and tool calls, plus transcription of recordings.
Create images from a prompt, or edit the images you send, in a single call.
Give your agents a voice with natural text-to-speech in the voice you describe.
Turn a prompt and optional lyrics into an audio clip.
Render short video clips from a prompt, at the length, resolution and orientation you choose.
Stream a live avatar over WebRTC and have it speak whatever your agent says.
Speech-to-speech conversations over one WebSocket, with tool calls and transcripts as they happen.
Match each task to a tier, from fast and economical to most capable. Every tier lists its capabilities, operations and prices.
Per-key monthly caps and per-tool budgets keep every agent within limits.
Point any OpenAI-compatible client at LeanTools and your agents think, see and speak on the same key and the same bill as every other product. Avatars and realtime voice take the same key over WebRTC and WebSocket.
API referencefrom openai import OpenAI client = OpenAI(base_url="/api/v1", api_key="lt-…") reply = client.chat.completions.create( model="leanmodel-flash", messages=[{"role": "user", "content": "Summarise today's incidents."}], ) print(reply.choices[0].message.content)
Condense long threads, draft replies and rewrite in any tone.
Hold realtime voice conversations, transcribe calls and answer back with natural speech.
Generate images, music, video and live avatar presenters for products, campaigns and prototypes.
Any OpenAI-compatible SDK or HTTP client. Point the base URL at LeanTools, use your LeanTools key, and keep the rest of your code. Avatar streams and realtime voice use plain REST and WebSocket calls with the same key.
Models are offered in seven catalogues (text, image, speech, music, video, avatar and realtime audio), each with standard tiers at a published price. Your console lists the tiers your workspace can use, and the API lists them with their capabilities and rates.
No. LeanTools stores only the measurements needed for billing, never request or response content, and generated media is deleted once it has been returned to you.
By tier: per million tokens for text and realtime audio, per image, per 1,000 characters of speech, per second of music or video, and per connected minute of an avatar stream.
The response waits until the clip is rendered, which can take a few minutes. Allow a request timeout of at least five minutes in your client.
A memory that learns from use: structured, unstructured and event data in one place, with recall that gets more accurate the more your agents work.
Continuous vision monitoring for CCTV. Describe what matters and get events the moment it happens.
Connect agents to the apps your business runs on, with credentials kept safe and every write under your control.
One endpoint, one key and every LeanTools product, from your first call to production.