Migrate from several separate provider accounts to TokenRex

Replace separate OpenAI, Anthropic and Google keys with one key and one wallet.

Steps

What to check after switching

Example

from openai import OpenAI

client = OpenAI(api_key="YOUR_TOKENREX_KEY", base_url="https://tokenrex.ai/api/public")

resp = client.chat.completions.create(
    model="gemini-4-argon",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
Get API keyCost calculatorDocs

Questions

Can I switch back?
Yes. Nothing is locked in: change the base URL and key back and your code keeps working.

Related