Integrations

AI Agents & Developer Tools

Power your favorite AI agents and developer tools with Reka’s high-performance inference. Connect directly using your Reka API key.

How it works

Coding agents and developer tools talk to a model provider over an API. Most let you change the base URL and key, so you can point them at Reka and keep everything else the same: the tool runs on a Reka model, and usage is billed to your Reka account at the model’s per-token rate.

Tools that speak the OpenAI API use https://api.reka.ai/v1; tools built for Anthropic’s API, such as Claude Code, use https://api.reka.ai with the Anthropic-compatible /v1/messages endpoint. Either way you need an API key and a model from the catalog.

Claude Code

Claude Code is Anthropic’s coding agent for your terminal. Point it at Reka’s Anthropic-compatible API and it runs on GLM 5.3 Flash, billed to your Reka account. Three steps, a few minutes.

1. Install Claude Code

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

Show how to install Claude Code

On macOS, Linux or WSL, run Anthropic’s installer:

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

Open a new terminal and check that it worked:

claude --version

Done when it prints a version, such as 2.1.299 (Claude Code). On Windows PowerShell, install with irm https://claude.ai/install.ps1 | iex. For Homebrew and other options, see Anthropic’s setup guide. You don’t need an Anthropic account: Claude Code signs in to Reka with your Reka key.

2. Point Claude Code at Reka

Claude Code talks to Anthropic unless told otherwise. A few settings tell it where to send requests, which key to use and which model to ask for. Run these in the terminal where you’ll use Claude Code:

  1. Create a key on the API keys page and copy it.

  2. Save the key in your terminal. Replace paste-your-key-here with your key and keep the quotes:

    export REKA_API_KEY="paste-your-key-here"
  3. Paste the Reka settings. The last line, claude, starts Claude Code:

    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
  4. The first time, Claude Code asks three setup questions:

    • Colour theme: press Enter to keep the default.
    • Security notes: press Enter to continue.
    • Trust this folder: press ↓ to select Yes, I trust this folder, then Enter. The default, No, exit, closes Claude Code.
  5. Check the header. It shows glm5.3-flash · API Usage Billing:

    Terminal: Claude Code v2.1.299 header reading glm5.3-flash · API Usage Billing, with a prompt typed
    Claude Code on GLM 5.3 Flash. ⋯ marks output left out.

Claude Code may note that it doesn’t recognise glm5.3-flash; that’s harmless. If the header shows a Claude model or asks you to log in, see Troubleshooting.

On Windows PowerShell
$env:REKA_API_KEY = "paste-your-key-here"
$env:ANTHROPIC_BASE_URL = "https://api.reka.ai"
$env:ANTHROPIC_AUTH_TOKEN = $env:REKA_API_KEY
$env:ANTHROPIC_MODEL = "glm5.3-flash"
$env:ANTHROPIC_DEFAULT_OPUS_MODEL = "glm5.3-flash"
$env:ANTHROPIC_DEFAULT_SONNET_MODEL = "glm5.3-flash"
$env:ANTHROPIC_DEFAULT_HAIKU_MODEL = "glm5.3-flash"
$env:ANTHROPIC_DEFAULT_FABLE_MODEL = "glm5.3-flash"
$env:CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = "1"
claude

How to set up Claude Code to use Reka API: Tutorial Video

The setup in a minute, recorded against api.reka.ai with Claude Code 2.1.300: install, then each Reka setting explained (the video pauses there), the first-run questions, and the first prompt. The installer's download and the 59-second reply are sped up where marked; the clock shows real time.

How the settings work

ANTHROPIC_BASE_URLSends Claude Code's requests to Reka instead of Anthropic. Claude Code adds /v1/messages to it.
ANTHROPIC_AUTH_TOKENYour Reka API key, sent as a bearer token. Reading it from REKA_API_KEY keeps the key itself out of the command.
ANTHROPIC_MODELThe model for your conversation: glm5.3-flash.
ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL, ANTHROPIC_DEFAULT_FABLE_MODELWhat 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_TRAFFICOptional. Turns off Claude Code's own telemetry and update checks.

