From efbbefe58f7d5e116db404da9cd32974b7e15519 Mon Sep 17 00:00:00 2001 From: regimen9u <337808995+regimen9u@users.noreply.github.com> Date: Sun, 6 Dec 2026 14:26:57 +0300 Subject: [PATCH] docs: document Impact Relay OpenAI-compatible gateway setup Co-Authored-By: Claude Fable 5.2 --- docs/local-openai-compatible-providers.md | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/local-openai-compatible-providers.md b/docs/local-openai-compatible-providers.md index 256c813097..6b7bf202d5 100644 --- a/docs/local-openai-compatible-providers.md +++ b/docs/local-openai-compatible-providers.md @@ -378,6 +378,30 @@ curl -sS "https://api.trustedrouter.com/v1/models" \ See the [TrustedRouter docs](https://trustedrouter.com/docs) for keys and account setup. +## Impact Relay + +[Impact Relay](https://impact-relay.com) is a pay-per-token OpenAI-compatible gateway with one key and one prepaid balance for GPT, Claude, Gemini, Grok and other models. Set `OPENAI_BASE_URL` to `https://api.impact-relay.com/v1` and `OPENAI_API_KEY` to your Impact Relay key (`sk-imp-...`). + +```bash +export IMPACT_RELAY_API_KEY="sk-imp-..." +export OPENAI_BASE_URL="https://api.impact-relay.com/v1" +export OPENAI_API_KEY="$IMPACT_RELAY_API_KEY" +claw --model "local/deepseek-v4.1-flash-free" prompt "Reply exactly HELLO_WORLD_123" +``` + +Impact Relay ids are bare names without a vendor prefix (`gpt-6.2-sol`, `claude-sonnet-5-5`, `grok-4.7`, `deepseek-v4.1-flash-free`). Put `local/` in front of every one: the hatch selects the OpenAI-compatible transport and is removed, so the id goes out unchanged. Without it, a bare `claude-` id picks the native Anthropic route, a bare `grok-` id goes to xAI, and a bare `kimi-` id goes to DashScope. + +Claw asks for up to 64,000 output tokens on these routes. Impact Relay does not reject that on a model with a smaller output limit (for example `deepseek-v4.1-flash-free`, 32,000); the answer is simply bounded by the model's limit, listed as `max_output_tokens` in the catalog below. Ids that end in `-free` are priced at zero. + +The public model list does not need a key: + +```bash +curl -sS "https://api.impact-relay.com/v1/models" \ + | jq -r '.data[] | "\(.id)\t\(.context_length)\t\(.max_output_tokens)"' +``` + +See the [Impact Relay docs](https://impact-relay.com/docs) for keys and account setup. + ## Local skills install from disk Skills are discovered from Claw skill roots such as `.claw/skills/` in a workspace and `~/.claw/skills/` for user-level installs. Legacy `.codex/skills/` roots may also be scanned for compatibility, but new local Claw projects should prefer `.claw/skills/`.