[{"data":1,"prerenderedAt":432},["ShallowReactive",2],{"docs-nav-titles":3,"page-docs_en-\u002Fintegrations\u002Fzed":52},{"en":4,"id":39},{"\u002Fauthentication":5,"\u002Fchangelog":6,"\u002Fguides\u002Fbilling":7,"\u002Fguides\u002Ferrors":8,"\u002Fguides\u002Fjson-output":9,"\u002Fguides\u002Frate-limits":10,"\u002Fguides\u002Freasoning":11,"\u002Fguides\u002Fstreaming":12,"\u002Fguides\u002Ftool-calling":13,"\u002Fguides\u002Ftop-up":14,"\u002F":15,"\u002Fintegrations\u002Faider":16,"\u002Fintegrations\u002Fclaude-code":17,"\u002Fintegrations\u002Fcline":18,"\u002Fintegrations\u002Fcontinue":19,"\u002Fintegrations\u002Fgoose":20,"\u002Fintegrations\u002Fhermes":21,"\u002Fintegrations":22,"\u002Fintegrations\u002Fkilo-code":23,"\u002Fintegrations\u002Flangchain":24,"\u002Fintegrations\u002Foh-my-pi":25,"\u002Fintegrations\u002Fopenai-sdk":26,"\u002Fintegrations\u002Fopenclaw":27,"\u002Fintegrations\u002Fopencode":28,"\u002Fintegrations\u002Fpi":29,"\u002Fintegrations\u002Fvercel-ai-sdk":30,"\u002Fintegrations\u002Fzed":31,"\u002Fmodels":32,"\u002Fquickstart":33,"\u002Freference\u002Fchat-completions":34,"\u002Freference":22,"\u002Freference\u002Fmessages":35,"\u002Freference\u002Fmodels":36,"\u002Freference\u002Fmodels-retrieve":37,"\u002Fsupport":38},"Authentication","Changelog","Billing","Errors & retries","JSON output","Rate limits","Reasoning content","Streaming","Tool calling","Topping up with QRIS","Introduction","Aider","Claude Code","Cline","Continue","Goose","Hermes Agent","Overview","Kilo Code","LangChain (Python)","Oh My Pi","OpenAI SDKs","OpenClaw","OpenCode","Pi","Vercel AI SDK","Zed","Models","Quickstart","Chat completions","Messages","List models","Retrieve a model","Support",{"\u002Fauthentication":40,"\u002Fchangelog":6,"\u002Fguides\u002Fbilling":7,"\u002Fguides\u002Ferrors":41,"\u002Fguides\u002Fjson-output":42,"\u002Fguides\u002Frate-limits":43,"\u002Fguides\u002Freasoning":44,"\u002Fguides\u002Fstreaming":12,"\u002Fguides\u002Ftool-calling":13,"\u002Fguides\u002Ftop-up":45,"\u002F":46,"\u002Fintegrations\u002Faider":16,"\u002Fintegrations\u002Fclaude-code":17,"\u002Fintegrations\u002Fcline":18,"\u002Fintegrations\u002Fcontinue":19,"\u002Fintegrations\u002Fgoose":20,"\u002Fintegrations\u002Fhermes":21,"\u002Fintegrations":47,"\u002Fintegrations\u002Fkilo-code":23,"\u002Fintegrations\u002Flangchain":24,"\u002Fintegrations\u002Foh-my-pi":25,"\u002Fintegrations\u002Fopenai-sdk":48,"\u002Fintegrations\u002Fopenclaw":27,"\u002Fintegrations\u002Fopencode":28,"\u002Fintegrations\u002Fpi":29,"\u002Fintegrations\u002Fvercel-ai-sdk":30,"\u002Fintegrations\u002Fzed":31,"\u002Fmodels":49,"\u002Fquickstart":33,"\u002Freference\u002Fchat-completions":34,"\u002Freference":47,"\u002Freference\u002Fmessages":35,"\u002Freference\u002Fmodels":50,"\u002Freference\u002Fmodels-retrieve":51,"\u002Fsupport":38},"Autentikasi","Error & retry","Output JSON","Rate limit","Konten reasoning","Isi saldo dengan QRIS","Pengantar","Ringkasan","OpenAI SDK","Model","Daftar model","Ambil satu model",{"id":53,"title":31,"body":54,"description":422,"extension":423,"eyebrow":424,"meta":425,"navTitle":424,"navigation":426,"path":427,"seo":428,"stem":429,"updatedAt":430,"__hash__":431},"docs_en\u002Fintegrations\u002Fzed.md",{"type":55,"value":56,"toc":414},"minimark",[57,69,80,85,376,380,399,410],[58,59,60,61,68],"p",{},"This guide connects Zed to Laras Router. Every step was checked against the ",[62,63,67],"a",{"href":64,"rel":65},"https:\u002F\u002Fzed.dev\u002Fdocs\u002Fai\u002Fuse-api-access#openai-compatible",[66],"nofollow","Zed documentation",".",[58,70,71,72,76,77,68],{},"You need an API key (",[73,74,75],"code",{},"lr_live_…",") and a topped-up balance. New to Laras Router? Start with the ",[62,78,33],{"href":79},"\u002Fquickstart",[81,82,84],"h2",{"id":83},"set-up","Set up",[86,87,88,93,108,336,340,343,365,369],"steps",{},[89,90,92],"h3",{"id":91},"add-the-provider","Add the provider",[58,94,95,96,99,100,104,105,68],{},"Run ",[73,97,98],{},"agent: open settings"," and click ",[101,102,103],"strong",{},"Add Provider"," under LLM Providers, or add the provider to your ",[73,106,107],{},"settings.json",[109,110,117],"pre",{"className":111,"code":112,"filename":107,"highlights":113,"language":115,"meta":116,"style":116},"language-json shiki shiki-themes laras-ink","{\n  \"language_models\": {\n    \"openai_compatible\": {\n      \"laras-router\": {\n        \"api_url\": \"https:\u002F\u002Fapi.larasrouter.com\u002Fv1\",\n        \"available_models\": [\n          {\n            \"name\": \"deepseek-v4.1-flash\",\n            \"display_name\": \"DeepSeek Flash (Laras Router)\",\n            \"max_tokens\": 1000000,\n            \"max_output_tokens\": 32000,\n            \"capabilities\": {\n              \"tools\": true,\n              \"images\": true,\n              \"parallel_tool_calls\": false,\n              \"prompt_cache_key\": false\n            }\n          }\n        ]\n      }\n    }\n  }\n}\n",[114],5,"json","",[73,118,119,128,137,145,153,170,179,185,198,211,224,237,245,258,270,283,294,300,306,312,318,324,330],{"__ignoreMap":116},[120,121,124],"span",{"class":122,"line":123},"line",1,[120,125,127],{"class":126},"snt3o","{\n",[120,129,131,134],{"class":122,"line":130},2,[120,132,133],{"class":126},"  \"language_models\"",[120,135,136],{"class":126},": {\n",[120,138,140,143],{"class":122,"line":139},3,[120,141,142],{"class":126},"    \"openai_compatible\"",[120,144,136],{"class":126},[120,146,148,151],{"class":122,"line":147},4,[120,149,150],{"class":126},"      \"laras-router\"",[120,152,136],{"class":126},[120,154,157,160,163,167],{"class":155,"line":114},[122,156],"highlight",[120,158,159],{"class":126},"        \"api_url\"",[120,161,162],{"class":126},": ",[120,164,166],{"class":165},"sIGQv","\"https:\u002F\u002Fapi.larasrouter.com\u002Fv1\"",[120,168,169],{"class":126},",\n",[120,171,173,176],{"class":122,"line":172},6,[120,174,175],{"class":126},"        \"available_models\"",[120,177,178],{"class":126},": [\n",[120,180,182],{"class":122,"line":181},7,[120,183,184],{"class":126},"          {\n",[120,186,188,191,193,196],{"class":122,"line":187},8,[120,189,190],{"class":126},"            \"name\"",[120,192,162],{"class":126},[120,194,195],{"class":165},"\"deepseek-v4.1-flash\"",[120,197,169],{"class":126},[120,199,201,204,206,209],{"class":122,"line":200},9,[120,202,203],{"class":126},"            \"display_name\"",[120,205,162],{"class":126},[120,207,208],{"class":165},"\"DeepSeek Flash (Laras Router)\"",[120,210,169],{"class":126},[120,212,214,217,219,222],{"class":122,"line":213},10,[120,215,216],{"class":126},"            \"max_tokens\"",[120,218,162],{"class":126},[120,220,221],{"class":165},"1000000",[120,223,169],{"class":126},[120,225,227,230,232,235],{"class":122,"line":226},11,[120,228,229],{"class":126},"            \"max_output_tokens\"",[120,231,162],{"class":126},[120,233,234],{"class":165},"32000",[120,236,169],{"class":126},[120,238,240,243],{"class":122,"line":239},12,[120,241,242],{"class":126},"            \"capabilities\"",[120,244,136],{"class":126},[120,246,248,251,253,256],{"class":122,"line":247},13,[120,249,250],{"class":126},"              \"tools\"",[120,252,162],{"class":126},[120,254,255],{"class":165},"true",[120,257,169],{"class":126},[120,259,261,264,266,268],{"class":122,"line":260},14,[120,262,263],{"class":126},"              \"images\"",[120,265,162],{"class":126},[120,267,255],{"class":165},[120,269,169],{"class":126},[120,271,273,276,278,281],{"class":122,"line":272},15,[120,274,275],{"class":126},"              \"parallel_tool_calls\"",[120,277,162],{"class":126},[120,279,280],{"class":165},"false",[120,282,169],{"class":126},[120,284,286,289,291],{"class":122,"line":285},16,[120,287,288],{"class":126},"              \"prompt_cache_key\"",[120,290,162],{"class":126},[120,292,293],{"class":165},"false\n",[120,295,297],{"class":122,"line":296},17,[120,298,299],{"class":126},"            }\n",[120,301,303],{"class":122,"line":302},18,[120,304,305],{"class":126},"          }\n",[120,307,309],{"class":122,"line":308},19,[120,310,311],{"class":126},"        ]\n",[120,313,315],{"class":122,"line":314},20,[120,316,317],{"class":126},"      }\n",[120,319,321],{"class":122,"line":320},21,[120,322,323],{"class":126},"    }\n",[120,325,327],{"class":122,"line":326},22,[120,328,329],{"class":126},"  }\n",[120,331,333],{"class":122,"line":332},23,[120,334,335],{"class":126},"}\n",[89,337,339],{"id":338},"add-your-api-key","Add your API key",[58,341,342],{},"Add your key in the provider’s settings, where Zed stores it in the system keychain, or set the environment variable Zed derives from the provider ID.",[109,344,348],{"className":345,"code":346,"language":347,"meta":116,"style":116},"language-bash shiki shiki-themes laras-ink","export LARAS_ROUTER_API_KEY=\"lr_live_your_key_here\"\n","bash",[73,349,350],{"__ignoreMap":116},[120,351,352,356,359,362],{"class":122,"line":123},[120,353,355],{"class":354},"sifj9","export",[120,357,358],{"class":126}," LARAS_ROUTER_API_KEY",[120,360,361],{"class":354},"=",[120,363,364],{"class":165},"\"lr_live_your_key_here\"\n",[89,366,368],{"id":367},"pick-the-model","Pick the model",[58,370,371,372,375],{},"Pick ",[101,373,374],{},"DeepSeek Flash (Laras Router)"," in the agent panel’s model selector.",[81,377,379],{"id":378},"good-to-know","Good to know",[381,382,383,389],"ul",{},[384,385,386,387,68],"li",{},"Do not put the key in ",[73,388,107],{},[384,390,391,392,395,396,68],{},"Zed sends the output limit as ",[73,393,394],{},"max_completion_tokens",", which Laras Router accepts in place of ",[73,397,398],{},"max_tokens",[58,400,401,402,405,406,68],{},"Settings and screens can change between versions. If something looks different, check the ",[62,403,67],{"href":64,"rel":404},[66],". For other tools, see all ",[62,407,409],{"href":408},"\u002Fintegrations","integrations",[411,412,413],"style",{},"html pre.shiki code .snt3o, html code.shiki .snt3o{--shiki-default:#B4B8BF}html pre.shiki code .sIGQv, html code.shiki .sIGQv{--shiki-default:#F7F8F8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sifj9, html code.shiki .sifj9{--shiki-default:#8A8F98}",{"title":116,"searchDepth":139,"depth":139,"links":415},[416,421],{"id":83,"depth":130,"text":84,"children":417},[418,419,420],{"id":91,"depth":139,"text":92},{"id":338,"depth":139,"text":339},{"id":367,"depth":139,"text":368},{"id":378,"depth":130,"text":379},"Code editor with a built-in AI agent panel. Step-by-step setup with Laras Router.","md",null,{},true,"\u002Fintegrations\u002Fzed",{"title":31,"description":422},"integrations\u002Fzed","2026-11-15","ue8HGO0QaQiWhR2xAyKKblG93ktW_XVvcbHEtSznZPM",1796424411547]