Tapix AI

Migrate from OpenRouter to Tapix AI

Both are OpenAI-compatible, so the migration is two values: the base URL and the key. Below is the exact configuration for the clients people actually run. No rewrites, no new SDK.

Five steps

  1. 1. Create a key
    Sign in, open the console, and copy your API key. Keys are per application so spend stays attributable.
  2. 2. Point the base URL at Tapix AI
    Every OpenAI-compatible client accepts a custom base URL. Nothing else in your code changes.
  3. 3. Run one real call
    Send a 16-token request and check the console: you should see the charge, in dollars, to six decimals.
  4. 4. Move the models you were routing
    List the model ids you used on OpenRouter and map each one to the equivalent id in /v1/models. Keep a fallback.
  5. 5. Top up and stop the old billing
    Prepaid from $1 means you can keep both providers live for a week and compare cost per task before switching traffic.

Copy-paste configuration

curl
curl https://tapixai.com/v1/chat/completions \
  -H "Authorization: Bearer $TAPIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-5",
    "messages": [{"role":"user","content":"Reply with the word OK"}],
    "max_tokens": 16
  }'
Python (official OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_TAPIX_KEY",
    base_url="https://tapixai.com/v1",
)

r = client.chat.completions.create(
    model="claude-sonnet-4-5",
    messages=[{"role": "user", "content": "Reply with OK"}],
    max_tokens=16,
)
print(r.choices[0].message.content)
Node (official OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.TAPIX_API_KEY,
  baseURL: "https://tapixai.com/v1",
});

const r = await client.chat.completions.create({
  model: "claude-sonnet-4-5",
  messages: [{ role: "user", content: "Reply with OK" }],
  max_tokens: 16,
});
console.log(r.choices[0].message.content);
LibreChat (.env)
# In librechat.yaml or .env, add a custom endpoint
# baseURL stays OpenAI-compatible; only the host and key change
OPENAI_API_KEY=YOUR_TAPIX_KEY
OPENAI_REVERSE_PROXY=https://tapixai.com/v1
Open WebUI
Settings -> Connections -> OpenAI API
  API Base URL : https://tapixai.com/v1
  API Key      : YOUR_TAPIX_KEY
Then click "Verify connection" and pick a model.
n8n (OpenAI node)
Credential type : OpenAI
  Base URL : https://tapixai.com/v1
  API Key  : YOUR_TAPIX_KEY
Model list loads automatically from /v1/models.
Dify (model provider)
Settings -> Model Provider -> OpenAI-API-compatible
  Model name  : claude-sonnet-4-5   (or any id from /v1/models)
  API endpoint: https://tapixai.com/v1
  API key     : YOUR_TAPIX_KEY
Environment variables (any tool)
export OPENAI_BASE_URL="https://tapixai.com/v1"
export OPENAI_API_KEY="YOUR_TAPIX_KEY"
# tools that respect these two variables need no other change
If a client only lets you set OPENAI_BASE_URL and OPENAI_API_KEY, that is enough: everything downstream stays the same. Keep your old provider configured for a week and compare cost per task before you move all traffic.

What changes in your bill

OpenRouter charges a fee on top of the model price; Tapix AI sells prepaid balance at a published price per model. Because both are per-token, the comparison is direct: divide monthly spend by completed tasks on each side. The token cost calculator does the arithmetic, and the price index shows list price against our price for every model.

Get a key and run one real call Read the OpenRouter comparison
Last updated: 2026-11-28最后更新:2026-11-28