Docs
Set up Claude Code
Every request goes to one base URL, https://manage.restolayer.com, with a key you create in the console (Keys). Models are named maker/model; the list is at https://manage.restolayer.com/v1/models and on the Models page. Each response carries the request's id (x-generation-id), the route it took (x-lg-route) and its cost in usage. Errors and empty answers are never charged.
Set two environment variables before starting it:
export ANTHROPIC_BASE_URL=https://manage.restolayer.com
export ANTHROPIC_AUTH_TOKEN=sk-lg-v1-…Pick the model as usual; requests and their cost appear in the console's request log.
Create a key in the console under Keys; give it a spending limit if an agent uses it.