[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J174017PTQT88CNE8PN9HC":3,"skill-same:01M6J174017PTQT88CNE8PN9HC":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6J174017PTQT88CNE8PN9HC","liter-llm-running-the-proxy",null,"Use when running the `liter-llm api` OpenAI-compatible gateway — virtual keys, per-key rate limits, budgets, cost tracking, and model routing. Covers the TOML config and the 22 REST endpoints.","xberg-io\u002Fliter-llm","xberg-io","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F241328462?v=4","01M6BYYMACFMK5WNT338Y71K58","Xberg.io","01M6J160RA8VS7XVE01W9305F3",266,"MIT","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fplugin\u002F.ai-rulez\u002Fskills\u002Fliter-llm-running-the-proxy\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"running","proxy","liter llm","liter llm running the proxy","cost","when","llm api","limits","keys","openai-compatible","cost tracking","toml","endpoints","config","use","tracking","model","virtual","api","REST","playbook","gateway","openai","routing","2026-11-10 10:12:30",false,"---\ntype: Playbook\ntitle: Running The Proxy\ndescription: Use when running the `liter-llm api` OpenAI-compatible gateway — virtual keys, per-key rate limits, budgets, cost tracking, and model routing. Covers the TOML config and the 22 REST endpoints.\nx-ai-rulez:\n  kind: skill\n  id: liter-llm-running-the-proxy\n  metadata:\n    name: liter-llm-running-the-proxy\n---\n\n# Running the Proxy\n\n`liter-llm api` is a drop-in OpenAI-compatible gateway: 22 REST endpoints that\nroute to 174 providers, with multi-tenant virtual keys, rate limits, budgets,\nand cost tracking.\n\n## Start it\n\n```bash\nliter-llm api --config liter-llm-proxy.toml\n```\n\nThe proxy auto-discovers `liter-llm-proxy.toml` in the current directory.\n\n## Configuration\n\n```toml\n[server]\nhost = \"0.0.0.0\"\nport = 4000\n\n[general]\nmaster_key = \"${LITER_LLM_MASTER_KEY}\"\n\n# Each [[models]] entry maps a routable name to a provider\u002Fmodel and its key.\n[[models]]\nname = \"gpt-4o\"\nprovider_model = \"openai\u002Fgpt-4o\"\napi_key = \"${OPENAI_API_KEY}\"\n\n[[models]]\nname = \"claude-sonnet\"\nprovider_model = \"anthropic\u002Fclaude-sonnet-4-20250514\"\napi_key = \"${ANTHROPIC_API_KEY}\"\n\n# Virtual keys scope which configured model names a caller may use.\n[[keys]]\nkey = \"sk-team-frontend\"\nmodels = [\"gpt-4o\", \"claude-sonnet\"]\nrpm = 60\ntpm = 100000\nbudget_limit = 50.0\n```\n\n`${ENV_VAR}` interpolation keeps secrets out of the file.\n\n## Call it like OpenAI\n\n```bash\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Authorization: Bearer sk-team-frontend\" \\\n  -d '{\"model\": \"gpt-4o\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello\"}]}'\n```\n\n## Notes\n\n- Virtual keys scope which models a caller may use and carry their own RPM\u002FTPM\n  and budget limits; the `master_key` administers them.\n- The OpenAPI 3.1 spec is served at `\u002Fopenapi.json`.\n- Endpoints cover chat, embeddings, images, audio, moderations, files, batches,\n  responses, and model listing.\n- Docker: `docker run -p 4000:4000 -e LITER_LLM_MASTER_KEY=sk-key ghcr.io\u002Fxberg-io\u002Fliter-llm`.\n","# Running the Proxy\n\n`liter-llm api` is a drop-in OpenAI-compatible gateway: 22 REST endpoints that\nroute to 174 providers, with multi-tenant virtual keys, rate limits, budgets,\nand cost tracking.\n\n## Start it\n\n```bash\nliter-llm api --config liter-llm-proxy.toml\n```\n\nThe proxy auto-discovers `liter-llm-proxy.toml` in the current directory.\n\n## Configuration\n\n```toml\n[server]\nhost = \"0.0.0.0\"\nport = 4000\n\n[general]\nmaster_key = \"${LITER_LLM_MASTER_KEY}\"\n\n# Each [[models]] entry maps a routable name to a provider\u002Fmodel and its key.\n[[models]]\nname = \"gpt-4o\"\nprovider_model = \"openai\u002Fgpt-4o\"\napi_key = \"${OPENAI_API_KEY}\"\n\n[[models]]\nname = \"claude-sonnet\"\nprovider_model = \"anthropic\u002Fclaude-sonnet-4-20250514\"\napi_key = \"${ANTHROPIC_API_KEY}\"\n\n# Virtual keys scope which configured model names a caller may use.\n[[keys]]\nkey = \"sk-team-frontend\"\nmodels = [\"gpt-4o\", \"claude-sonnet\"]\nrpm = 60\ntpm = 100000\nbudget_limit = 50.0\n```\n\n`${ENV_VAR}` interpolation keeps secrets out of the file.\n\n## Call it like OpenAI\n\n```bash\ncurl http:\u002F\u002Flocalhost:4000\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Authorization: Bearer sk-team-frontend\" \\\n  -d '{\"model\": \"gpt-4o\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello\"}]}'\n```\n\n## Notes\n\n- Virtual keys scope which models a caller may use and carry their own RPM\u002FTPM\n  and budget limits; the `master_key` administers them.\n- The OpenAPI 3.1 spec is served at `\u002Fopenapi.json`.\n- Endpoints cover chat, embeddings, images, audio, moderations, files, batches,\n  responses, and model listing.\n- Docker: `docker run -p 4000:4000 -e LITER_LLM_MASTER_KEY=sk-key ghcr.io\u002Fxberg-io\u002Fliter-llm`.\n",{"type":48,"title":49,"x-ai-rulez":50,"description":7},"Playbook","Running The Proxy",{"id":5,"kind":51,"metadata":52},"skill",{"name":5},"main","81dd58501327dc68d81676f236766c08c0d31deb","plugin\u002F.ai-rulez\u002Fskills\u002Fliter-llm-running-the-proxy",27,"https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm","https:\u002F\u002Fdocs.liter-llm.xberg.io","https:\u002F\u002Fgithub.com\u002Fxberg-io","https:\u002F\u002Fxberg.io","Open-source content intelligence with a Rust core: documents, web, LLMs and code, with native bindings for every major language.","2026-11-14 23:17:35",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add xberg-io\u002Fliter-llm --skill liter-llm-running-the-proxy",{"tool":69,"command":70},"bunx","bunx skills add xberg-io\u002Fliter-llm --skill liter-llm-running-the-proxy",{"tool":72,"command":73},"pnpm","pnpm dlx skills add xberg-io\u002Fliter-llm --skill liter-llm-running-the-proxy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fplugin\u002F.ai-rulez\u002Fskills\u002Fliter-llm-running-the-proxy\u002FSKILL.md",true,[77],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"index.md","REFERENCE","参考文档",241,"https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fplugin\u002F.ai-rulez\u002Fskills\u002Fliter-llm-running-the-proxy\u002Findex.md",[84,108,125,143,160,165],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":43},"01M6J1DRP0968S21HH1C4HR9RK","liter-llm","Universal LLM API client for 174 providers with native bindings for 14 languages. Use when writing code that calls LLM APIs via liter-llm in Python, TypeScript, Rust, Go, Java, C#, Ruby, PHP, Elixir, WASM, or C, when running the OpenAI-compatible proxy, or when calling LLMs through the MCP server. Covers chat, streaming, tool calling, embeddings, image generation, speech, transcription, moderation, web search, OCR, reranking, provider routing, middleware, and configuration.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm\u002FSKILL.md",[],[21,91,92,93,94,95,96,97,98,99,100,101,37,102,103,104,105,106,107,24],"ocr","web search","search","rust","middleware","ruby","MCP","writing","image","mcp server","code","io","streaming","llms","server","native","elixir",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":43},"01M6J1DK94H9KDPW62F1E96VRR","liter-llm-using-the-mcp-server","Use when calling LLM APIs through the liter-llm MCP server's 22 tools, and to decide when MCP beats the CLI or SDK. Covers the tool surface, the auto-installing launcher, and authentication.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-using-the-mcp-server\u002FSKILL.md",[],[97,100,115,105,21,116,117,118,119,120,121,33,122,123,124,24],"liter llm using the mcp server","launcher","decide","authentication","tool","calling","auto","cli","sdk","Tools",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":43},"01M6J1DEEPNVQ3E5CX5ZF69416","liter-llm-tool-calling","Use when defining functions\u002Ftools for an LLM to call through liter-llm, or requesting structured JSON outputs. Covers tool schemas, tool_calls handling, and response formats.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-tool-calling\u002FSKILL.md",[],[132,119,120,133,21,134,135,136,137,33,138,139,140,124,141,142,24],"tool calling","liter llm tool calling","llm tool","for","calls","call","functions","json","formats","structured","outputs",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":43},"01M6J1DBN4XD93NN04WA8ZP75H","liter-llm-streaming-responses","Use when streaming tokens incrementally from an LLM via liter-llm over SSE or async iterators. Covers chat_stream, delta handling, and null-content chunks.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-streaming-responses\u002FSKILL.md",[],[150,21,103,151,152,153,154,155,33,156,157,158,159,24],"liter llm streaming responses","chat","delta","via","tokens","async","content","sse","chunks","stream",{"skillNo":161,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":43},"01M6J1D76FTYTKSPWNNRVZ2PX3","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-running-the-proxy\u002FSKILL.md",[],[20,22,21,19,28,36,40,35,30,33,37,23,42,38,31,27,32,26,25,24],{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":43},"01M6J1D2W434JGGHXR8SP91PZ3","liter-llm-embeddings-and-search","Use when generating embeddings, calling the 12 web-search providers, or running OCR over documents with the 4 OCR providers through liter-llm. Covers embed, search, and ocr methods plus reranking.","https:\u002F\u002Fgithub.com\u002Fxberg-io\u002Fliter-llm\u002Fblob\u002Fmain\u002Fskills\u002Fliter-llm-embeddings-and-search\u002FSKILL.md",[],[93,172,21,173,91,174,120,33,175,176,177,178,179,180,181,19,24],"liter llm embeddings and search","embeddings","methods","documents","embed","with","web","web-search","Providers","reranking"]