Roo Code
Roo Code is a VS Code extension configured through its settings panel. It reaches Inferray through the OpenAI Compatible provider.
Configure the provider
| Field | Value |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://api.inferray.com/v1 |
| API Key | inferray_... |
| Model | any id from the catalogue, such as claude-sonnet-5 |
Inferray answers GET /v1/models with the catalogue, so the dropdown can fill itself. If it doesn't, type the id in — the models page has every one.
Fill in the model configuration
The optional Model Configuration section takes max output tokens, context window, image support, and input/output price. Roo Code uses these for context management and cost display rather than sending them upstream, so set them from the model's own page — the models list links to each one. Using the Inferray prices there makes its cost readout match what you are charged.
Tool calling is required
Roo Code states plainly that the model you pick must support OpenAI-compatible tool calling — there is no fallback path for models that don't. Every model in the catalogue does, and each model page lists the capability, so check there if a run behaves oddly.
If a request fails
- 401 — the key is wrong or has stray whitespace
- 402 — the balance is too low; top up
- 404 naming the model — the id is misspelled, or that model isn't on this endpoint; the response lists the ones that are