Tokening
Local LLM API gateway · macOS and Android

One local endpoint for all your models

Connect Claude Code, Codex, and compatible tools to the providers you already use. Tokening translates requests locally, switches keys when they fail, and tracks usage across providers.

Download TokeningIntegration guides

  • Direct requests to providers
  • Automatic updates on macOS

Manage providers from one place

Configure providers and keys in Tokening, then point each tool at the same gateway.

Translate API protocols

Connect clients and providers across OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, and Google Gemini. The gateway translates streaming replies and tool calls when it converts requests.

Route and fail over

Map model names to providers, rotate keys, and set a fallback when a provider times out or rate-limits requests.

Track tokens and estimated costs

Review usage by day, provider, or model. Export CSV reports or set a budget for each provider.

Mask sensitive values

Replace matched credentials and personal information with placeholders before a request leaves your device. Configure built-in or custom masking rules.

Connect your first client

  1. Add a provider

    Choose a preset or enter a custom endpoint. Add your provider key and load the model list.

  2. Start the gateway

    Copy the local access key displayed in Tokening.

  3. Configure your tool

    Put the local endpoint and key into Claude Code, Codex CLI, or an OpenAI-compatible client.

export ANTHROPIC_BASE_URL=http://127.0.0.1:18800
export ANTHROPIC_AUTH_TOKEN=tk-your-local-key
claude

Choose the app that fits your setup

Tokening

Bring your own provider keys. Configure models, routes and budgets, or generate an access code for someone else.

Download Tokening

TokeningLite

Redeem an access code to use the shared models. TokeningLite starts a local gateway on port 18801 by default.

Download TokeningLite

How access codes work

Requests go from your device to the provider

The gateway runs on your device, and the local gateway works without an account. Optional sync and access codes use a cloud service.

Read the privacy policy

Platforms
macOS 12 or later on Apple silicon, Android 9 or later
Default local endpoint
http://127.0.0.1:18800
Updates
Sparkle on macOS and in-app version checks on Android