Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions docs/customize/model-providers/more/lynkr.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: "How to Configure Lynkr with Continue"
sidebarTitle: "Lynkr"
---

<Info>
Lynkr is an open-source, self-hosted LLM gateway that routes each request by
complexity: simple requests go to local models (Ollama, llama.cpp, LM Studio),
complex ones to a configured cloud provider (AWS Bedrock, Azure OpenAI,
Databricks, OpenRouter, and others). It also strips unused tool schemas and
compresses large JSON tool results to reduce token usage.
</Info>

<Tip>
Get started with [Lynkr on GitHub](https://github.com/Fast-Editor/Lynkr)
</Tip>

## Installation

Lynkr runs locally and provides an OpenAI-compatible API:

```bash
npm install -g lynkr
lynkr init # interactive wizard: choose tier models and provider credentials
lynkr start
```

This starts the gateway at `http://localhost:8081`.

## Configuration

```yaml title="config.yaml"
models:
- name: Lynkr
provider: openai
model: lynkr-auto
apiBase: http://localhost:8081/v1
apiKey: none
```

The `model` value is a placeholder — Lynkr's tier routing selects the actual
model per request based on the tiers configured in `lynkr init`, so a single
entry covers the local-to-cloud range.
1 change: 1 addition & 0 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"customize/model-providers/more/groq",
"customize/model-providers/more/llamacpp",
"customize/model-providers/more/llamastack",
"customize/model-providers/more/lynkr",
"customize/model-providers/more/mimo",
"customize/model-providers/more/mistral",
"customize/model-providers/more/moonshot",
Expand Down
Loading