Switch from OpenRouter to SuJin AI
This page is for people who already call models through OpenRouter and want to send GPT and Claude through SuJin AI instead. The full comparison with official OpenAI, official Anthropic, OpenRouter, and self-hosted LiteLLM is on Compare. Here, only the config you change when switching.
Calls use ordinary HTTPS. The OpenAI-compatible base URL is https://sujinai.com/v1. The Anthropic protocol and Claude Code use https://sujinai.com, with no /v1 suffix.
What changes in the client
| Topic | OpenRouter | SuJin AI |
|---|---|---|
| Catalog on one key | Many providers and models | GPT and Claude only, today |
| OpenAI-compatible URL | https://openrouter.ai/api/v1 | https://sujinai.com/v1 |
| Anthropic base URL | See OpenRouter’s own docs | https://sujinai.com |
| Example model id | An id from its catalog, usually with a vendor prefix, such as openai/gpt-6.2-sol or anthropic/claude-sonnet-5.5 | A string from the SuJin catalog. Homepage examples: gpt-6.2-sol and claude-sonnet-5-5 |
| Billing | In the OpenRouter account, under its own terms | Usage-based USD at the rates on this site |
Lines to replace
An OpenAI-compatible client needs a new base URL, a new key, and a new model id. The key is created in the SuJin console. It is not an OpenRouter key. Take the model id from Pricing, not from an OpenRouter id that still has a vendor prefix.
# before
client = OpenAI(
api_key="OPENROUTER_KEY",
base_url="https://openrouter.ai/api/v1",
)
# after
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://sujinai.com/v1",
)
If Claude goes through the Anthropic SDK, the base URL has no /v1:
client = anthropic.Anthropic(
api_key="YOUR_API_KEY",
base_url="https://sujinai.com",
)
What this catalog does not include
One key here calls GPT and Claude only. If you still need Gemini, DeepSeek, or another provider, stay on OpenRouter or host your own gateway. The checked price comparison for overlapping models, including how OpenRouter’s standard list relates to official list prices, is on Compare. This page does not add another price table.
Switch
- Register at /register, create a key, and add credit at /purchase.
- Replace the base URL and key as in the samples above.
- Set a model id from the SuJin catalog and send a short request.
- If you are also choosing between official APIs and self-hosted LiteLLM, go back to Compare.
Related pages
FAQ
Is changing the base URL enough?
No. Change the URL, the key, and the model id. The key comes from SuJin. OpenAI-compatible clients use https://sujinai.com/v1. The Anthropic SDK uses https://sujinai.com.
Is the catalog the same as OpenRouter?
No. OpenRouter covers many providers. One SuJin key currently offers GPT and Claude only.
How is usage billed after the switch?
By the tokens you actually use, in USD, with no monthly fee. Rates are on Pricing and match the homepage cards.
Where is the comparison with the official APIs?
On Compare: official OpenAI, official Anthropic, OpenRouter, and self-hosted LiteLLM.
Register and create a key
Register with your email, create an API key in the console, then add credit. You can also reach [email protected].
Register to start Add credit