{
 "kind": "api",
 "slug": "livekit",
 "path": "apis/livekit/",
 "name": "LiveKit",
 "logo": "https://agentgid.com/media/avatars/livekit.png",
 "maker": null,
 "density": "full",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Voice (speech-to-text, text-to-speech)",
   "apis/voice/"
  ]
 ],
 "lead": "Voice and video AI agents your users can talk to.",
 "chips": [
  {
   "label": "Voice (speech-to-text, text-to-speech)",
   "path": "apis/voice/"
  }
 ],
 "primary": {
  "label": "Copy prompt for your agent",
  "copy": "Build a LiveKit voice agent from the agent-starter-python template; on my server, create LiveKit access tokens with LIVEKIT_API_KEY and LIVEKIT_API_SECRET from .env and send only the token to the web page; never put the secret in browser code."
 },
 "links": [
  {
   "label": "Website",
   "href": "https://livekit.com"
  },
  {
   "label": "Pricing",
   "href": "https://livekit.io/pricing"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/livekit/livekit"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Open source",
   "status": "yes",
   "sub": "Run it yourself for free",
   "quote": null,
   "note": "Free tier: Build plan: 1,000 agent session minutes, 1 free US phone number, inference credits. As reported on the official pricing page, checked Oct 9, 2026.",
   "src": "https://livekit.io/pricing"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "With conditions",
   "status": "cond",
   "sub": "Does not train on your data",
   "quote": "to access and use the Services to develop, test, create, operate, and commercialize Customer's source code, binaries, and other application materials (including hosted Agents) that Customer creates",
   "note": "LiveKit Cloud may power your own commercial app, but you may not resell or pass on the service itself; self-hosted open-source parts follow Apache 2.0.",
   "src": "https://livekit.io/legal/terms-of-service"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "API key, server only",
   "status": "info",
   "sub": "Env var LIVEKIT_API_KEY, LIVEKIT_API_SECRET, LIVEKIT_URL",
   "quote": "Create a new file named development.env with your connection URL, API key, and secret:",
   "note": "API key and API secret (from the LiveKit Cloud project) sign short-lived JWT access tokens on your server; clients connect with the token and the project URL.",
   "src": "https://docs.livekit.io/frontends/build/authentication/endpoint.md"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "info",
   "sub": "llms.txt · SDK",
   "quote": "The LiveKit Docs MCP server gives coding agents direct access to LiveKit documentation, code search, changelogs, and examples through the Model Context Protocol.",
   "note": " Our agent check: 3 of 6 (Nov 13, 2026).",
   "src": "https://docs.livekit.io/reference/developer-tools/docs-mcp.md"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on Oct 9, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What LiveKit does",
   "parts": [
    {
     "t": "prose",
     "text": "LiveKit is a platform for building AI helpers that talk with people by voice or video, in a web page, a phone app or an ordinary phone call. You write the helper's behavior, and LiveKit carries the sound and picture between it and your users. The core is open source and free to run on your own server; LiveKit Cloud is the paid hosted version with a free plan."
    },
    {
     "t": "list",
     "items": [
      "LiveKit is one of 18 APIs in the Voice (speech-to-text, text-to-speech) category on AgentGid.",
      "Its cheapest paid plan ($50 a month) is the 8th cheapest of the 9 here with a monthly plan.",
      "It is one of 15 that can be started for free.",
      "7 of them ship an official MCP server; LiveKit does not.",
      "Its official SDK is the 2nd most downloaded in the category (8.6M a week)."
     ],
     "muted": true
    },
    {
     "t": "h3",
     "text": "What people build with it"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "A voice assistant in your app",
       "text": "Add a button to your site or app that starts a spoken conversation with your own AI helper, which answers out loud.",
       "idea": false
      },
      {
       "title": "An AI that answers your phone",
       "text": "Connect a phone number so an AI helper picks up incoming calls, or calls people back, for bookings or support.",
       "idea": false
      },
      {
       "title": "Customer support by voice",
       "text": "Offer one support helper that people can reach from the website, the mobile app or by phone.",
       "idea": false
      },
      {
       "title": "Video calls inside your product",
       "text": "Add private video meetings to your app, for example between a coach and a client, without building the calling part yourself.",
       "idea": false
      },
      {
       "title": "Talk widget on any website",
       "text": "Put a small floating voice widget on an existing site, so visitors can ask questions out loud.",
       "idea": false
      },
      {
       "title": "Spoken practice for learners",
       "text": "A patient voice tutor that lets students practice a language or rehearse a job interview out loud.",
       "idea": true
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "LiveKit popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "7.7M",
       "l": "SDK downloads a week",
       "d": "+48.7% on the 4-week average",
       "up": true
      },
      {
       "n": "36",
       "l": "public agent repos use its SDK"
      },
      {
       "n": "22.3K",
       "l": "GitHub stars, livekit/livekit"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "Build plan: 1,000 agent session minutes, 1 free US phone number, inference credits"
      },
      {
       "l": "Cheapest plan",
       "v": "$50 a month"
      },
      {
       "l": "Usage price",
       "v": "$0.01 per agent session minute, $0.01 per inbound calling minute, model-based inference pricing"
      },
      {
       "l": "Plans",
       "v": "Added automatically: its SDK was in 10 of the public agent repos we sampled when it was added. Prices read from the official pricing page."
      }
     ]
    },
    {
     "t": "h3",
     "text": "What one action costs"
    },
    {
     "t": "table",
     "head": [
      "Action",
      "Price"
     ],
     "num": true,
     "rows": [
      [
       "1 agent session minute after the included minutes (Ship and Scale)",
       "$0.01"
      ],
      [
       "1 inbound minute on a US local number after the included minutes (Ship)",
       "$0.01"
      ],
      [
       "1 minute of a voice agent with the pricing calculator's default models (Build/Ship, phone call)",
       "$0.0479"
      ],
      [
       "1 extra US local phone number per month",
       "$1.00"
      ]
     ]
    },
    {
     "t": "more",
     "items": [
      {
       "title": "Price history",
       "items": [
        "A year of the pricing page in the Internet Archive (5 months): the lowest monthly figure went from $50 (2025-10) to $50 (2026-03)."
       ]
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy.",
     "link": "livekit.io/pricing",
     "href": "https://livekit.io/pricing"
    }
   ]
  },
  {
   "id": "limits",
   "nav": null,
   "spy_as": "pricing",
   "h2": "Limits",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Build (free)",
       "v": "5 concurrent agent sessions",
       "src": "https://docs.livekit.io/deploy/admin/quotas-and-limits.md"
      },
      {
       "l": "Build (free)",
       "v": "100 connected participants at once",
       "src": "https://docs.livekit.io/deploy/admin/quotas-and-limits.md"
      },
      {
       "l": "Build (free)",
       "v": "LiveKit Inference LLM 100 requests and 600,000 tokens per minute",
       "src": "https://docs.livekit.io/deploy/admin/quotas-and-limits.md"
      },
      {
       "l": "Ship / Scale",
       "v": "20 concurrent agent sessions on Ship; up to 600 on Scale (starts at 50)",
       "src": "https://livekit.io/pricing.md"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official docs.",
     "link": "docs.livekit.io/deploy/admin/quotas-and-limits.md",
     "href": "https://docs.livekit.io/deploy/admin/quotas-and-limits.md"
    }
   ]
  },
  {
   "id": "access",
   "nav": "Access and terms",
   "h2": "Key and access",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "How it signs in",
       "v": "API key and API secret (from the LiveKit Cloud project) sign short-lived JWT access tokens on your server; clients connect with the token and the project URL."
      },
      {
       "l": "Environment variable",
       "v": "LIVEKIT_API_KEY, LIVEKIT_API_SECRET, LIVEKIT_URL",
       "code": true
      },
      {
       "l": "Safe in browser code",
       "v": "No, keep it on your server",
       "status": "no"
      },
      {
       "l": "Card at sign-up",
       "v": "No"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Steps only a person can do"
    },
    {
     "t": "list",
     "items": [
      "Sign up for LiveKit Cloud and create a project; copy the project URL, API key and API secret from the project settings. Put them in .env as LIVEKIT_URL, LIVEKIT_API_KEY and LIVEKIT_API_SECRET (kept out of git) and read them on the server.",
      "Choose the Ship plan or higher before real users arrive (the free plan stops at its monthly cap). No code change; the same keys keep working.",
      "Get a phone number (one US number is free) or connect your own phone provider, if the agent should take calls. Create the dispatch rule that sends calls to the agent by name."
     ]
    }
   ]
  },
  {
   "id": "terms",
   "nav": null,
   "spy_as": "access",
   "h2": "Commercial use and your data",
   "parts": [
    {
     "t": "prose",
     "text": "The LiveKit server and agent framework are open source under Apache 2.0, so you may run them yourself, also in paid products. LiveKit Cloud is a paid service with a free plan; its terms let you build and sell your own app on it, but not resell the service itself."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid app",
       "v": "With conditions",
       "status": "cond",
       "sub": "LiveKit Cloud may power your own commercial app, but you may not resell or pass on the service itself; self-hosted open-source parts follow Apache 2.0.",
       "quote": "to access and use the Services to develop, test, create, operate, and commercialize Customer's source code, binaries, and other application materials (including hosted Agents) that Customer creates",
       "src": "https://livekit.io/legal/terms-of-service"
      },
      {
       "l": "redistribute-files",
       "v": "With conditions",
       "status": "cond",
       "sub": "The open-source server may be redistributed under Apache 2.0 (keep the license and notices); the hosted service may not.",
       "quote": "LiveKit server is licensed under Apache License v2.0.",
       "src": "https://github.com/livekit/livekit/blob/master/README.md"
      },
      {
       "l": "client-work",
       "v": "With conditions",
       "status": "cond",
       "sub": "The cloud license covers your own business purposes; for a client, the client should hold the LiveKit Cloud account, or you build on the self-hosted open-source server.",
       "quote": "for Customer's own business purposes when integrated with the Services",
       "src": "https://livekit.io/legal/terms-of-service"
      },
      {
       "l": "To train your own AI",
       "v": "With conditions",
       "status": "cond",
       "sub": "LiveKit itself does not train on your data; third-party model providers you connect directly may, under their own terms (not those used through LiveKit Inference).",
       "quote": "third-party service providers may train on data as set forth in their terms (excluding livekit inference).",
       "src": "https://livekit.io/legal/terms-of-service"
      },
      {
       "l": "Trains on what you send",
       "v": "“LiveKit will process Application Content only as necessary to provide the Services, and will not use any Customer Data for model training or fine-tuning.”",
       "quote": null,
       "src": "https://livekit.io/legal/terms-of-service"
      },
      {
       "l": "Keeps your data",
       "v": "“LiveKit does not retain Inference Data beyond the duration necessary to complete each request, and does not use Inference Data for training.”",
       "quote": null,
       "src": "https://livekit.io/legal/terms-of-service"
      },
      {
       "l": "Where data is stored",
       "v": "“Select the EU project data region when you create the project.”",
       "quote": null,
       "src": "https://docs.livekit.io/deploy/admin/regions/data-residency.md"
      }
     ]
    }
   ]
  },
  {
   "id": "errors",
   "nav": null,
   "spy_as": "access",
   "h2": "Errors to handle",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "quota reached",
       "v": "A project limit (concurrency, rate, allowance) was hit; new operations of that kind fail.",
       "sub": "Retry later or close sessions; on the free plan upgrade, since the allowance is a hard cap."
      },
      {
       "l": "SIP 403 Forbidden",
       "v": "Authentication or permission error on a phone trunk, or regional rules not met.",
       "sub": "Check the SIP trunk username and password match those at your phone provider; use region pinning if needed."
      },
      {
       "l": "SIP 404 (twirp error unknown: object cannot be found)",
       "v": "The trunk id does not exist or is not accessible.",
       "sub": "Check the trunk id and that the destination number is valid."
      },
      {
       "l": "SIP 486 Busy Here",
       "v": "An incoming call reached LiveKit but the agent or room declined it.",
       "sub": "Check that the agent is running and the dispatch rule points to the right agent_name."
      },
      {
       "l": "ErrorEvent (recoverable false)",
       "v": "A speech, language or voice model failed and the session will close.",
       "sub": "Handle the error event, tell the user, or configure fallback providers."
      }
     ]
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "3 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP no, status page no, AI assistants allowed yes",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "LiveKit Docs MCP server (documentation search, not account control)",
       "sub": "claude mcp add --transport http livekit-docs https://docs.livekit.io/mcp"
      },
      {
       "l": "npm",
       "v": "npm install livekit-client",
       "code": true
      }
     ]
    },
    {
     "t": "h3",
     "text": "Instructions in its docs to check first"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "The docs say",
       "v": "“lk skills install --global”",
       "sub": "Ask the person first. It installs LiveKit skills and an MCP server into their coding agents for all projects, not only this one."
      },
      {
       "l": "The docs say",
       "v": "“If you don't have an account, sign up for free in the browser window that opens”",
       "sub": "lk cloud auth opens a sign-up or login in the browser; the person does this step, the agent waits."
      },
      {
       "l": "The docs say",
       "v": "“To search the docs or fetch many pages at once, connect to the MCP server at https://docs.livekit.io/mcp.”",
       "sub": "Reading the docs is fine; adding an MCP server changes the person's tool settings, so ask first."
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "LiveKit",
       "me": true,
       "facts": [
        "Free (open source)",
        "Free tier"
       ]
      },
      {
       "name": "OpenAI Realtime API",
       "why": "Pick the OpenAI Realtime API when one speech-to-speech model is enough and you connect to it directly, paying per token instead of per agent minute.",
       "path": "apis/openai-realtime/",
       "facts": [
        "from $10",
        "No free tier"
       ]
      },
      {
       "name": "Vapi (voice agent API)",
       "why": "Pick Vapi when you want a hosted voice agent API where you choose the speech, model and voice providers, without running agent code yourself.",
       "path": "apis/vapi-api/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      },
      {
       "name": "Daily",
       "why": "Pick Daily when you mainly need a video SDK and WebRTC calls, with voice AI agents built on top.",
       "path": "apis/daily/",
       "facts": [
        "Free plan",
        "Free tier"
       ]
      }
     ],
     "more": "All voice (speech-to-text, text-to-speech) APIs",
     "more_path": "apis/voice/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "Build a LiveKit voice agent from the agent-starter-python template; on my server, create LiveKit access tokens with LIVEKIT_API_KEY and LIVEKIT_API_SECRET from .env and send only the token to the web page; never put the secret in browser code."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Install the LiveKit command-line tool (on a Mac with Homebrew) and sign in to LiveKit Cloud, which opens a browser where the person signs up or logs in.",
       "code": "brew install livekit-cli\nlk cloud auth",
       "src": "https://docs.livekit.io/agents/start/voice-ai.md"
      },
      {
       "text": "Create an agent project from the official Python starter and run it on your computer.",
       "code": "lk agent init my-agent --template agent-starter-python\ncd my-agent\nlk agent dev",
       "src": "https://docs.livekit.io/agents/start/voice-ai.md"
      },
      {
       "text": "Deploy it to LiveKit Cloud so it runs without your computer.",
       "code": "lk agent create",
       "src": "https://docs.livekit.io/agents/start/voice-ai.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "First request"
    },
    {
     "t": "tabs",
     "label": "First request",
     "items": [
      {
       "tab": "Request",
       "code": "from livekit import api\nimport os\n\ntoken = api.AccessToken(os.environ['LIVEKIT_API_KEY'],\n                        os.environ['LIVEKIT_API_SECRET']) \\\n    .with_identity(\"identity\") \\\n    .with_name(\"name\") \\\n    .with_grants(api.VideoGrants(\n        room_join=True,\n        room=\"my-room\")) \\\n    .with_sip_grants(api.SIPGrants(\n        admin=True,\n        call=True)).to_jwt()",
       "intro": "Creating a join token is the first step of every LiveKit app; it is signed locally with your secret, no request leaves the server."
      },
      {
       "tab": "Response",
       "code": "{\n  \"exp\": 1621657263,\n  \"iss\": \"APIMmxiL8rquKztZEoZJV9Fb\",\n  \"sub\": \"myidentity\",\n  \"nbf\": 1619065263,\n  \"video\": {\n    \"room\": \"myroom\",\n    \"roomJoin\": true\n  },\n  \"metadata\": \"\"\n}"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "Putting LIVEKIT_API_SECRET in browser or mobile code to create tokens there.",
       "fix": "Create tokens on your server (a token endpoint) and send only the token to the page.",
       "why": "Anyone who reads the secret can create tokens for any room."
      },
      {
       "dont": "Shipping to production with the LiveKit Cloud development token server.",
       "fix": "Replace it with your own token endpoint that checks who is asking before it returns a token.",
       "why": "The development token server gives any app a token with any permissions."
      },
      {
       "dont": "Using an email address or real name as the participant identity or room name.",
       "fix": "Use an opaque id such as a UUID and map it to the user in your own database.",
       "why": "Identities and room names stay in LiveKit logs and are not redacted."
      },
      {
       "dont": "Expecting the free Build plan to bill overage when the month's minutes run out.",
       "fix": "Watch usage in the dashboard and move to Ship before launch; on Build, new requests fail at the cap.",
       "why": "The free allowance is a hard cap, and it is shared across all of a user's free projects."
      },
      {
       "dont": "Ignoring the agent session error event, so the call just goes silent when a model fails.",
       "fix": "Listen for the error event; for unrecoverable errors tell the user with session.say() or set up fallback providers.",
       "why": "An unrecoverable model error closes the session by default."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Is there a free plan?",
       "a": "Yes. The Build plan costs $0 a month, needs no credit card and includes 1,000 agent session minutes; its allowance is a hard limit.",
       "evidence": {
        "url": "https://livekit.io/pricing.md",
        "quote": "**Note:** No credit card required"
       }
      },
      {
       "q": "Can I run it without LiveKit Cloud?",
       "a": "Yes. The agent framework and the media server are open source and can run on your own servers.",
       "evidence": {
        "url": "https://livekit.io/pricing",
        "quote": "the livekit agents framework and livekit media server are both completely open source and available to run locally or host on your own infrastructure."
       }
      },
      {
       "q": "Does LiveKit train AI models on my users' conversations?",
       "a": "The terms say LiveKit will not use customer data for model training or fine-tuning.",
       "evidence": {
        "url": "https://livekit.io/legal/terms-of-service",
        "quote": "LiveKit will process Application Content only as necessary to provide the Services, and will not use any Customer Data for model training or fine-tuning."
       }
      },
      {
       "q": "Can I put my key in the web page?",
       "a": "No. The page gets a short-lived token that your server makes with the key and secret.",
       "evidence": {
        "url": "https://docs.livekit.io/frontends/build/authentication.md",
        "quote": "Generating a token requires API keys so it must be created on a backend server, sent to the frontend, and then provided to the session for connection."
       }
      },
      {
       "q": "Do I need separate accounts for speech and language models?",
       "a": "Not with LiveKit Inference; the quickstart agent uses it, so no provider keys are needed.",
       "evidence": {
        "url": "https://docs.livekit.io/agents/start/voice-ai.md",
        "quote": "The agent uses an STT-LLM-TTS pipeline through LiveKit Inference, so you don't need provider API keys."
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "LiveKit"
  ],
  [
   "Category",
   "Voice (speech-to-text, text-to-speech)"
  ],
  [
   "Price",
   "Free (open source)"
  ],
  [
   "Plans from",
   "$50/mo"
  ],
  [
   "Official SDK",
   "npm livekit-client"
  ],
  [
   "Latest SDK",
   "1.8.11 on npm"
  ],
  [
   "Agent check",
   "3 of 6"
  ],
  [
   "Pricing checked",
   "Oct 9, 2026"
  ]
 ],
 "good": [
  "You need a LiveKit Cloud project with a key and a secret. The secret stays on your server, which hands each user a short-lived pass.",
  "On the free Build plan the monthly allowance is a hard limit; after it, new requests fail instead of being billed.",
  "On the free plan a deployed helper may go to sleep and take 10 to 20 seconds to join the next conversation."
 ],
 "checked_line": "Read by AgentGid from 34 official pages, card checked Nov 10, 2026; usage numbers update daily."
}