POST /v1/messages, which speaks Anthropic’s Messages API.
- The base URL is
https://inference.agentic.anchorage.com, without/v1. The client adds/v1/messagesitself. - The API key is the agent’s API key. Send it the way the client normally sends an Anthropic key.
modelis a Claude model’s identifier from the model list.
Claude Code
Set these environment variables before you start it:ANTHROPIC_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL to Claude models from the list, so every call Claude Code makes names a model the list prices.
An Anthropic SDK
Pass the same two values as the client’sbase_url (or baseURL) and api_key (or apiKey). The base URL has no /v1.
Long sessions
- A streamed response is cut off after 120 seconds. Set
CLAUDE_CODE_MAX_OUTPUT_TOKENSto keep long answers under that. - A request body is limited to 1.5 MiB. Run
/compactto shrink a long session.