---
title: "Roo Code after its shutdown: OpenAI Compatible setup"
description: "Roo Code was shut down in May 2026. Settings for existing installs and forks, and where to move next (Cline or the Zoo Code fork) with BroadNet Inference."
url: https://broadrouter.com/guides/roo-code-openai-compatible/
lang: en
updated: 2026-11-16
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Use Roo Code with BroadNet Inference (OpenAI Compatible)

Updated 2026-11-16

Roo Code was shut down on 15 May 2026, so new setups should use Cline or the community fork Zoo Code. In existing installs, set API Provider to OpenAI Compatible, Base URL to https://inference.broadnet.ai/v1, API Key to your BroadNet key, and Model to broadnet/glm-5.3. Roo Code needs native tool calling, so pick a model with tools.

> **Roo Code was shut down on 15 May 2026.** The [repository](https://github.com/RooCodeInc/Roo-Code) is archived and read-only. For a maintained agent, use [Cline with BroadNet Inference](https://broadrouter.com/guides/cline-openai-compatible/), or the community fork [Zoo Code](https://github.com/Zoo-Code-Org/Zoo-Code), which continues Roo Code’s codebase. The steps below still apply to existing Roo Code installs. See also [Cline vs Roo Code vs Aider](https://broadrouter.com/blog/cline-vs-roo-code-vs-aider/).

Roo Code is a coding agent for VS Code. Its **OpenAI Compatible** provider works with any endpoint that speaks the OpenAI chat-completions format, including BroadNet Inference at `https://inference.broadnet.ai/v1`. One rule shapes the setup: according to [Roo Code’s docs](https://roocodeinc.github.io/Roo-Code/providers/openai-compatible), it uses **native tool calling only**, with no XML fallback. The model you pick must support OpenAI-style tool calls.

## Setup

1.  **Get a BroadNet key.** A pay-as-you-go key works for every chat model. See [API keys and IP allow-lists](https://broadrouter.com/guides/api-keys-ip-allow-lists/).
    
2.  **Open Roo Code settings** with the settings icon in the Roo Code panel.
    
3.  **Set API Provider** to **OpenAI Compatible**.
    
4.  **Enter the connection.**
    
    | Field | Value |
    | --- | --- |
    | Base URL | `https://inference.broadnet.ai/v1` |
    | API Key | your BroadNet key |
    | Model | `broadnet/glm-5.3` |
    
5.  **Adjust Model Configuration.** Set **Context Window** to the model’s context from the table below. Set **Max Output Tokens** with room for reasoning; start with a few thousand. Turn on **Image Support** only for Qwen3.8 27B or DeepSeek V4.1 Flash. Enter **Input Price** and **Output Price** from the [pricing page](https://broadrouter.com/pricing/) if you want Roo’s cost estimate to match your bill.
    
6.  **Run a test task**, for example “list the files in this folder and summarize the README”. Roo Code will call its file tools. If those calls work, tool calling works.
    

## Which model to pick

| Model | ID | Context | Tools listed by BroadNet |
| --- | --- | --- | --- |
| GLM 5.3 | `broadnet/glm-5.3` | 1,048,576 | Yes |
| Qwen3.8 27B | `broadnet/qwen3.8-27b` | 262,144 | Yes, plus image input |
| DeepSeek V4.1 Flash | `broadnet/deepseek-v4.1-flash` | 1,048,576 | Not listed; takes images |

Start with [GLM 5.3](https://broadrouter.com/models/glm-5.3/). It has a 1M-token context and BroadNet lists tools and structured output for it. Use [Qwen3.8 27B](https://broadrouter.com/models/qwen3.8-27b/) when you want to paste screenshots or work in Arabic.

DeepSeek V4.1 Flash is the model on the unlimited plans. Because Roo Code needs native tool calls and BroadNet’s docs don’t list tools for it, test it before you rely on it. A Meteor hour costs $1 and is enough for a real task. BroadNet Gemma 4 VL 26B is also not listed with tools, so it is not a good fit for Roo Code.

## Troubleshooting

-   **401.** The key is missing, invalid or expired, or the pay-as-you-go allowance is used up. Re-enter the key and check your balance.
-   **The first request fails with a model error.** The **Model** value must match a BroadNet ID exactly, with the `broadnet/` prefix. GLM 5.3, Qwen3.8 27B and DeepSeek V4.1 Flash need a top-up; the $5 starting credit covers Gemma 4 VL 26B and the two Transcribe models.
-   **Tool-calling errors.** Switch to a model listed with tools. Roo’s docs note that partial tool support on the provider side causes these errors.
-   **Empty answers.** Reasoning counts toward the output limit. Raise **Max Output Tokens**. [Why answers come back empty](https://broadrouter.com/guides/reasoning-tokens-empty-response/).
-   **429.** Pay-as-you-go keys allow 30 requests a minute and 4 at once. Roo’s subtasks and a second VS Code window share that limit. See [errors and retries](https://broadrouter.com/guides/errors-and-retries/).
-   **Parallel tasks on a plan.** One [plan session](https://broadrouter.com/guides/unlimited-llm-api-sessions/) runs one request at a time. If you run an orchestrator and subtasks in parallel, each needs its own session, or they queue.

## Terms in this guide

[Tool calling](https://broadrouter.com/glossary/tool-calling/)

Tool calling, also called function calling, is an LLM API feature in which the model returns a structured request to run a function the developer has defined, with JSON arguments. The application runs the function and sends the result back; the model never runs code itself.

[Pay-as-you-go](https://broadrouter.com/glossary/pay-as-you-go/)

Pay-as-you-go is a pricing model in which you pay only for what you use, metered per unit such as tokens, requests or audio minutes, with no subscription or minimum commitment. Most LLM APIs bill this way, from a prepaid balance or a periodic invoice.

[Token](https://broadrouter.com/glossary/token/)

A token is the unit of text a language model reads and writes: a word, part of a word, a punctuation mark or a byte sequence produced by the model's tokenizer. LLM APIs count, limit and usually bill usage in tokens.

[API key](https://broadrouter.com/glossary/api-key/)

An API key is a secret string that identifies and authorizes a client calling an API. LLM APIs usually expect it in an Authorization: Bearer header, and anyone who holds the key can make requests that are billed to the account that owns it.

[Input and output tokens](https://broadrouter.com/glossary/input-and-output-tokens/)

Input tokens are the tokens a language model reads in a request, including the system prompt, conversation history, tool definitions and images. Output tokens are the tokens it generates in reply, including any reasoning. LLM APIs usually price them separately, and output usually costs more.

[AI coding agent](https://broadrouter.com/glossary/coding-agent/)

An AI coding agent is a software tool in which a language model works on a codebase in a loop: it reads files, edits them, runs commands such as tests, reads the output and decides the next step until the task is done or a limit is reached.

[Base URL](https://broadrouter.com/glossary/base-url/)

A base URL is the fixed root address of an API, such as https://api.example.com/v1, that a client puts in front of every endpoint path, such as /chat/completions. In OpenAI-compatible SDKs, changing the base URL, together with the API key and model ID, points the same code at a different provider.

[Concurrency](https://broadrouter.com/glossary/concurrency/)

Concurrency is the number of requests a client has in flight at the same time. LLM APIs often cap it per key or plan, separately from requests per minute, because each open request holds GPU capacity until its response has finished.

## Questions

### Is Roo Code still maintained?

No. Its GitHub repository was archived on 15 May 2026 and the README says the extension was shut down. It points users to Zoo Code (spelled ZooCode in the notice), a community fork, and to Cline. Existing installs keep working with the settings below, but they get no fixes.

### Why does Roo Code show tool-calling errors?

Roo Code uses native tool calling only, with no XML fallback. Use a model BroadNet lists with tools, such as broadnet/glm-5.3 or broadnet/qwen3.8-27b.

### Why does Roo Code get an empty reply?

The model used its output budget on reasoning. GLM 5.3, Qwen3.8 27B and DeepSeek V4.1 Flash reason first, and reasoning counts toward max\_tokens. Raise Max Output Tokens in Model Configuration.

### Can I use the unlimited DeepSeek plan with Roo Code?

The unlimited plans cover DeepSeek V4.1 Flash. BroadNet's docs don't list tool calling for it, and Roo Code requires tool calling, so test it on a Meteor hour before you buy a month.

## Related guides

-   [Use Cline with BroadNet Inference (OpenAI Compatible provider)](https://broadrouter.com/guides/cline-openai-compatible/)
-   [Why a reasoning model returns an empty answer](https://broadrouter.com/guides/reasoning-tokens-empty-response/)
-   [How the unlimited LLM API plans work for agents](https://broadrouter.com/guides/unlimited-llm-api-sessions/)
-   [BroadNet Inference error codes and when to retry](https://broadrouter.com/guides/errors-and-retries/)
-   [All tools that work with BroadNet Inference](https://broadrouter.com/integrations/): SDKs, coding agents, chat UIs and automation tools, with exact settings for each

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=guides-roo-code-openai-compatible&utm_content=page-cta) ·

**Sources**

-   [Roo Code GitHub repository (archived 15 May 2026, shutdown notice; checked 2026-11-14)](https://github.com/RooCodeInc/Roo-Code)
-   [Zoo Code GitHub repository, community fork that continues Roo Code (checked 2026-11-16)](https://github.com/Zoo-Code-Org/Zoo-Code)
-   [Roo Code docs, OpenAI Compatible providers (checked 2026-11-14)](https://roocodeinc.github.io/Roo-Code/providers/openai-compatible)
-   [BroadNet Inference API reference](https://inference.broadnet.ai/docs?utm_source=broadrouter&utm_medium=referral&utm_campaign=guides-roo-code-openai-compatible&utm_content=sources)
