Plug it in. 11 tools, one address on your own computer.
The router speaks the OpenAI, Anthropic and Responses APIs on 127.0.0.1:7171, so the tools you already use only need a new base URL. No account and no API key: your wallet pays each provider per answer.
1Start the router
2Pick your tool
OpenAI Python
- Point the SDK at your router. Any API key works.
- Add :cheap, :fast, :trusted or :private to a model name to pick the route.
python
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:7171/v1", api_key="unused")
reply = client.chat.completions.create(
model="llama-3.3-70b:cheap",
messages=[{"role": "user", "content": "Hello from the network"}],
)
print(reply.choices[0].message.content)
print(reply.usage) # tokens, and cost: what this answer cost in USDC