The export lines last for that terminal only. To use Reka in every new terminal, add the REKA_API_KEY line and the settings (without the final claude) to your shell profile, such as ~/.zshrc or ~/.bashrc, with the key line first. To undo it, see Switch back to Anthropic.

Claude Code sends its whole system prompt and tool list with every request, so each request carries a large prompt, and more with extra tools and MCP servers. Track spending on the Usage & billing page.

3. Try it

Ask for something you can see:

Build index.html: 20 numbered, colourful balls bouncing inside a spinning hexagon.
Real physics: gravity, friction, ball-to-ball and wall collisions.
Single file, canvas only, no libraries. Just write the file, don't open it.
Browser window: 20 numbered, coloured balls resting at the bottom of a rotating neon hexagon
The page Claude Code wrote from this prompt, running in a browser.

Or have it write code, test it and fix what fails:

Create textstats.py, a CLI that prints the line, word and character counts of a file,
and test_textstats.py with pytest tests. Run the tests with python3 -m pytest -q
and fix anything that fails. Keep all files inside this folder.
Terminal: Done, all 13 tests pass; the one failure was the model's own miscounted test expectation, which it fixed; worked for 18s
It caught its own wrong test, fixed it, and finished with 13 tests passing.

Switch back to Anthropic

Open a new terminal without the Reka lines, or run this in the current one:

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

If you added the lines to ~/.zshrc or ~/.bashrc, delete them there too, then open a new terminal. Start claude and run /status: with no Anthropic base URL line, Claude Code is back on Anthropic and uses your saved Claude login. If you ran /logout during setup, run /login.

Troubleshooting

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.

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, then try again; a new key will not fix it.

HTTP 429

Too many requests at once. Wait a moment, then try again.

Hermes Agent

Verified in the Hermes plugin catalog

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

Prefer video instructions? Jump to the video. Rather use the browser or the desktop app? See other ways to set up.

Quickstart in the terminal

Four commands in one terminal, about two minutes.

1. Check your setup

You need Hermes 0.22.3 or newer (hermes update gets you there) and a Reka API key from the API keys page.

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

hermes plugins install reka-provider --enable

Hermes shows reka-provider [verified] from its catalog. 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 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).

3. Make Reka your provider

Installing doesn't switch providers, so run:

hermes model

Choose Reka near the end of the list, then press Enter to keep your key and Reka's address. Pick deepseek41-flash, then press Enter to keep the highlighted reasoning level (medium on a new setup); a model without reasoning levels, such as ergo, skips that question. 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 Reasoning effort set to: and your level, or Default model set to: … (via Reka) for a model without levels.

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: pick deepseek41-flash. On a new setup the first model in the list is highlighted; move to deepseek41-flash if it isn't already selected, 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. A model without reasoning levels, such as ergo, doesn't ask.

Which model and reasoning level?

Eight models: deepseek41-flash (DeepSeek V4.1 Flash), glm5.3 (GLM 5.3), glm5.3-flash (GLM 5.3 Flash), qwen3.6-27b (Qwen3.6 27B), qwen3.8-27b (Qwen3.8 27B), deepseek41-flash-20261017 (DeepSeek V4.1 Flash 1017), ergo (Amazon Ergo) and kimi-k3.1-pro (Kimi K3.1 Pro). This guide uses deepseek41-flash; use your model's name wherever it appears. The screenshots and the video may show an older model, and the steps are the same.

deepseek41-flash, glm5.3-flash, qwen3.8-27b, deepseek41-flash-20261017 and kimi-k3.1-pro read images; glm5.3, qwen3.6-27b and ergo take text only.

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 (none in the list does the same), and Skip keeps the current setting. The levels come from Reka's model list, so they vary by model: Amazon Ergo (ergo) has none to pick and always thinks before it answers.

