Under the Hood

Three layers. One platform.

1

Routing Engine

Stateless request router. Validates your API key, selects the right provider channel based on your routing rules, and forwards the request. Streams the response back. No content stored. OpenAI-compatible endpoint.

70+

model aliases

<5ms

routing overhead

4

providers

  • Smart routing via 1k4-custom: configure rules per content type (code, reasoning, images)
  • Per-project API keys with independent routing rules
  • Works with any OpenAI SDK client

API reference → base URL, auth, code examples, and every endpoint.

2

Agent Runtime

The Lab workspace runs a full agent runtime: multi-step task execution, tool calling, file management, document editing, code review, parallel subagents, and compute orchestration.

45+

skills

Infinite

context

Parallel

agents

DOCX/PDF

editing

  • Context management: agent handles its own window, no re-explaining
  • Adaptive complexity: adjusts approach based on task difficulty
  • Local models via Bridge: same agent capabilities on your hardware
  • Compute: provision VMs, deploy code, configure domains
3

Account & Billing

Prepaid credits. $1 = 1 credit. No subscriptions, no overage charges. Per-token billing for text, per-unit for media. Local models are free.

  • Real-time balance tracking with per-request deduction
  • Per-project usage breakdown
  • Automatic billing protection: requests stop at zero balance (no debt)
  • Credits never expire

What you gain

One key

Single API key for every provider. One bill.

Intelligent routing

Content-aware model selection. Or choose your own.

Agent workspace

Not a chatbot. A workspace that executes.

Local models

Bridge your Ollama. Full agent power. $0.

Compute

Real servers, real deployments, real URLs.

Claude Code review

Multi-model plan review via MCP. Integrated.

Connect 1K4 to your agent

1K4 installs a small local MCP bridge that gives your coding agent (Claude Code, Codex, Cursor, or the 1K4 Lab) one API key across providers, plus review, quorum, and lab tools. Three ways to set it up:

1. Installer (easiest for coding agents)

Paste one command into your coding agent, or run it in your terminal. It installs or repairs the local bridge and starts a browser sign-in — safe to re-run if you are already set up (Windows PowerShell: irm https://1k4.ai/win-setup.ps1 | iex):

curl -fsSL https://1k4.ai/install.sh | sh

2. Direct CLI

Tokenless browser sign-in, the same pattern as gh auth login:

npx -y -p @1key4ai/cc-bridge@latest cc-bridge login

Or mint a single-use setup token on the install page and run cc-bridge setup --setup-token <token>.

3. Repair or update

Fixes stale configuration and updates in place, preserving your credential:

npx -y -p @1key4ai/cc-bridge@latest cc-bridge doctor --fix

The install and login commands carry no token, key, or secret — authentication happens in your browser.

Questions?

support@1key4ai.com