Skip to content
Korlogic

Korlogic — API gateway

OpenAI + Anthropic compatible

ONE URL. 14 MODELS.

An OpenAI- and Anthropic-compatible gateway. Point your existing SDK at one base URL and keep the rest of your code.

01Endpoints

Two base URLs. One key format.

CreditUSD balance

https://api.korlogic.com/v1

Every request debits a USD balance on the key at the rates the operator set.

TokenPrepaid tokens

https://api.korlogic.com/token/v1

Every request draws down a prepaid token budget — input plus output, counted as tokens.

Authorization: Bearer kl_live_… — keys are issued by the operator; the billing mode is stored on the key.

02Drop-in

Your SDK already speaks it.

  • Two request shapes

    Chat Completions and Messages both go through. Use whichever SDK your codebase already has.

  • Streaming passes through

    Streamed responses are proxied straight back to your client, chunk by chunk.

  • Errors keep their shape

    Upstream status codes come through unchanged, and gateway rejections use the OpenAI error body.

python — openai

from openai import OpenAI
client = OpenAI(
base_url="https://api.korlogic.com/v1",
api_key="kl_live_…",
)
stream = client.chat.completions.create(
model="claude-opus-5",
messages=[{"role": "user", "content": "ping"}],
stream=True,
)

Two lines change. The client, the model call and the streaming loop do not.

03Catalog

The whole catalog, one key.

14 models · a key can be scoped to any subset of them · rates are set by the operator, so there is no public price list

04Pipeline

What happens on every request.

  1. 01

    Your app

    Any OpenAI or Anthropic client, pointed at the base URL for the key you hold.

  2. 02

    korlogic.com

    The key is checked, the model is checked against its allowlist, and funds are checked.

  3. 03

    Upstream

    The request is proxied with the operator’s own parent key. Yours never leaves the gateway.

  4. 04

    Ledger

    Tokens, cost, status and latency are written per request, then the key is debited.

01

Two protocols, one gateway

OpenAI Chat Completions and Anthropic Messages are both accepted and both metered.

02

Streaming, not buffering

Stream responses exactly as you would upstream; usage is parsed out of the stream.

03

Credit or token billing

A key carries either a USD balance or a prepaid token budget. The mode is fixed on the key.

04

Per-key model allowlist

A key can be scoped to a subset of the catalog. Anything outside it is refused.

05

Time-based expiry

Keys can be issued with an expiry date, after which requests stop.

06

Usage you can check

Paste a key into the usage checker for balance, consumption and recent requests.

Point your SDK at korlogic.com.

There is no signup. Keys are issued by the operator — paste one into the usage checker to see balance, consumption and recent requests.