[{"data":1,"prerenderedAt":236},["ShallowReactive",2],{"docs-nav-titles":3,"page-docs_en-\u002F":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":54,"body":55,"description":226,"extension":227,"eyebrow":228,"meta":229,"navTitle":15,"navigation":230,"path":231,"seo":232,"stem":233,"updatedAt":234,"__hash__":235},"docs_en\u002Findex.md","Laras Router documentation",{"type":56,"value":57,"toc":218},"minimark",[58,78,89,94,128,132,155,158,162,192,196,205],[59,60,61,62,66,67,66,70,73,74,77],"p",{},"Laras Router gives you four models, ",[63,64,65],"code",{},"deepseek-v4.1-flash",", ",[63,68,69],{},"deepseek-v4-pro",[63,71,72],{},"glm-5.3-flash",", and ",[63,75,76],{},"glm-5.3",", behind the OpenAI Chat Completions API. If your code or tool already talks to OpenAI, you change two settings — the base URL and the API key — and keep everything else.",[79,80,87],"pre",{"className":81,"code":83,"filename":84,"language":85,"meta":86},[82],"language-text","Base URL   https:\u002F\u002Fapi.larasrouter.com\u002Fv1\nAPI key    lr_live_…  (create one in the console)\nModel      deepseek-v4.1-flash\n","Connection settings","text","",[63,88,83],{"__ignoreMap":86},[90,91,93],"h2",{"id":92},"start-here","Start here",[95,96,97,105,112,121],"cards",{},[98,99,102],"card",{"icon":100,"title":33,"to":101},"rocket","\u002Fquickstart",[59,103,104],{},"Top up, create a key, and send your first request in a few minutes.",[98,106,109],{"icon":107,"title":5,"to":108},"key","\u002Fauthentication",[59,110,111],{},"Key format, the two accepted headers, and how to keep keys safe.",[98,113,116],{"icon":114,"title":32,"to":115},"cube","\u002Fmodels",[59,117,118,120],{},[63,119,65],{},": 1M-token context, up to 384K output tokens, fixed prices.",[98,122,125],{"icon":63,"title":123,"to":124},"API reference","\u002Freference",[59,126,127],{},"Every public endpoint, generated from our OpenAPI contract.",[90,129,131],{"id":130},"how-it-works","How it works",[133,134,135,143,149],"ol",{},[136,137,138,142],"li",{},[139,140,141],"strong",{},"You prepay in USD."," Your organization has one wallet. You top it up in Indonesian Rupiah with any QRIS banking or e-wallet app, from $1 to $100 at a time.",[136,144,145,148],{},[139,146,147],{},"Each request holds part of your balance."," Before a request reaches the model, a hold is placed on your wallet. When the request finishes, the hold is settled to what it actually used, and the rest is released.",[136,150,151,154],{},[139,152,153],{},"You pay per token."," Prices are fixed and published: $0.010 per 1M cache-hit input tokens, $0.400 per 1M cache-miss input tokens, and $1.600 per 1M output tokens.",[59,156,157],{},"Your prompts and completions pass through the gateway in memory and are not stored by Laras Router. We keep operational metadata — model, token counts, status, charge, and timestamps — for billing and your usage history.",[90,159,161],{"id":160},"guides","Guides",[95,163,164,171,178,185],{},[98,165,168],{"icon":166,"title":12,"to":167},"stream","\u002Fguides\u002Fstreaming",[59,169,170],{},"Server-Sent Events, usage on the final chunk, and how a stream ends.",[98,172,175],{"icon":173,"title":13,"to":174},"tool","\u002Fguides\u002Ftool-calling",[59,176,177],{},"Let the model call your functions, with a complete multi-turn example.",[98,179,182],{"icon":180,"title":7,"to":181},"wallet","\u002Fguides\u002Fbilling",[59,183,184],{},"Holds, cache pricing, the $1.00 overdraft, and per-key budgets.",[98,186,189],{"icon":187,"title":8,"to":188},"alert","\u002Fguides\u002Ferrors",[59,190,191],{},"Every error code, what it means, and whether to retry.",[90,193,195],{"id":194},"use-it-from-your-tools","Use it from your tools",[59,197,198,199,204],{},"Any client that lets you set an OpenAI base URL works: the official OpenAI SDKs, LangChain, the Vercel AI SDK, and coding agents and editors such as OpenCode, Aider, Cline, Kilo Code, and Zed. See ",[200,201,203],"a",{"href":202},"\u002Fintegrations","Integrations",".",[206,207,210],"callout",{"title":208,"type":209},"Claude Code and Codex CLI","info",[59,211,212,213,217],{},"Claude Code works: Laras Router also serves the Anthropic Messages format, so follow the ",[200,214,216],{"href":215},"\u002Fintegrations\u002Fclaude-code","Claude Code guide",". Codex CLI uses the OpenAI Responses API, which is not supported yet and is in development.",{"title":86,"searchDepth":219,"depth":219,"links":220},3,[221,223,224,225],{"id":92,"depth":222,"text":93},2,{"id":130,"depth":222,"text":131},{"id":160,"depth":222,"text":161},{"id":194,"depth":222,"text":195},"An OpenAI-compatible API for DeepSeek V4.1 Flash, paid from a prepaid USD wallet that you top up in Rupiah with QRIS.","md",null,{},true,"\u002F",{"title":54,"description":226},"index","2026-11-15","bvLZQMGBvU5ccSVGv9IJpksDhunPClZH42tEY6kQFys",1796424410874]