Docs

# Quickstart

Whiskers serves models through an OpenAI-compatible API. Anything that speaks OpenAI chat completions can use it with three values: the base URL, an API key, and a model name.

## Set up your coding agent

Recommended

The quickest way in. The setup script configures the coding agents on your computer in one command: it asks which ones and which model, checks your key, and writes each one's config, keeping what's already in it. Run it again to pick up new models, change the key, or undo it.

Linux, macOS, WSL 

```
curl -fsSL https://whiskers.nyuu.dev/setup.sh | sh
```

Windows PowerShell 

```
irm https://whiskers.nyuu.dev/setup.ps1 | iex
```

Faster still: create a key on the [Keys page](https://whiskers.nyuu.dev/keys) and choose your agent and model there. You get this command with all of it filled in, so it's copy, paste, and done.

## Guides for each agent

Each guide has both ways: the setup script for that agent, or its config to edit yourself, built from today's catalog and ready to paste.

-   [OpenCode An open-source terminal coding agent.](https://whiskers.nyuu.dev/docs/agents/opencode)
-   [pi A minimal, extensible terminal coding agent.](https://whiskers.nyuu.dev/docs/agents/pi)
-   [Crush Charm's terminal coding agent.](https://whiskers.nyuu.dev/docs/agents/crush)
-   [Aider AI pair programming in your terminal.](https://whiskers.nyuu.dev/docs/agents/aider)
-   [Other tools Cline, Roo Code, Kilo Code, Continue, Zed, and anything with an OpenAI-compatible provider.](https://whiskers.nyuu.dev/docs/agents/other)
-   [Codex OpenAI's terminal coding agent.](https://whiskers.nyuu.dev/docs/agents/codex)
-   [Claude Code Anthropic's terminal coding agent.](https://whiskers.nyuu.dev/docs/agents/claude-code)

## Call the API from your code

1.  1
    
    ### Create an API key
    
    Create a key on the Keys page. It is shown once, so keep it in an environment variable, where the examples here and the agent configs read it:
    
    ~/.zshrc 
    
    ```
    export WHISKERS_API_KEY=sk-...
    ```
    
    [Create an account](https://whiskers.nyuu.dev/register)
    
2.  2
    
    ### Send a first request
    
    Point any OpenAI SDK at the base URL. The official Python and JavaScript SDKs, LangChain, LiteLLM, and the coding agents above all work this way.
    
    Base URL
    
    `https://whiskers.nyuu.dev/v1` 
    
      
    
    ```
    curl https://whiskers.nyuu.dev/v1/chat/completions \
      -H "Authorization: Bearer $WHISKERS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Say hello in five words."}]}'
    ```
    
    Set WHISKERS\_API\_KEY to one of your keys. Any OpenAI-compatible client works with this base URL.
    
3.  3
    
    ### Pick a model
    
    The `model` field takes a name from [Models and pricing](https://whiskers.nyuu.dev/docs/models), which lists every model with its limits, features, and rates as they are right now.
    

## How requests are paid

Each request is paid from your subscription or from prepaid credits, decided when it starts. Failed and cancelled requests cost nothing. [Pricing](https://whiskers.nyuu.dev/pricing) shows what each plan buys of each model.
