> ## Documentation Index
> Fetch the complete documentation index at: https://docs.routeway.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenClaude

> Use OpenClaude terminal chat client with Routeway by adding a custom provider.

OpenClaude is an open-source terminal chat client. You can connect it to Routeway by adding a custom provider through the built-in `/providers` command.

<Note>
  Requires a valid Routeway API key. Get yours from the [dashboard](https://routeway.ai/dashboard/api-keys).
</Note>

***

## Setup

<Steps>
  <Step title="Install OpenClaude">
    Follow the installation instructions at [github.com/Gitlawb/openclaude](https://github.com/Gitlawb/openclaude).
  </Step>

  <Step title="Launch OpenClaude">
    ```bash theme={null}
    openclaude
    ```
  </Step>

  <Step title="Open the providers menu">
    Type `/providers` and press Enter.
  </Step>

  <Step title="Add a custom provider">
    From the list, select **Add provider**. Then scroll through the provider list using arrow keys until you see **Custom** and press Enter.
  </Step>

  <Step title="Configure the provider">
    Fill in the prompts as follows:

    | Prompt                | Value                                                                            |
    | --------------------- | -------------------------------------------------------------------------------- |
    | **Provider name**     | Any label, e.g. `Routeway`                                                       |
    | **Base URL**          | `https://api.routeway.ai/v1`                                                     |
    | **Default model**     | A model ID from [routeway.ai/models](https://routeway.ai/models), e.g. `gpt-4.1` |
    | **API mode**          | `Chat Completions`                                                               |
    | **Auth header**       | Skip (press Enter)                                                               |
    | **Auth header value** | Skip (press Enter)                                                               |
    | **API key**           | Your Routeway API key                                                            |
    | **Custom headers**    | Skip (press Enter)                                                               |
  </Step>

  <Step title="Start chatting">
    Select your new Routeway provider and begin your conversation.
  </Step>
</Steps>

***

## Reference

| Setting  | Value                                   |
| -------- | --------------------------------------- |
| Base URL | `https://api.routeway.ai/v1`            |
| API mode | Chat Completions                        |
| Auth     | API key field only (skip header fields) |

***

## Example Prompts

* *"Explain this code snippet and suggest improvements."*
* *"Write a Python function that does X."*
* *"Summarize the key differences between A and B."*
