# Which API to use with Cline

> Connect Cline to Outrun with one prepaid key for every model. 1,000 requests cost from $0.09. Settings, model prices and common fixes.

Add Outrun to Cline with the OpenAI Compatible provider at `https://api.outrun.to/v1`, then paste your Outrun key and a model ID. One prepaid key works for every model, and you pay per token with no subscription. 1,000 requests cost from $0.09 on Claude Haiku 5.5 route 2.

## How do I connect Cline?

These are the settings from the [Cline setup guide](https://outrun.to/docs/setup/cline), which walks through each step.

**Cline settings**

```
API Provider: OpenAI Compatible
Base URL: https://api.outrun.to/v1
API Key: your Outrun key
Model ID: claude-sonnet-5
```

## Which models fit my budget?

Models from the setup guide plus the lowest-cost general models, sorted by the cost of 1,000 requests.

**Models for Cline USD per 1M tokens**

| Model | Input | Output | Cached input | 1,000 requests |
| --- | --- | --- | --- | --- |
| Claude Haiku 5.5 (2) `claude-haiku-5-5-2` | $0.02 | $0.10 | $0.01 | $0.09 |
| GLM-5.3 Flash (2) `glm-5.3-flash-2` | $0.05 | $0.05 | $0.01 | $0.13 |
| DeepSeek V4.1 Flash 1017 Fast `deepseek-v4.1-flash-1017-fast` | $0.03 | $0.18 | $0.01 | $0.13 |
| MiniMax M3.1 Flash `minimax-m3.1-flash` | $0.05 | $0.18 | $0.01 | $0.18 |
| GLM-5.3 (2) `glm-5.3-2` | $0.10 | $0.10 | $0.02 | $0.25 |
| GPT-6.1 Sol `gpt-6.1-sol` up to 272k tokens | $0.12 | $0.59 | $0.01 | $0.53 |
| Claude Sonnet 5.5 `claude-sonnet-5-5` | $0.49 | $2.45 | $0.03 | $2.21 |
| DeepSeek V4 Pro `deepseek-v4-pro` | $1.35 | $4.05 | $0.05 | $4.73 |
| Claude Sonnet 5 `claude-sonnet-5` | $1.12 | $5.60 | $0.12 | $5.04 |

1,000 requests = each request sends 2,000 input tokens and returns 500 output tokens, with no cache discount. Prices are per 1M tokens, rounded up to the cent, as of December 4, 2026.

Cline sends the task, file context and tool results on every step, so coding tasks use many input tokens. Cached input lowers the cost on models that list a cached price.

## Cline API questions

The [setup guide](https://outrun.to/docs/setup/cline) covers errors and context limits.

### Which API provider do I choose in Cline?

OpenAI Compatible, with Base URL https://api.outrun.to/v1, your Outrun key and a model ID. Do not add /chat/completions.

### Why does the Cline connection test fail?

The Base URL must be exactly https://api.outrun.to/v1 with nothing after /v1, and the Model ID must match an available ID exactly.

### How much does Cline cost with Outrun?

You pay per token from a prepaid balance. 1,000 requests of 2,000 input and 500 output tokens cost from $0.09 on Claude Haiku 5.5 route 2.

### Can I switch models later?

Yes. Change the model ID; the key and base URL stay the same.

### Does Outrun keep my prompts or outputs?

Outrun does not store your prompts, images or outputs unless you choose to save them.

## Related pages

- [Cline setup guide](https://outrun.to/docs/setup/cline)
- [401 Invalid API key in an OpenAI-compatible app](https://outrun.to/fix/openai-compatible-401-invalid-api-key)
- [OpenAI-compatible API](https://outrun.to/openai-compatible-api)
- [API for SillyTavern](https://outrun.to/api-for-sillytavern)
- [All model prices](https://outrun.to/pricing)
- [Get your API key](https://outrun.to/overview)

[Get your API key](https://outrun.to/key) [See all models and prices](https://outrun.to/pricing)