To go back to another provider later, run hermes model again and choose it. To try Reka without switching, skip this step: see Extras.

4. Start chatting

hermes chat

Or check the connection with one message:

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
Qwen 3.8 27B replying on Hermes 0.22.5, reasoning at medium. ⋯ marks output left out.

New Reka models show up in hermes model on their own. For fixes to the plugin itself, run hermes plugins update reka-provider every few weeks: see Update or remove.

Video walkthrough

Steps 1 to 4 in a real terminal, recorded on 3 December 2026 against api.reka.ai with Hermes 0.23.6 and the verified plugin 1.1.0. The key goes in at step 2 and shows as asterisks; at step 3, the first characters of it that Hermes shows are masked. Reasoning is on at medium. The install waits play faster where marked. The recording may show an older model; the steps above use `deepseek41-flash`.

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 versionInstead 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:

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 dashboardInstead 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:

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
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 deepseek41-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
This picture is from plugin 1.0.3. Choose the model named in the steps above; the picker follows the models Reka currently serves.

Done when Main model reads reka · deepseek41-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, 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.

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
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
The key shows as dots. This one is a dummy.

Choose the model. In Settings → Model → Main model, choose Reka, then deepseek41-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
This picture is from plugin 1.0.3. Choose the model named in the steps above; the picker follows the models Reka currently serves.

Chat. Start a new session (⌘N). The model picker in the message box shows DeepSeek V4.1 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
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).

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 appsOptional

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:

hermes chat -m reka:deepseek41-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:

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

New Reka models need no update: the plugin reads Reka's model list whenever Hermes lists models, and again when a session starts with a saved list over a day old. Fixes to the plugin itself arrive in plugin updates, which don't install on their own, and Hermes doesn't tell you when one is out, so run these every few weeks:

hermes plugins update reka-provider
hermes model --refresh

The refresh reads Reka's model list again right away. 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.

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

hermes plugins remove reka-provider

Troubleshooting

'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).

Hermes still uses another provider

Installing the plugin doesn't switch providers. Run hermes model and choose Reka (step 3).

Amazon Ergo or another new Reka model is missing from hermes model

Run hermes model --refresh. Still missing? Plugin versions before 1.1.0 have a fixed model list (hermes plugins list shows yours): run hermes plugins update reka-provider, then hermes model --refresh. Models without tool calling, or with less than 64K tokens of context, are never listed, because Hermes's agent can't run on them.

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.

OpenClaw

Approved on ClawHub

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

Rather chat in the browser? See other ways to set up.

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 page. Current OpenClaw releases need Node 24.22.1 or newer within 24.x, or Node 26.12.1 or newer.

node --version
openclaw --version

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

2. Install the approved plugin

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.

3. Add your API key

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 DeepSeek V4.1 Flash:

openclaw models set reka/deepseek41-flash

Done when you see Default model: reka/deepseek41-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/deepseek41-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/deepseek41-flash and OpenClaw uses that key.

Terminal: the Reka key prompt shows dots, then Default model set to reka/deepseek4-flash
The key shows as dots. ⋯ marks output left out.

4. Start chatting

openclaw chat

OpenClaw opens a chat in this terminal; nothing else needs to run. Type a message and press Enter. The status line shows deepseek41-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.

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 dashboardInstead 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:

openclaw gateway

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

openclaw dashboard

Send a message. The model below the message box reads DeepSeek V4.1 Flash. Click it to choose another model.

OpenClaw dashboard showing a reply from DeepSeek V4 Flash, done in 3 seconds
A reply from DeepSeek V4 Flash through the plugin.

Update or remove

openclaw plugins update reka

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

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

Troubleshooting

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.

OpenCode 2

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

Prefer video instructions? Jump to the video.

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, then pick a Reka model.

Prompt
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 DeepSeek V4.1 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
  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
  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)
  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
  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
  6. GLM 5.3 Flash answers from Reka.
    OpenCode on GLM 5.3 Flash from Reka, answering with print(*range(1, 6))

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

