# Install Reka in third-party tools

Use Reka models in the third-party tools you already run. One API key works in all of them.

This is the Markdown form of https://developer.reka.ai/install and of the setup guides on https://developer.reka.ai/integrations/agents, with every full guide below. The same commands are in https://developer.reka.ai/install.json.

## 1. Get one key for every tool

Create a key at https://developer.reka.ai/keys. The same key works in every tool on this page and in any OpenAI-compatible app. Export it so tools can read it from your shell:

```bash
export REKA_API_KEY="your-key"
```

Never print, log or commit the key.

## 2. Set up your tool

### Claude Code

```bash
export ANTHROPIC_BASE_URL=https://api.reka.ai
export ANTHROPIC_AUTH_TOKEN="$REKA_API_KEY"
export ANTHROPIC_MODEL=glm5.3-flash
export ANTHROPIC_DEFAULT_OPUS_MODEL=glm5.3-flash
export ANTHROPIC_DEFAULT_SONNET_MODEL=glm5.3-flash
export ANTHROPIC_DEFAULT_HAIKU_MODEL=glm5.3-flash
export ANTHROPIC_DEFAULT_FABLE_MODEL=glm5.3-flash
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
claude
```

Needs Claude Code itself: `curl -fsSL https://claude.ai/install.sh | bash`. These lines point it at Reka's Anthropic-compatible API and read `REKA_API_KEY`; the last one starts `claude`.

Model: One model, GLM 5.3 Flash (`glm5.3-flash`), set by `ANTHROPIC_MODEL` and the four `ANTHROPIC_DEFAULT_…_MODEL` lines.

Full guide: https://developer.reka.ai/integrations/agents#claude-code

### Hermes Agent

✓ Verified in the Hermes plugin catalog: https://hermes-agent.nousresearch.com/docs/plugins/reka-provider

```bash
hermes plugins install reka-provider --enable && hermes chat -m reka:glm5.3-flash
```

Needs Hermes 0.22.3 or newer (`hermes update`); on an older Hermes, install from GitHub instead: `hermes plugins install "reka-ai/reka-hermes#reka-provider" --enable`. Hermes reads `REKA_API_KEY` from your shell, so there is no key prompt, and this chat runs on Reka without changing your default provider. To make Reka the default, run `hermes model` and choose Reka. A line about the gateway only matters if you use Hermes from a messaging app.

To check the setup without opening a chat (sends one message, billed to your account):

```bash
hermes chat -m reka:glm5.3-flash -q "Say hello in one sentence." --oneshot
```

Model list: Five models built into the plugin. New Reka models arrive with plugin updates, which aren't automatic: run `hermes plugins update reka-provider` every few weeks.

Full guide: https://developer.reka.ai/integrations/agents#hermes

### OpenClaw

✓ Approved on ClawHub: https://clawhub.ai/plugins/openclaw-reka-provider

```bash
openclaw plugins install clawhub:openclaw-reka-provider && openclaw models set reka/glm5.3-flash
```

Type `y` at both install questions. OpenClaw reads `REKA_API_KEY` from your shell, so there is no login step. Then run `openclaw chat`.

To check the setup without opening a chat (sends one message, billed to your account):

```bash
openclaw agent --local -m "Say hello in one sentence."
```

Model list: Follows the live `/v1/models` list for your key, rechecked every 10 minutes, with a bundled list for offline use.

Full guide: https://developer.reka.ai/integrations/agents#openclaw

### OpenCode 2

```bash
[ -e ~/.config/opencode/opencode.json ] && echo "You already have ~/.config/opencode/opencode.json: add Reka to it by hand" || curl -fsSL --create-dirs -o ~/.config/opencode/opencode.json https://developer.reka.ai/install/opencode/opencode.json
```

