[{"data":1,"prerenderedAt":433},["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":424,"extension":425,"eyebrow":426,"meta":427,"navTitle":426,"navigation":428,"path":429,"seo":430,"stem":431,"__hash__":432},"docs_en\u002Fintegrations\u002Fzed.md",{"type":55,"value":56,"toc":416},"minimark",[57,69,80,85,378,382,401,412],[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,338,342,345,367,371],"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 github-dark-default github-light-default","{\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-flash\",\n            \"display_name\": \"DeepSeek Flash (Laras Router)\",\n            \"max_tokens\": 1000000,\n            \"max_output_tokens\": 32000,\n            \"capabilities\": {\n              \"tools\": true,\n              \"images\": false,\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,138,146,154,171,180,186,199,212,226,239,247,260,273,285,296,302,308,314,320,326,332],{"__ignoreMap":116},[120,121,124],"span",{"class":122,"line":123},"line",1,[120,125,127],{"class":126},"sUq8j","{\n",[120,129,131,135],{"class":122,"line":130},2,[120,132,134],{"class":133},"sGSaJ","  \"language_models\"",[120,136,137],{"class":126},": {\n",[120,139,141,144],{"class":122,"line":140},3,[120,142,143],{"class":133},"    \"openai_compatible\"",[120,145,137],{"class":126},[120,147,149,152],{"class":122,"line":148},4,[120,150,151],{"class":133},"      \"laras-router\"",[120,153,137],{"class":126},[120,155,158,161,164,168],{"class":156,"line":114},[122,157],"highlight",[120,159,160],{"class":133},"        \"api_url\"",[120,162,163],{"class":126},": ",[120,165,167],{"class":166},"sHdZ9","\"https:\u002F\u002Fapi.larasrouter.com\u002Fv1\"",[120,169,170],{"class":126},",\n",[120,172,174,177],{"class":122,"line":173},6,[120,175,176],{"class":133},"        \"available_models\"",[120,178,179],{"class":126},": [\n",[120,181,183],{"class":122,"line":182},7,[120,184,185],{"class":126},"          {\n",[120,187,189,192,194,197],{"class":122,"line":188},8,[120,190,191],{"class":133},"            \"name\"",[120,193,163],{"class":126},[120,195,196],{"class":166},"\"deepseek-flash\"",[120,198,170],{"class":126},[120,200,202,205,207,210],{"class":122,"line":201},9,[120,203,204],{"class":133},"            \"display_name\"",[120,206,163],{"class":126},[120,208,209],{"class":166},"\"DeepSeek Flash (Laras Router)\"",[120,211,170],{"class":126},[120,213,215,218,220,224],{"class":122,"line":214},10,[120,216,217],{"class":133},"            \"max_tokens\"",[120,219,163],{"class":126},[120,221,223],{"class":222},"sYnYM","1000000",[120,225,170],{"class":126},[120,227,229,232,234,237],{"class":122,"line":228},11,[120,230,231],{"class":133},"            \"max_output_tokens\"",[120,233,163],{"class":126},[120,235,236],{"class":222},"32000",[120,238,170],{"class":126},[120,240,242,245],{"class":122,"line":241},12,[120,243,244],{"class":133},"            \"capabilities\"",[120,246,137],{"class":126},[120,248,250,253,255,258],{"class":122,"line":249},13,[120,251,252],{"class":133},"              \"tools\"",[120,254,163],{"class":126},[120,256,257],{"class":222},"true",[120,259,170],{"class":126},[120,261,263,266,268,271],{"class":122,"line":262},14,[120,264,265],{"class":133},"              \"images\"",[120,267,163],{"class":126},[120,269,270],{"class":222},"false",[120,272,170],{"class":126},[120,274,276,279,281,283],{"class":122,"line":275},15,[120,277,278],{"class":133},"              \"parallel_tool_calls\"",[120,280,163],{"class":126},[120,282,270],{"class":222},[120,284,170],{"class":126},[120,286,288,291,293],{"class":122,"line":287},16,[120,289,290],{"class":133},"              \"prompt_cache_key\"",[120,292,163],{"class":126},[120,294,295],{"class":222},"false\n",[120,297,299],{"class":122,"line":298},17,[120,300,301],{"class":126},"            }\n",[120,303,305],{"class":122,"line":304},18,[120,306,307],{"class":126},"          }\n",[120,309,311],{"class":122,"line":310},19,[120,312,313],{"class":126},"        ]\n",[120,315,317],{"class":122,"line":316},20,[120,318,319],{"class":126},"      }\n",[120,321,323],{"class":122,"line":322},21,[120,324,325],{"class":126},"    }\n",[120,327,329],{"class":122,"line":328},22,[120,330,331],{"class":126},"  }\n",[120,333,335],{"class":122,"line":334},23,[120,336,337],{"class":126},"}\n",[89,339,341],{"id":340},"add-your-api-key","Add your API key",[58,343,344],{},"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,346,350],{"className":347,"code":348,"language":349,"meta":116,"style":116},"language-bash shiki shiki-themes github-dark-default github-light-default","export LARAS_ROUTER_API_KEY=\"lr_live_your_key_here\"\n","bash",[73,351,352],{"__ignoreMap":116},[120,353,354,358,361,364],{"class":122,"line":123},[120,355,357],{"class":356},"s1PA9","export",[120,359,360],{"class":126}," LARAS_ROUTER_API_KEY",[120,362,363],{"class":356},"=",[120,365,366],{"class":166},"\"lr_live_your_key_here\"\n",[89,368,370],{"id":369},"pick-the-model","Pick the model",[58,372,373,374,377],{},"Pick ",[101,375,376],{},"DeepSeek Flash (Laras Router)"," in the agent panel’s model selector.",[81,379,381],{"id":380},"good-to-know","Good to know",[383,384,385,391],"ul",{},[386,387,388,389,68],"li",{},"Do not put the key in ",[73,390,107],{},[386,392,393,394,397,398,68],{},"Zed sends the output limit as ",[73,395,396],{},"max_completion_tokens",", which Laras Router accepts in place of ",[73,399,400],{},"max_tokens",[58,402,403,404,407,408,68],{},"Settings and screens can change between versions. If something looks different, check the ",[62,405,67],{"href":64,"rel":406},[66],". For other tools, see all ",[62,409,411],{"href":410},"\u002Fintegrations","integrations",[413,414,415],"style",{},"html pre.shiki code .sUq8j, html code.shiki .sUq8j{--shiki-default:#E6EDF3;--shiki-light:#1F2328}html pre.shiki code .sGSaJ, html code.shiki .sGSaJ{--shiki-default:#7EE787;--shiki-light:#116329}html pre.shiki code .sHdZ9, html code.shiki .sHdZ9{--shiki-default:#A5D6FF;--shiki-light:#0A3069}html pre.shiki code .sYnYM, html code.shiki .sYnYM{--shiki-default:#79C0FF;--shiki-light:#0550AE}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 .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html pre.shiki code .s1PA9, html code.shiki .s1PA9{--shiki-default:#FF7B72;--shiki-light:#CF222E}",{"title":116,"searchDepth":140,"depth":140,"links":417},[418,423],{"id":83,"depth":130,"text":84,"children":419},[420,421,422],{"id":91,"depth":140,"text":92},{"id":340,"depth":140,"text":341},{"id":369,"depth":140,"text":370},{"id":380,"depth":130,"text":381},"Code editor with a built-in AI agent panel. Step-by-step setup with Laras Router.","md",null,{},true,"\u002Fintegrations\u002Fzed",{"title":31,"description":424},"integrations\u002Fzed","HaKgYnkD9WN9BR4po1bqgDzbS5npwJrDloM_-tikwHo",1793333618860]