install ยท OpenRouter clients

Wire OpenRouter clients into AdToken

Any OpenAI-compatible client pointed at OpenRouter โ€” gives you 100+ models, including the open ones AdToken Lane 3 funds.

1
Install AdToken
curl -fsSL https://limitlesstokens.com/install.sh | sh
adtoken init
2
Watch ads (Lane 3 is the main place AdToken-funded credits apply)
Each ad banks Tokens. Lane 3 open models burn the slowest โ€” a single ad funds many turns of Llama 4 / DeepSeek / Qwen coding.
adtoken earn
3
Use AdToken Open
Lane 3 is operator-funded โ€” no BYO key needed. AdToken's open wrapper points your client at the AdToken proxy.
adtoken open "explain this regex: /^[a-z]+$/i"
4
Or: configure your own client
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://limitlesstokens.com/v1/openrouter",
    api_key="unused",
    default_headers={"x-adtoken-user": os.environ["ADTOKEN_USER_ID"]},
)
resp = client.chat.completions.create(
    model="deepseek/deepseek-v4-pro",
    messages=[{"role": "user", "content": "hi"}],
)
print(resp.choices[0].message.content)
Need the upstream documentation for OpenRouter clients? https://openrouter.ai/docs/quickstart โ†—

โ† back to all tools