For OpenCode 2. Saves Reka's provider file as your OpenCode config; if you already have one, the command leaves it alone, so add the `reka` entry from the `providers` object of [Reka's file](https://developer.reka.ai/install/opencode/opencode.json) to the `providers` object in yours. Then export `REKA_API_KEY`, run `opencode service restart`, start `opencode` and pick GLM 5.3 Flash with `/models`.

To check the setup without opening a chat (sends one message, billed to your account):

```bash
opencode run -m reka/glm5.3-flash "Say hello in one sentence."
```

Model list: Five models, set in the config file: `qwen3.8-27b`, `glm5.3-flash`, `deepseek41-flash`, `deepseek4-flash` and `qwen3.6-27b`. New Reka models arrive as an updated file.

Full guide: https://developer.reka.ai/integrations/agents#opencode

### Pi

```bash
curl -fsSL --create-dirs -o ~/.pi/agent/extensions/reka.ts https://developer.reka.ai/install/pi/reka.ts
```

Saves Reka's provider as one file in Pi's extensions folder, where Pi loads it; no npm needed, and running it again updates it. Pi reads `REKA_API_KEY` from your shell. Then run `pi --model reka/glm5.3-flash`.

To check the setup without opening a chat (sends one message, billed to your account):

```bash
pi -p --model reka/glm5.3-flash "Say hello in one sentence."
```

Model list: Five models, set in the file: `qwen3.8-27b`, `glm5.3-flash`, `deepseek41-flash`, `deepseek4-flash` and `qwen3.6-27b`. New Reka models arrive in a new version of the file: run the install command again.

Full guide: https://developer.reka.ai/integrations/agents#pi

### Unity

```bash
unity pipeline install && unity mcp configure claude-code
```

Run it in your Unity 6.3 project's folder. It needs the Unity CLI (`curl -fsSL https://unity.com/install.sh | bash`) and Claude Code set up for Reka, which the [Claude Code guide](https://developer.reka.ai/integrations/agents#claude-code) does in one step. Then open the project in Unity and run `claude` in that folder.

Model list: Unity doesn't choose a model: Claude Code does, and on Reka it uses GLM 5.3 Flash (`glm5.3-flash`).

Full guide: https://developer.reka.ai/integrations/agents#unity

## Any other app

Apps that accept an OpenAI-compatible endpoint work with the same key. Set the base URL to `https://api.reka.ai/v1` and the API key to your Reka key. `GET https://api.reka.ai/v1/models` lists the models your key can use.

Tools built for Anthropic's API use `https://api.reka.ai` with `glm5.3-flash` instead, as Claude Code does.

Models for coding agents:

| Model | Model ID | Context window | Image input |
| --- | --- | ---: | --- |
| Qwen3.8 27B | `qwen3.8-27b` | 262,144 | Yes |
| GLM 5.3 Flash | `glm5.3-flash` | 1,048,576 | Yes |
| DeepSeek V4.1 Flash | `deepseek41-flash` | 1,048,576 | Yes |
| DeepSeek V4 Flash | `deepseek4-flash` | 262,144 | No |
| Qwen3.6 27B | `qwen3.6-27b` | 262,144 | No |

Reka reads the reasoning level as `reasoning_effort`: `none` turns thinking off, and `minimal` through `max` think progressively longer. Tools that send no level get each model's own default.

---

## Set up Reka for Claude Code

Claude Code is Anthropic's coding agent for your terminal. Pointed at Reka's Anthropic-compatible API, it runs on GLM 5.3 Flash, billed to your Reka account.

### 1. Install Claude Code

Skip this if `claude --version` already prints a version.

```bash
curl -fsSL https://claude.ai/install.sh | bash
```

### 2. Point Claude Code at Reka

Run these in the terminal where you'll use Claude Code, after exporting `REKA_API_KEY`. The last line starts Claude Code:

```bash
export ANTHROPIC_BASE_URL=https://api.reka.ai
export ANTHROPIC_AUTH_TOKEN="$REKA_API_KEY"
export ANTHROPIC_MODEL=glm5.3-flash
export ANTHROPIC_DEFAULT_OPUS_MODEL=glm5.3-flash
export ANTHROPIC_DEFAULT_SONNET_MODEL=glm5.3-flash
export ANTHROPIC_DEFAULT_HAIKU_MODEL=glm5.3-flash
export ANTHROPIC_DEFAULT_FABLE_MODEL=glm5.3-flash
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
claude
```

The first time, Claude Code asks three setup questions. On the folder-trust question, choose **Yes, I trust this folder**: the default, **No, exit**, closes Claude Code.

| Setting | What it does |
| --- | --- |
| `ANTHROPIC_BASE_URL` | Sends Claude Code's requests to Reka instead of Anthropic. Claude Code adds /v1/messages to it. |
| `ANTHROPIC_AUTH_TOKEN` | Your Reka API key, sent as a bearer token. Reading it from REKA_API_KEY keeps the key itself out of the command. |
| `ANTHROPIC_MODEL` | The model for your conversation: glm5.3-flash. |
| `ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL, ANTHROPIC_DEFAULT_FABLE_MODEL` | What Claude Code uses when it asks for Opus, Sonnet, Haiku or Fable: /model, subagents and small background tasks such as titles. Point all four at glm5.3-flash, or those requests use a Claude model name that Reka doesn't serve. |
| `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` | Optional. Turns off Claude Code's own telemetry and update checks. |

### Switch back to Anthropic

```bash
unset ANTHROPIC_BASE_URL ANTHROPIC_AUTH_TOKEN ANTHROPIC_MODEL ANTHROPIC_DEFAULT_OPUS_MODEL ANTHROPIC_DEFAULT_SONNET_MODEL ANTHROPIC_DEFAULT_HAIKU_MODEL ANTHROPIC_DEFAULT_FABLE_MODEL CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC
```

### Troubleshooting

| What you see | Fix |
| --- | --- |
| claude: command not found | Open a new terminal and try again. If it still isn’t found, the install folder isn’t on your PATH yet: follow [Anthropic’s install troubleshooting](https://code.claude.com/docs/en/troubleshoot-install). |
| Claude Code closes right after it starts | On the folder-trust question, the default is **No, exit**. Start `claude` again and choose **Yes, I trust this folder**. |
| Claude Code asks you to log in, or shows a Claude model | The step 2 settings aren’t set in this terminal. Paste them again in the same terminal, then start `claude`. If you were logged in to an Anthropic account, run `/logout` in Claude Code first. |
| Unknown chat model, or model not found | A request used a Claude model name. Set every model line from step 2: `ANTHROPIC_MODEL` and the four `ANTHROPIC_DEFAULT_…_MODEL` lines (Opus, Sonnet, Haiku and Fable), then restart Claude Code. |
| WebSearch fails with a 400 | Expected. Web search runs on Anthropic’s servers, so Claude Code’s WebSearch tool doesn’t work through Reka. Its other tools do. |
| Another tool fails with “tool type … is not supported” | Anthropic’s server-side tools (web fetch, code execution and the like) run on Anthropic’s servers and are refused with a 400. Tools that run on your computer, including MCP servers you added to Claude Code, work. |
| “mcp_servers is not supported” | MCP servers passed inside an API request are refused. Add them to Claude Code instead, so they run on your computer. |
| Reading a PDF fails with a 400 | PDF documents aren’t supported. Convert the PDF to text or images first, then ask again. |
| HTTP 401 | The key wasn’t accepted. Set the right key again with `export REKA_API_KEY=…`, then run `export ANTHROPIC_AUTH_TOKEN="$REKA_API_KEY"` again (on Windows PowerShell: `$env:ANTHROPIC_AUTH_TOKEN = $env:REKA_API_KEY`): the token is a copy taken when that line ran, so fixing `REKA_API_KEY` alone changes nothing. Then quit and restart Claude Code. If you saved the lines in your shell profile, fix the key there too and open a new terminal. |
| HTTP 403 | Usually your account has no credit left. Add credit under [Credits](https://developer.reka.ai/usage#credits), then try again; a new key will not fix it. |
| HTTP 429 | Too many requests at once. Wait a moment, then try again. |

## Install Reka for Hermes Agent

Reka is a verified plugin in the Hermes catalog: install it by name with one command, then pick any of five Reka models in the model picker. Four steps, about two minutes.

✓ Verified in the Hermes plugin catalog: https://hermes-agent.nousresearch.com/docs/plugins/reka-provider

Video walkthrough: https://developer.reka.ai/install/hermes/setup.mp4 (captions: https://developer.reka.ai/install/hermes/setup.vtt)

### Quickstart in the terminal

Four commands in one terminal, about two minutes.

#### 1. Check your setup

You need [Hermes](https://hermes-agent.nousresearch.com/docs/getting-started/installation) 0.22.3 or newer (`hermes update` gets you there) and a Reka API key from the [API keys](https://developer.reka.ai/keys) page.

```bash
hermes --version
```

**On Hermes 0.21.6 to 0.22.2?**

- Those versions can't read the catalog's verified listing, so in step 2 install from GitHub instead: `hermes plugins install "reka-ai/reka-hermes#reka-provider" --enable`. It's the same plugin; Hermes labels it `custom (unreviewed) source` because of the route.

#### 2. Install the verified plugin

```bash
hermes plugins install reka-provider --enable
```

Hermes shows `reka-provider [verified]` from [its catalog](https://hermes-agent.nousresearch.com/docs/plugins/reka-provider). If it asks for `REKA_API_KEY`, paste your key (it shows as asterisks) and press **Enter**. Done when you see `✓ Plugin reka-provider enabled.`

**Other messages you'll see**

- `Plugin 'reka-provider' already exists`: you installed it from GitHub before. [Switch to the verified version](https://developer.reka.ai/integrations/agents#hermes-switch) with one command.
- `Skipped`: you pressed Enter without a key. That's fine: step 3 asks for it.
- A line about the gateway (`Gateway reloaded plugins…`, or `Restart the gateway…` on some versions): it only matters if you use Hermes from a messaging app (see [Extras](https://developer.reka.ai/integrations/agents#hermes-optional)).

#### 3. Make Reka your provider

Installing doesn't switch providers, so run:

```bash
hermes model
```

Choose **Reka** near the end of the list, then press **Enter** to keep your key and Reka's address. Pick `glm5.3-flash`, then press **Enter** to keep the highlighted reasoning level (`medium` on a new setup). Skipped the key in step 2? Paste it when Hermes asks `REKA_API_KEY (or Enter to cancel):`, because **Enter** there cancels. Done when you see `Default model set to: glm5.3-flash (via Reka)`.

**Every question, with what to press**

- `Select provider:` move with ↑ and ↓ to **Reka - OpenAI-compatible API for open-weight models**, just above **Local models**, and press **Enter**. From the top of the list, ↑ jumps straight to the bottom. Your current provider is marked `← currently active`.
- `[K]eep / [R]eplace / [C]lear (default K):` press **Enter** to keep the key from step 2. If you skipped it, Hermes asks `REKA_API_KEY (or Enter to cancel):` instead: paste your key (it shows as asterisks) and press **Enter**.
- `Base URL [https://api.reka.ai/v1]:` press **Enter** to keep Reka's address.
- `Select default model:` on a new setup `qwen3.8-27b` is highlighted. Press ↓ once to move to `glm5.3-flash`, the next model down, then press **Enter**.
- `Select reasoning effort:` press **Enter** to keep the highlighted level (`medium` on a new setup, otherwise your current one), or move to another level first.

**Which model and reasoning level?**

- Five models: `qwen3.8-27b`, `glm5.3-flash`, `deepseek41-flash` (DeepSeek V4.1 Flash), `deepseek4-flash` and `qwen3.6-27b`. This guide uses `glm5.3-flash`; use your model's name wherever it appears. The screenshots and the video show `qwen3.8-27b`, and the steps are the same.
- Reasoning effort sets how much the model thinks before it answers. Higher levels can help with harder, multi-step work, but replies take longer and use more tokens. **Disable reasoning** gives the fastest replies, and **Skip** keeps the current setting. Which levels a model accepts varies by model.
- To go back to another provider later, run `hermes model` again and choose it. To try Reka without switching, skip this step: see [Extras](https://developer.reka.ai/integrations/agents#hermes-optional).

#### 4. Start chatting

```bash
hermes chat
```

Or check the connection with one message:

```bash
hermes chat -q "Reply with one sentence confirming you can read this message." --oneshot
```

![Terminal: hermes chat --oneshot on Reka. Hermes shows the model's one-line thinking and Thought for 0s, then the reply Yes, I can read your message., in 4 seconds](https://developer.reka.ai/_next/static/immutable/media/first-reply.3y81e_lwhdd21.png)

*Qwen 3.8 27B replying on Hermes 0.22.5, reasoning at medium. ⋯ marks output left out.*

> Run `hermes plugins update reka-provider` every few weeks for new Reka models and fixes: see [Update or remove](https://developer.reka.ai/integrations/agents#hermes-update).

### Other ways to set up

These are separate routes and extras, not more steps. Each one says which quickstart steps it replaces, so open only the one you need.

#### Installed from GitHub before? Switch to the verified version (Instead of step 2)

If you installed the plugin from its GitHub address, replace it with the catalog's verified copy, the version Nous Research reviewed. Your key and model choice stay as they are. On Hermes 0.22.3 or newer, run:

```bash
hermes plugins install reka-provider --force --enable
```

Done when `hermes plugins check-updates` lists `reka-provider` with class `catalog`.

> `--force` replaces the GitHub copy; without it Hermes stops with `already exists`. From then on, `hermes plugins update reka-provider` moves to each version Nous Research approves.

#### In the browser: the Hermes dashboard (Instead of step 3)

Do steps 1 and 2, then set your key and model in the dashboard instead of running `hermes model`. Start it with:

```bash
hermes dashboard
```

Open **Keys**, then the **Providers** tab, and expand **Other**. Next to `REKA_API_KEY`, click **Set**, paste your key and click **Save**. This field shows the key as you type, so paste it where no one can see your screen.

![Hermes dashboard Keys page: the REKA_API_KEY field with an example key and Save and Cancel buttons](https://developer.reka.ai/_next/static/immutable/media/dashboard-key.06ylyg1aee8jq.png)

*The key in this field is an example, not a real key.*

Open **Models** and click **Change** next to **Main model**. Type `reka` to filter the list, choose **Reka**, then **glm5.3-flash**, and click **Switch**. Choose **Reload** when asked.

![Hermes dashboard Set main model dialog filtered to reka: Reka with six models, qwen3.8-27b selected](https://developer.reka.ai/_next/static/immutable/media/dashboard-model.3l33x5zfp2gd1.png)

*Captured with plugin 1.0.3, which listed six models. Plugin 1.0.4 lists five: deepseek41-flash replaces deepseek41-flash-20261017, and deepseek-v4-pro is gone, as Reka retired both.*

Done when **Main model** reads `reka · glm5.3-flash`. In **Chat**, the **Reasoning** menu sets the reasoning effort, from **Off (no thinking)** to **Max**. Chat there, or go on to step 4.

#### In the Hermes desktop app (macOS) (Instead of steps 2 to 4)

The desktop app installs the plugin, saves your key and picks the model in its own windows, and shares the result with the terminal. Get it from the [Hermes Desktop page](https://hermes-agent.nousresearch.com/desktop), or run `hermes desktop` if Hermes is already installed.

**Install the plugin.** Open **Capabilities → Plugins** and click **Install from Git**. Paste this address, click **Review repository**, then **Install**. For the verified catalog copy instead, run `hermes plugins install reka-provider --enable` in a terminal (Hermes 0.22.3 or newer) and restart the app.

```bash
https://github.com/reka-ai/reka-hermes#reka-provider
```

![Hermes desktop Install plugin dialog: the reka-hermes repository with #reka-provider, the reka-provider agent plugin found, and Enable agent plugin after install switched on](https://developer.reka.ai/_next/static/immutable/media/desktop-install.0--iy86ocb67s.png)

*Keep the #reka-provider ending: it points at the plugin's folder.*

**Add your key.** Open **Settings** (⌘,) → **Providers → API keys**, find **Reka**, paste your key and click **Save**.

![Hermes desktop Settings, Providers, API keys: the Reka entry with a masked key and a Save button](https://developer.reka.ai/_next/static/immutable/media/desktop-key.1n4knf3957gfx.png)

*The key shows as dots. This one is a dummy.*

**Choose the model.** In **Settings → Model → Main model**, choose **Reka**, then **glm5.3-flash**, and click **Apply**.

![Hermes desktop Settings, Model, Main model: provider Reka and the model list with qwen3.8-27b, glm5.3-flash, deepseek41-flash-20261017, deepseek4-flash, deepseek-v4-pro and qwen3.6-27b](https://developer.reka.ai/_next/static/immutable/media/desktop-model.114mwrey_285z.png)

*Captured with plugin 1.0.3, which listed six models. Plugin 1.0.4 lists five: deepseek41-flash replaces deepseek41-flash-20261017, and deepseek-v4-pro is gone, as Reka retired both.*

**Chat.** Start a new session (⌘N). The model picker in the message box shows **GLM 5.3 Flash**.

![Hermes desktop chat: the message Reply with one sentence confirming you can read this message, the reply I can read this message., and Qwen3.8 27B in the composer](https://developer.reka.ai/_next/static/immutable/media/desktop-chat.2qxa-io_y6i50.png)

*A reply from Qwen 3.8 27B in Hermes desktop.*

**Notes on the desktop app**

- Installed from Git, the app notes `Custom (unreviewed) source — not from the Hermes catalog`: that describes the route, not the plugin.
- Reka appears under **API keys** straight after the install; no restart is needed.
- To update the plugin later, run `hermes plugins update reka-provider` in a terminal (see [Update or remove](https://developer.reka.ai/integrations/agents#hermes-update)).
- Screenshots are from the desktop app of Hermes 0.21.7 on macOS; labels may differ slightly in newer versions.

#### Extras: Reka for one chat, and messaging apps (Optional)

**Reka for one chat only.** To keep another provider as your default, skip step 3 and pick a Reka model for a single chat with `-m reka:<model>`. Hermes needs your key, saved in step 2 or exported as `REKA_API_KEY`:

```bash
hermes chat -m reka:glm5.3-flash
```

**Messaging apps.** If you talk to Hermes from Telegram, Discord or another messaging app, those chats run in Hermes's gateway, a background service. After step 3, restart it so they use Reka too:

```bash
hermes gateway restart
```

> Haven't set up a messaging app? Skip this. If no gateway is running, the command starts one, and it keeps running until you stop it.

### Update or remove

The plugin doesn't update itself, and Hermes doesn't tell you when a new version is out. New Reka models and fixes arrive in plugin updates, so run these every few weeks:

```bash
hermes plugins update reka-provider
hermes model --refresh
```

The refresh clears model names cached from an older version. A catalog install updates to the newest version Nous Research has reviewed; a GitHub install follows the repository. What changed in each version is in the [release notes](https://github.com/reka-ai/reka-hermes/releases).

To remove the plugin, switch to another provider with `hermes model` first, then uninstall:

```bash
hermes plugins remove reka-provider
```

### Troubleshooting

| Message | Fix |
| --- | --- |
| `'reka-provider' is not in the Hermes plugin catalog` | Your Hermes is older than 0.22.3 and can't read the verified listing. Run `hermes update`, or install from GitHub instead: `hermes plugins install "reka-ai/reka-hermes#reka-provider" --enable`. |
| `Plugin 'reka-provider' already exists` | It's installed from GitHub. Switch to the verified version with `hermes plugins install reka-provider --force --enable` (see [Switch](https://developer.reka.ai/integrations/agents#hermes-switch)). |
| `Hermes still uses another provider` | Installing the plugin doesn't switch providers. Run `hermes model` and choose **Reka** (step 3). |
| `The terminal is busy after hermes gateway restart` | That command started Hermes's messaging gateway. Press Ctrl+C to stop it; you only need it for messaging apps. |
| `Reka rejected your API key` | The key is wrong. Run `hermes model`, choose **Reka**, press **R** to replace the key, and paste the right one. |
| `HTTP 403` | Usually your account has no credit left. Add credit in the console, then try again; a new key will not fix it. |
| `HTTP 429` | Too many requests at once. Wait a moment, then try again. |
| `Could not download the plugin` | Check that the command matches step 2 exactly and that you are online. |

## Install Reka for OpenClaw

Reka's plugin is approved on ClawHub, OpenClaw's plugin registry: install it by name with one command, then chat with GLM 5.3 Flash or any other Reka model. Four steps, about five minutes.

✓ Approved on ClawHub: https://clawhub.ai/plugins/openclaw-reka-provider

### Quickstart in the terminal

Four steps in one terminal, about five minutes.

#### 1. Check your setup

You need OpenClaw 2026.10.2 or newer and a Reka API key from the [API keys](https://developer.reka.ai/keys) page. Current OpenClaw releases need Node 24.22.1 or newer within 24.x, or Node 26.12.1 or newer.

```bash
node --version
openclaw --version
```

> New to OpenClaw? Run `npm install -g openclaw@latest`.

#### 2. Install the approved plugin

```bash
openclaw plugins install clawhub:openclaw-reka-provider
```

OpenClaw asks two questions: type **y** and press **Enter** at each. Done when you see `Installed plugin: reka`.

**Every question, with what to press**

- `Proceed with installation? [y/N]` comes after ClawHub's security audit of the plugin. Type **y** and press **Enter**. **Enter** on its own cancels the install.
- `Accept these capabilities and install "reka"? [y/N]` lists what the plugin adds to OpenClaw: one model provider, `reka`. Type **y** and press **Enter**.

**Other messages you'll see**

- `Plugin manifest id "reka" differs from npm package name`: expected. Inside OpenClaw the plugin is called `reka`.
- `Prompt injection: allowed`: OpenClaw grants this to every plugin by default. It lets a plugin's hooks add text to your prompts; the Reka plugin has no hooks, so it never uses it. To switch it off anyway, run `openclaw config set plugins.entries.reka.hooks.allowPromptInjection false`; Reka keeps working.
- `Conversation access: denied`: the plugin's own code can't read your chat history. Your messages reach Reka only as the model requests that produce each reply.
- `Saved for the next Gateway start.`: only matters if you [chat in the browser](https://developer.reka.ai/integrations/agents#openclaw-dashboard).

#### 3. Add your API key

```bash
openclaw models auth login --provider reka --method api-key --set-default
```

Wait for **Enter your Reka API key**, then paste your key and press **Enter**. The key shows as dots; anything pasted before the prompt appears shows in plain text. The login makes the plugin's recommended model the default, so switch the default to GLM 5.3 Flash:

```bash
openclaw models set reka/glm5.3-flash
```

Done when you see `Default model: reka/glm5.3-flash`.

**Other messages you'll see**

- Lines about the Gateway, such as `the local Gateway could not refresh them`: expected when no Gateway is running. `openclaw chat` doesn't need one, so there's nothing to restart.
- `Provider "reka" has no local model catalog, so "reka/glm5.3-flash" could not be checked offline. The selection was saved.`: expected. OpenClaw can't check Reka's live model list offline, and it saves your choice anyway.

**How much should the model think?**

- OpenClaw uses its default thinking level: how much the model reasons before it answers. More thinking can help with harder tasks, but replies take longer and use more tokens. To change it, run `openclaw config set agents.defaults.thinkingDefault` with a level, such as `off` for the fastest replies.

> Already exported `REKA_API_KEY` in your shell? Skip the login: run `openclaw models set reka/glm5.3-flash` and OpenClaw uses that key.

![Terminal: the Reka key prompt shows dots, then Default model set to reka/deepseek4-flash](https://developer.reka.ai/_next/static/immutable/media/add-key.2yeo-k1cxfx87.png)

*The key shows as dots. ⋯ marks output left out.*

#### 4. Start chatting

```bash
openclaw chat
```

OpenClaw opens a chat in this terminal; nothing else needs to run. Type a message and press **Enter**. The status line shows `glm5.3-flash`. Type `/exit` to leave.

To use another Reka model in this chat, send `/model reka/<model>`, such as `/model reka/deepseek41-flash`. The list comes from `/v1/models` for your key, so new Reka models appear without a plugin update.

> Run `openclaw plugins update reka` now and then for fixes: see [Update or remove](https://developer.reka.ai/integrations/agents#openclaw-update).

### Other ways to set up

These are separate routes, not more steps. Each one says which quickstart steps it replaces, so open only the one you need.

#### In the browser: the OpenClaw dashboard (Instead of step 4)

Do steps 1 to 3, then chat in your browser. New to OpenClaw? First run `openclaw config set gateway.mode local`, so the Gateway runs on this computer without the setup wizard.

Start OpenClaw’s local server and leave the terminal open:

```bash
openclaw gateway
```

In a second terminal, open the chat in your browser:

```bash
openclaw dashboard
```

Send a message. The model below the message box reads GLM 5.3 Flash. Click it to choose another model.

![OpenClaw dashboard showing a reply from DeepSeek V4 Flash, done in 3 seconds](https://developer.reka.ai/_next/static/immutable/media/first-reply.2su19h9mkqgo6.jpg)

*A reply from DeepSeek V4 Flash through the plugin.*

### Update or remove

```bash
openclaw plugins update reka
```

To remove the plugin, switch your default to a model from another provider first, then uninstall:

```bash
openclaw models set <provider/model>
openclaw plugins uninstall reka
```

### Troubleshooting

| Message | Fix |
| --- | --- |
| `Install cancelled.` | You pressed **Enter** or typed **n** at one of the install questions. Run the install again and type **y** at both. |
| `Couldn't sign in to the AI service` | The key is wrong. Run `openclaw models auth login --provider reka --method api-key --force` and paste the right key. |
| `insufficient balance` | Your account has no credit left. Add credit in the console, then try again; a new key will not fix it. |
| `Gateway start blocked: … missing gateway.mode` | Run `openclaw config set gateway.mode local`, then start the Gateway again. |
| `Gateway is not running` | Only for the browser: run `openclaw gateway` in another terminal and leave it open. `openclaw chat` doesn't need it. |
| `No provider plugins found` | Run `openclaw plugins enable reka`. A reinstall keeps a plugin disabled if it was disabled before. |

## Install Reka for OpenCode 2

For OpenCode 2. Add Reka's provider file to OpenCode's config, set your key, then pick GLM 5.3 Flash or another Reka model in OpenCode.

Video walkthrough: https://developer.reka.ai/install/opencode/setup.mp4 (captions: https://developer.reka.ai/install/opencode/setup.vtt)

### Let OpenCode set itself up

Open OpenCode on the model you use now, or one of its free models, and paste this prompt. OpenCode downloads Reka's file and merges it into its own config, keeping the rest. The key stays with you: set it and restart OpenCode's service as in [step 3](https://developer.reka.ai/integrations/agents#opencode-key), then pick a Reka model.

```text
Add Reka as a model provider to your own OpenCode config, so I can use Reka's models here. Show me each command before you run it, and stop if a step fails.

1. Run `opencode --version`. If the version doesn't start with 2, stop and tell me to install OpenCode 2 from https://opencode.ai/docs.
2. Download Reka's provider file with curl, without retyping it: https://developer.reka.ai/install/opencode/opencode.json
3. Your config file is ~/.config/opencode/opencode.json ($XDG_CONFIG_HOME/opencode/opencode.json if XDG_CONFIG_HOME is set).
   - If it doesn't exist, save the downloaded file there.
   - If it exists, copy it to opencode.json.bak in the same folder first. Then add the downloaded file's "providers" → "reka" entry to its "providers" object, creating "providers" if it's missing. Change nothing else.
4. Check that the config is valid JSON and has providers.reka, without printing the whole file.
5. Don't restart OpenCode or its background service yourself: this chat runs on it. Instead, tell me how to finish in my terminal: export REKA_API_KEY with a key from https://developer.reka.ai/keys (never paste the key here), run `opencode service restart`, then start `opencode` and pick GLM 5.3 Flash with /models.
```

1. Paste the prompt into OpenCode. Here it runs on Big Pickle, one of OpenCode's free models.

   ![OpenCode's start screen with the pasted prompt shown as [Pasted ~9 lines], on Big Pickle from OpenCode](https://developer.reka.ai/_next/static/immutable/media/self-setup-1-paste.0t85itbruivb7.png)

2. OpenCode checks its version and downloads Reka's provider file with curl.

   ![OpenCode's reply: step 1, opencode --version shows v2.3.2; step 2, curl downloads https://developer.reka.ai/install/opencode/opencode.json; it will use only providers.reka](https://developer.reka.ai/_next/static/immutable/media/self-setup-2-working.3wg8l9nx7l8s6.png)

3. It backs up your config, adds only Reka's entry, checks the result, and lists what's left for you.

   ![OpenCode's summary: Reka added to the config with a backup at opencode.json.bak, valid JSON and nothing else changed; then export REKA_API_KEY, opencode service restart, opencode, and /models to pick GLM 5.3 Flash (Reka)](https://developer.reka.ai/_next/static/immutable/media/self-setup-3-done.2gltuyrvkivca.png)

4. In your terminal, with REKA_API_KEY exported, restart OpenCode's service.

   ![A terminal: REKA_API_KEY is set, and opencode service restart prints the service's local address](https://developer.reka.ai/_next/static/immutable/media/self-setup-4-restart.0dak_4bxlq47m.png)

5. Start opencode, type /models, search for GLM 5.3 Flash and pick the one marked Reka, not OpenCode's free one.

   ![OpenCode's Select model dialog filtered to glm 5.3 flash: GLM-5.3-Flash Free from OpenCode, and GLM 5.3 Flash from Reka, selected](https://developer.reka.ai/_next/static/immutable/media/self-setup-5-models.000hp63tcs4lw.png)

6. GLM 5.3 Flash answers from Reka.

   ![OpenCode on GLM 5.3 Flash from Reka, answering with print(*range(1, 6))](https://developer.reka.ai/_next/static/immutable/media/self-setup-6-reply.1e6vh5r3g5p7g.png)

*From a real run on 18 November 2026 with OpenCode 2.3.2. The key was already exported, so the restart picked it up.*

### Or set it up yourself

Four steps in a terminal.

#### 1. Check you have OpenCode 2

```bash
opencode --version
```

The version should start with **2**. If OpenCode is missing or older, install OpenCode 2 with the steps on [OpenCode's docs](https://opencode.ai/docs).

You also need a Reka API key from the [API keys](https://developer.reka.ai/keys) page.

#### 2. Add Reka to OpenCode's config

First check whether you already have an OpenCode config:

```bash
ls ~/.config/opencode/opencode.json
```

**No such file?** Download Reka's provider file as your config:

```bash
curl -fsSL --create-dirs -o ~/.config/opencode/opencode.json \
  https://developer.reka.ai/install/opencode/opencode.json
```

**Already have one?** Don't download over it. Instead, add the `reka` entry from the `providers` object of [Reka's file](https://developer.reka.ai/install/opencode/opencode.json) to the `providers` object in yours, or paste the prompt from [Let OpenCode set itself up](https://developer.reka.ai/integrations/agents#opencode-agent) into OpenCode and let it merge the file.

**What's in the file?**

- Reka's address, `https://api.reka.ai/v1`, and the five models with their context windows, image input, prices and reasoning levels. It names the `REKA_API_KEY` variable and never holds a key.
- OpenCode 2 reads its `providers` block. The `provider` block is for OpenCode 1, which ignores the other one.
- To use Reka in one project only, save the file as `opencode.json` in that project's folder instead.

#### 3. Set your key

```bash
export REKA_API_KEY="your-key"
opencode service restart
```

OpenCode 2 runs a background service that keeps the settings it started with, so restart it after setting the key. To keep the key in new terminals, add the `export` line to your shell profile, such as `~/.zshrc`.

#### 4. Pick a Reka model

```bash
opencode
```

Type `/models`, search for **GLM 5.3 Flash** and pick the one marked **Reka**. OpenCode then asks for a reasoning level; **Default** leaves it to the model.

Done when the line under the prompt reads **GLM 5.3 Flash Reka**. Send a message to try it.

> To send one message from the shell without opening OpenCode: `opencode run -m reka/glm5.3-flash "Say hello in one sentence."`

**Which reasoning level?**

- Reasoning level is how much the model thinks before it answers. Higher levels can help with harder tasks but reply more slowly and use more tokens; `none` turns thinking off.
- With **Default**, OpenCode leaves `reasoning_effort` out of the request and each model uses its own default. GLM 5.3 Flash thinks by default, while Qwen3.8 27B answers without thinking until you pick a level; [Reasoning](https://developer.reka.ai/chat/reasoning) covers each model. Any other level you pick goes to Reka as `reasoning_effort`.

### Update or remove

When Reka adds models, copy the new `reka` entry from [Reka's file](https://developer.reka.ai/install/opencode/opencode.json) over yours, or download the file again if Reka is all you have in it. To remove Reka, delete the `reka` entry from `providers`.

### Troubleshooting

| Message | Fix |
| --- | --- |
| `Error: Unauthorized` | Reka rejected the key, or got none. Export `REKA_API_KEY` and run `opencode service restart` in the same terminal: the background service only has the key it started with. Create a key on the [API keys](https://developer.reka.ai/keys) page if you need one. |
| `Unrecognized flag: -m in command opencode` | That command is for OpenCode 1. In OpenCode 2, start `opencode` and pick the model with `/models`, or send one message with `opencode run -m reka/glm5.3-flash "…"`. |
| `retrying (attempt 2): The model is at capacity` | Reka is busy for a moment. OpenCode waits and tries again on its own; if it keeps happening, pick another Reka model with `/models`. |

## Install Reka for Pi

Add Reka to Pi with one file, then pick from five Reka models with /model. Three steps.

Video walkthrough: https://developer.reka.ai/install/pi/setup.mp4 (captions: https://developer.reka.ai/install/pi/setup.vtt)

### Quickstart in the terminal

Three steps in a terminal.

#### 1. Check your setup

You need [Pi](https://pi.dev) 1.4 or newer and a Reka API key from the [API keys](https://developer.reka.ai/keys) page.

```bash
pi --version
```

**New to Pi?**

- `npm install -g @earendil-works/pi-coding-agent` installs it; it needs Node 22.19 or newer.

#### 2. Add Reka to Pi

```bash
curl -fsSL --create-dirs -o ~/.pi/agent/extensions/reka.ts https://developer.reka.ai/install/pi/reka.ts
```

This saves one file, `reka.ts`, in Pi's extensions folder, where Pi loads it at startup. It's code that runs inside Pi, so [read it](https://developer.reka.ai/install/pi/reka.ts) first: it describes Reka's address and five models, with their context windows, image input, prices and thinking levels, and never holds a key.

#### 3. Start Pi on Reka

```bash
export REKA_API_KEY="your-key"
pi --model reka/glm5.3-flash
```

Done when the line under the prompt ends in **glm5.3-flash • medium**. Send a message; `/model` switches between the five Reka models.

**Which thinking level?**

- Thinking level is how much the model reasons before it answers. Higher levels can help with harder tasks but reply more slowly and use more tokens; `off` is the fastest.
- Pi starts at `medium`; **Shift+Tab** cycles the level. Pi sends it as Reka's `reasoning_effort`, one to one: `off` sends `none`, which turns thinking off.

**Keep the key in Pi instead?**

- Run `/login`, choose **Sign in with an API key**, then **Reka**. Pi saves the key in `~/.pi/agent/auth.json` and uses it before `REKA_API_KEY`. The key shows as you type it, so paste it where no one can see your screen.

### Other ways to set up

This replaces step 2; open it only if you'd rather not install code.

#### Plain configuration instead of code (Instead of step 2)

The same five models work as plain Pi configuration, with nothing that runs inside Pi:

```bash
[ -e ~/.pi/agent/models.json ] && echo "~/.pi/agent/models.json already exists: add the reka provider to it by hand" || curl -fsSL --create-dirs -o ~/.pi/agent/models.json https://developer.reka.ai/install/pi/models.json
```

If you already have `~/.pi/agent/models.json`, the command says so and changes nothing: copy `providers.reka` from [the file](https://developer.reka.ai/install/pi/models.json) into the `providers` object in yours. You then update the model list by hand.

### Update or remove

To update, run the step 2 command again. To remove Reka from Pi, delete the file:

```bash
rm ~/.pi/agent/extensions/reka.ts
```

If you chose plain configuration instead, update or remove the `reka` provider in `~/.pi/agent/models.json` by hand; the step 2 command would add the extension as well.

### Troubleshooting

| Message | Fix |
| --- | --- |
| `No API key found for reka` | Export `REKA_API_KEY` in the terminal that starts Pi, or save the key with `/login`. Create a key on the [API keys](https://developer.reka.ai/keys) page if you need one. |
| `No models available` | Pi hides providers without a key. Export `REKA_API_KEY` in this terminal, or save the key with `/login`. |
| `401: {"message":"Unauthorized", …}` | Reka rejected the key. Check `REKA_API_KEY`, or create a key on the [API keys](https://developer.reka.ai/keys) page. |

## Install Reka for Unity

Drive the Unity Editor from Claude Code on Reka. The Unity CLI gives Claude Code the Editor's tools, and its model calls go to Reka. Three steps once Unity 6.3 and Claude Code are installed.

Video walkthrough: https://developer.reka.ai/install/unity/setup.mp4 (captions: https://developer.reka.ai/install/unity/setup.vtt)

### Quickstart with Claude Code

Three steps in a terminal, once Unity 6.3 and Claude Code are installed.

#### 1. Check your setup

You need Unity 6.3, Claude Code set up for Reka (the [Claude Code guide](https://developer.reka.ai/integrations/agents#claude-code) does it), and the Unity CLI. This guide was checked with Unity CLI 1.0.0-beta.15.

```bash
curl -fsSL https://unity.com/install.sh | bash
unity --version
```

> Unity CLI versions before 1.0.0-beta.15 gave several of the Editor's tools the same name, and those tools failed.

#### 2. Connect Unity to Claude Code

In your Unity project's folder:

```bash
unity pipeline install && unity mcp configure claude-code
```

`unity pipeline install` adds Unity's Pipeline package to the project, which lets the CLI reach the open Editor; Unity loads it when the project opens. `unity mcp configure claude-code` registers the CLI's MCP server with Claude Code, as `unity-editor-mcp` for all your projects, by running `claude mcp add` for you.

#### 3. Ask Claude Code about your scene

Open the project in the Unity Editor. Then, in a terminal with Claude Code's Reka settings from the [Claude Code guide](https://developer.reka.ai/integrations/agents#claude-code), start Claude Code in the project's folder:

```bash
claude "List the GameObjects in the open scene."
```

Claude Code calls the Editor's tools and answers from what they return. Done when the reply follows a `unity-editor-mcp` tool call: an answer without one was read from the scene file, so the Editor isn't connected yet (see Troubleshooting). The tools come from the open Editor, so keep Unity running while you work.

**Does Claude Code ask before it uses a Unity tool?**

- It depends on Claude Code's permission mode. In auto mode, the default in recent versions, Claude Code checks each tool call itself: it runs the calls it judges low-risk and blocks the rest, without asking you. Those checks are extra model calls on your Reka key. In the other modes it asks before a tool runs, or runs what you've allowed. **Shift+Tab** switches modes.
- The Editor's tools can change your scenes and assets, and some run code in the Editor, so choose the mode you're comfortable with for your project.
- The first time, Claude Code may show a notice that auto mode's checks stay billed when requests go through a provider such as Reka. Press **Enter** to continue.

#### Remove

To disconnect Claude Code, run `claude mcp remove unity-editor-mcp`. `unity pipeline install` added `com.unity.pipeline` to the project's `Packages/manifest.json`; delete that line to take the package out.

### Troubleshooting

| Message | Fix |
| --- | --- |
| `Claude Code has no Unity tools` | The tools come from the open Editor: with no Editor running, the server starts but offers none. Open the project in Unity, check that `unity pipeline install` ran in that project's folder, and start Claude Code from that folder. `unity status` lists the Editors the CLI can reach. |
| `A Unity tool fails with “names several commands”` | Unity CLI versions before 1.0.0-beta.15 gave several of the Editor's tools the same name. Update with `unity self-update`, the command the CLI suggests, then restart Claude Code. |
| `Unity tools time out, or the Editor is waiting on a dialog` | A dialog is open in the Unity Editor and the tools wait for it: Unity's Software Terms on a first launch, the Safe Mode question after a compile error, or a save dialog. Answer it in the Editor, then ask again. |
| `A tool call fails with “socket hang up” just after Claude Code changes a script` | Unity is recompiling and reloading its scripts, which restarts the connection for a few seconds. Ask again once Unity has finished; `unity status` shows when the Editor is ready. |
| `Model "glm5.3-flash" isn't recognized` | A warning from recent Claude Code versions, which don't know Reka's model names and assume a 200k-token context. Claude Code works normally (checked with 2.1.318); it plans its context around 200k tokens rather than the model's 1M. |
