# Roo Code

Roo Code is an AI-powered coding assistant that integrates directly into your development environment, enabling you to interact with large language models (LLMs) for tasks such as code generation, refactoring, explanation, and debugging. It provides a configurable interface for selecting different model providers while maintaining a consistent, OpenAI-compatible interaction layer.

Roo Code supports OpenRouter as an API provider, allowing you to access a wide range of language models, including **Arcee AI's Trinity models,** through a single unified endpoint. This setup simplifies configuration, enables rapid experimentation across models, and centralizes authentication, usage tracking, and cost management.

This guide walks through how to configure Roo Code to use Trinity models via OpenRouter.

***

**Prerequisites**

* OpenRouter Account
  * If you don't have an account, set one up [here](https://openrouter.ai/).
* OpenRouter API Key
  * If you don't have an API Key, create one [here](https://openrouter.ai/settings/keys).

**Quickstart**

**Configure OpenRouter in Roo Code**

1. Open **Roo Code Settings**
   1. Click the gear icon (⚙️)  in the Roo Code panel
2. Select API Provider
   1. Choose **OpenRouter** from the *API Provider* dropdown
3. Enter API Key
   * Paste your OpenRouter API key into the **OpenRouter API Key** field
4. Select Model
   * Choose an Arcee **Trinity** model (example: Trinity-Large) from the *Model* dropdown

Once saved, Roo Code will route all requests through OpenRouter using the selected Arcee model.