opencode --version

The version should start with 2. If OpenCode is missing or older, install OpenCode 2 with the steps on OpenCode's docs.

You also need a Reka API key from the API keys page.

2. Add Reka to OpenCode's config

First check whether you already have an OpenCode config:

ls ~/.config/opencode/opencode.json

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

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 to the providers object in yours, or paste the prompt from Let OpenCode set itself up into OpenCode and let it merge the file.

What's in the file?

Reka's address, https://api.reka.ai/v1, and the ten 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

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

opencode

Type /models, search for DeepSeek V4.1 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 DeepSeek V4.1 Flash Reka. Send a message to try it.

To send one message from the shell without opening OpenCode: opencode run -m reka/deepseek41-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 and Reka Flash 3 think by default. The other reasoning models answer without thinking until you pick a level. Reasoning covers each model. Any other level you pick goes to Reka as reasoning_effort.

Video walkthrough

Steps 1 to 4 in a real terminal, recorded on 12 November 2026 against api.reka.ai with OpenCode 2.2.7. The key was already exported, and the wait for the reply plays at double speed.

Update or remove

When Reka adds models, copy the new reka entry from Reka's file 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

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 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/deepseek41-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.

Pi

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

Prefer video instructions? Jump to the video. Rather use plain configuration than code? See other ways to set up.

Quickstart in the terminal

Three steps in a terminal.

1. Check your setup

You need Pi 1.4 or newer and a Reka API key from the API keys page.

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

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 first: it describes Reka's address and ten models, with their context windows, image input, prices and thinking levels, and never holds a key.

3. Start Pi on Reka

export REKA_API_KEY="your-key"
pi --model reka/deepseek41-flash

Done when the line under the prompt ends in deepseek41-flash • medium. Send a message; /model switches between the ten 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.

Video walkthrough

Steps 1 to 3 in a real terminal, recorded on 4 November 2026 against api.reka.ai with Pi 1.5.0. The wait for the reply plays at double speed.

Other ways to set up

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

Plain configuration instead of codeInstead of step 2

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

[ -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 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:

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

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 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 page.

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.

Prefer video instructions? Jump to the video.

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 does it), and the Unity CLI. This guide was checked with Unity CLI 1.0.0-beta.15.

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:

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, start Claude Code in the project's folder:

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.

Video walkthrough

Steps 1 to 3 in a real terminal, recorded on 4 November 2026 against api.reka.ai with Unity 6.3, Unity CLI 1.0.0-beta.15 and Claude Code 2.1.318 in its default auto mode. Unity's start-up and Claude Code's work play faster where marked; the Editor's Game view shows the result just before the closing card.

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

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.

Any other tool

For a tool without a guide above, these are the settings an OpenAI-compatible provider needs. The tools above are the ones we have tested on Reka.

Base URLhttps://api.reka.ai/v1
API keyYour Reka key from the API keys page, best kept in the REKA_API_KEY environment variable.
Model IDdeepseek41-flash, or another model below

Tools built for Anthropic’s API use https://api.reka.ai with the same model as the Claude Code guide.

ModelModel IDContext windowImage input
DeepSeek V4.1 Flashdeepseek41-flash1MYes
GLM 5.3glm5.31MNo
GLM 5.3 Flashglm5.3-flash1MYes
Qwen3.6 27Bqwen3.6-27b262kNo
Qwen3.8 27Bqwen3.8-27b262kYes
Reka Edge 2603reka-edge-260316kYes
Reka Flash 3reka-flash-364kNo
DeepSeek V4.1 Flash 1017deepseek41-flash-202610171MYes
Amazon Ergoergo1MNo
Kimi K3.1 Prokimi-k3.1-pro1MYes

Reasoning effort is how much a model thinks before it answers. Reka reads it as reasoning_effort: none turns thinking off, and minimal through max think progressively longer, which can help with harder tasks but replies more slowly and uses more tokens. Tools that send no level get each model’s own default.

Next steps