# Openrouter: Auto Code

- Model id: `openrouter/auto-code`
- Served by: -
- List price per 1M tokens, input / output, from: -, with 0% platform fee. A request is billed at the list price of the host that served it.
- Context: 2M
- Prices read 2026-11-15 09:33 UTC
- Page: https://plaingateway.com/models/openrouter/auto-code

Auto Code is OpenRouter’s router built specifically for coding agents and harnesses. It uses the same routing engine as the [Auto Router](https://openrouter.ai/openrouter/auto), with every request treated as part of an...

## Hosts

| Host | Endpoint | In / out /M | Cache read /M | Context | Served |
|---|---|---|---|---|---|


## First request

```sh
curl https://api.plaingateway.com/api/v1/chat/completions \
  -H "Authorization: Bearer $PLAINGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openrouter/auto-code", "messages": [{"role": "user", "content": "Say hello in five words."}]}'
```

Sign up at https://plaingateway.com/signup (no card), create a key, send a test call, and add credits when you want more. New accounts may get a small starting credit. The whole bootstrap for agents: https://plaingateway.com/llms.txt
