omniport
Console

Documentation

Everything you need to connect: a base URL and a key — and your tool just works. API formats are fully compatible with Anthropic and OpenAI, so no code changes required.

§ 01 · Quick start

Three steps

  1. Sign up and top up your USDT balance in the console.
  2. Create an sk-… key under "API Keys".
  3. Point your tool at the base URL with your key — pick your tool below and copy the snippet.
# gateway base URL https://api.omniport.cc

§ 02 · Claude Code

Two environment variables and Claude Code runs through the gateway:

# Linux / macOS $ export ANTHROPIC_BASE_URL=https://api.omniport.cc $ export ANTHROPIC_AUTH_TOKEN=sk-… $ claude
# Windows (PowerShell) > $env:ANTHROPIC_BASE_URL = "https://api.omniport.cc" > $env:ANTHROPIC_AUTH_TOKEN = "sk-…" > claude

models: claude-opus-4-8 · claude-sonnet-5 · claude-haiku-4-5 and more — full list on the pricing page

§ 03 · Codex CLI

In ~/.codex/config.toml add a provider and pass the key via an environment variable:

model = "gpt-5.6-sol" model_provider = "omniport" [model_providers.omniport] name = "omniport" base_url = "https://api.omniport.cc/v1" env_key = "OMNIPORT_API_KEY"
$ export OMNIPORT_API_KEY=sk-… $ codex

§ 04 · OpenCode

In ~/.config/opencode/opencode.json (any OS, Windows included) add omniport as an OpenAI-compatible provider:

{ "$schema": "https://opencode.ai/config.json", "provider": { "omniport": { "npm": "@ai-sdk/openai-compatible", "name": "omniport", "options": { "baseURL": "https://api.omniport.cc/v1", "apiKey": "{env:OMNIPORT_API_KEY}" }, "models": { "claude-opus-4-8": {}, "claude-sonnet-5": {}, "gpt-5.6-sol": {} } } } }
$ export OMNIPORT_API_KEY=sk-… $ opencode

inside OpenCode run /models and pick a model from the omniport provider; add any model from the pricing page to the "models" block

§ 05 · SDK / API

Endpoints mirror the official formats. Auth — Bearer or x-api-key.

EndpointFormat
POST /v1/messagesAnthropic Messages
POST /v1/chat/completionsOpenAI Chat Completions
POST /v1/responsesOpenAI Responses
# curl · Anthropic Messages curl https://api.omniport.cc/v1/messages \ -H "x-api-key: sk-…" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{"model":"claude-sonnet-5","max_tokens":256, "messages":[{"role":"user","content":"hi"}]}'
# curl · OpenAI Chat Completions curl https://api.omniport.cc/v1/chat/completions \ -H "Authorization: Bearer sk-…" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.6-sol", "messages":[{"role":"user","content":"hi"}]}'

SSE streaming, tool use and cache tokens work in both formats; in official SDKs just set base_url and the key

§ 06 · Payment

Top up in the console: "Wallet" → amount → USDT. The console gives you the address and an exact amount with unique "cents" — send exactly that, network BSC (BEP-20) or Base. Credited automatically 1–2 minutes after network confirmation. Other networks (TRC-20, ERC-20, TON) are not supported.

§ 07 · Questions

Connection issues, a payment that did not arrive, a model missing from the list — message us on Telegram: @Timurz_CS, we will sort it out. Common questions are in the FAQ.