Laras Router documentation
An OpenAI-compatible API for DeepSeek V4.1 Flash, paid from a prepaid USD wallet that you top up in Rupiah with QRIS.
Laras Router gives you four models, deepseek-v4.1-flash, deepseek-v4-pro, glm-5.3-flash, and 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.
Base URL https://api.larasrouter.com/v1
API key lr_live_… (create one in the console)
Model deepseek-v4.1-flash
Start here
Top up, create a key, and send your first request in a few minutes.
AuthenticationKey format, the two accepted headers, and how to keep keys safe.
Modelsdeepseek-v4.1-flash: 1M-token context, up to 384K output tokens, fixed prices.
Every public endpoint, generated from our OpenAPI contract.
How it works
- 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.
- 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.
- 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.
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.
Guides
Server-Sent Events, usage on the final chunk, and how a stream ends.
Tool callingLet the model call your functions, with a complete multi-turn example.
BillingHolds, cache pricing, the $1.00 overdraft, and per-key budgets.
Errors & retriesEvery error code, what it means, and whether to retry.
Use it from your tools
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 Integrations.
Updated Nov 2026