Quick StartEndpoint Configuration

Endpoint Configuration

OriginRouter uses separate integration entries by plan: /beta/v1 for pay-as-you-go and /coding/v1 for the coding plan. The legacy /v1 paths remain available for compatibility, but they are marked as deprecated and should not be used for new integrations.


Choose an Integration Scenario

Answer two questions in order:

  1. Which plan are you on? Pay-as-you-go or OriginRouter One (Coding Plan)?
  2. Which SDK / tool? OpenAI protocol (OpenAI SDK / Codex CLI / Chatbox / SillyTavern / OpenClaw / OpenCode OpenAI mode) or Anthropic protocol (Anthropic SDK / Claude Code / OpenCode Anthropic mode)?

Match the answers to the row and column in SDK Base URL — that's the string to copy.


HTTP Prefixes

These are the real backend paths. The prefix determines capability set and billing plan.

PrefixStatusWhen to use
/beta/v1/...Pay-as-you-go entryPay-as-you-go integrations. Covers chat / messages / responses / models / images / embeddings / files / web
/coding/v1/...Coding plan entryOriginRouter One subscribers calling chat / messages / responses / models
/v1/...Legacy compatibility pathBeing deprecated. Existing integrations only; new integrations should use /beta/v1/...

SDK Base URL

This is the string you paste into code or environment variables. Two rows split by protocol.

SDKPay-as-you-goCoding Plan
OpenAI SDKbase_url="https://api.easytransnote.com/beta/v1"base_url="https://api.easytransnote.com/coding/v1"
Anthropic SDKbase_url="https://api.easytransnote.com/beta"base_url="https://api.easytransnote.com/coding"
cURL / HTTPhttps://api.easytransnote.com/beta/v1/<endpoint>https://api.easytransnote.com/coding/v1/<endpoint>

Key protocol distinction: OpenAI protocol tools typically only append resource paths (like /chat/completions, /responses, /models) after base_url and do not auto-add /v1; therefore pay-as-you-go uses .../beta/v1. Anthropic protocol tools automatically append /v1/messages to base_url (confirmed from Anthropic SDK source), so pay-as-you-go uses .../beta, not .../beta/v1.

How to tell: when you initialize the tool, is it client.chat.completions.create() (OpenAI) or client.messages.create() / ANTHROPIC_BASE_URL env var (Anthropic)? Claude Code uses the Anthropic protocol.


Endpoint Coverage

Endpoint/v1/beta/v1/coding/v1
POST /chat/completions✓✓✓
POST /messages✓✓✓
POST /responses✓✓✓
GET /responses/{id}✓✓✓
POST /responses/{id}/cancel—✓✓
GET /models✓✓✓
POST /images/generations✓✓—
POST /images/edits✓✓—
POST /images/ocr (incl. /image/ocr alias)✓✓—
POST /images/describe (incl. /image/describe alias)✓✓—
POST /embeddings✓✓—
POST/GET /files, GET/DELETE /files/{id}, GET /files/{id}/content✓✓—
POST /web/search✓✓—
POST /web/fetch✓✓—
GET /version✓——

Related Documentation

Was this page helpful?