Integrate RedRouter into the application in the current repository. If the user needs an account or key, follow the [signup and key guide](https://redrouter.org/auth.md).

1. Inspect the project's existing server-side inference client, configuration and test conventions. Reuse an OpenAI-compatible client if it already has one.
2. Point the RedRouter client at `https://redrouter.org/v1` and load its bearer token from `REDROUTER_API_KEY` at runtime. Keep other providers' keys and configuration separate. Browser and mobile apps should call their own backend.
3. Select a model explicitly. For an eligible free trial, use `red-cyber-1`. The public model catalog is available at [GET /v1/models](https://redrouter.org/v1/models).
4. Verify your integration with one short generation. Use the project's client to send the equivalent of this request. A successful response contains the answer in `choices[0].message.content`.

```sh
curl --fail-with-body 'https://redrouter.org/v1/chat/completions' \
  -H "Authorization: Bearer $REDROUTER_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"model":"red-cyber-1","messages":[{"role":"user","content":"Say hello in one sentence."}],"max_tokens":256}'
```

Each dispatched generation uses trial capacity or paid usage. On HTTP 401, ask the user to check the saved key. On HTTP 402, report the funding requirement and let the account owner decide. Report the files changed and the result of the request. Find further API guides in [llms.txt](https://redrouter.org/llms.txt).
