YOUR PERSONAL AI GATEWAY

KeyKing - The Zero-Trust Free AI API Aggregator to run Free Claude Code and Manage API Keys Locally.

One API Key.
Every
AI Model.

Stop pasting your real API keys into every new project. KeyKing securely stores your keys on your computer and gives you one universal local endpoint. It automatically switches providers if you hit a rate limit.

Install Desktop Proxy:curl -fsSL https://keyking.ledgion.in/install.sh | bash
Install Serverless SDK:npm install keyking-sdk
No Cloud Storage Local Axum Proxy 9+ Model Providers
KEYKING DESKTOP - v4.0.0
Dashboard Metrics
PROXY PORT: 8787
Active Keys3
Requests (24h)1,280
Latency Savings-140ms
Encrypted Providers
OpenAI (Primary) SECURE & ACTIVE
Gemini (Fallback) SECURE & ACTIVE
Groq (Smart Quota) SECURE & ACTIVE
LIVE DECISION LOGS● ONLINE
[19:04:12] POST /v1/chat/completion ➔ Decrypted local OpenAI API key
[19:04:13] POST /v1/chat/completion ➔ Route status: 200 OK (OpenAI, 184ms)
[19:12:01] POST /v1/chat/completion ➔ OpenAI 429 Quota Exhausted! Circuit Tripped.
[19:12:01] POST /v1/chat/completion ➔ Executing fallback sequence: Mapping request ➔ Groq (llama-3.3)

The Free Tier Catalog

Over 100+ free models across 16 providers. Mistral alone contributes ~1B; everything else is bonus. Get your keys below, drop them in KeyKing, and never pay for tokens again.

Mistral La Plateforme

~1B/mo shared

Mistral Large/Medium, Codestral

Google Gemini

~3M/mo per model

Gemini 2.5 Flash, Flash-Lite

Groq

~30M/mo per model

Llama 3.3 70B, Qwen3

Cerebras

~30M/mo shared

Llama 3.1 8B, Qwen3

OpenRouter

~6M/mo per model

19+ Free Models

SambaNova

~3M/mo shared

DeepSeek V3.1, Llama 3.3

Cloudflare Workers AI

~20M/mo shared

Qwen3, Llama 4

GitHub Models

~18M/mo est.

GPT-4o, GPT-4.1

Cohere

~1-2M/mo shared

Command R+

One Ecosystem, Four Powerful Workflows

Whether you are vibe-coding locally, getting free AI APIs, running free Claude Code, or scaling a serverless app, KeyKing is the ultimate aggregator.

LOCAL DEVELOPMENT

Desktop Proxy

Ideal for "Vibe-coding". Run the KeyKing local proxy that binds to localhost:8787. Route your local AI assistants and scripts through the proxy to automatically securely attach credentials and balance limits without exposing your plaintext API keys in dotfiles.

Localhost:8787
PRODUCTION DEPLOYMENT

Serverless SDK

Deploy to production with zero friction using @keyking/sdk. Purpose-built for serverless environments (Vercel, AWS Lambda, Cloudflare Workers). It natively unpacks exported encrypted vaults in memory, providing secure multi-provider routing on the edge.

NPM SDK
KEY MANAGEMENT

Desktop App Vault

Your mission control for credentials. Securely store and manage all your LLM API keys locally. Generate encrypted vault files that you can safely commit to your repository or bundle in your serverless deployments to be unpacked by the KeyKing SDK.

Zero-Trust AES-256
CLAUDE CODE CLI

Free Claude Code

Stop burning through Anthropic credits. Run the new Anthropic claude-code agentic CLI completely for free. Just type keyking-claude in your terminal and we automatically intercept the agent and route it through your aggregated free AI APIs.

Zero-Config Interceptor

Interactive Proxy
Playground

Experience the routing engine without downloading the desktop client. Switch between developer code integrations below, and click the simulation button to watch Key King's local proxy decrypt, select quotas, execute, and stream responses.

CODE TEMPLATE // CURL
curl http://localhost:8787/v1/chat/completions \
  -H "Authorization: Bearer kk-5a3d8f92b7c64e018d9f1c" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}],
    "temperature": 0.7
  }'
LOCAL PROXY STDOUT (SIMULATOR)
Ready. Trigger "Send Test Request" to begin transaction.

Transparent, developer-first billing

Deploy locally at no cost, or scale seamlessly with our enterprise Ultra subscription plan. Payment processing and subscription management are handled securely.

FREE WORKSPACE

Community Free

LOCAL DEVELOPMENT ENVIRONMENT

$0/ forever
  • Lock up to 2 API keys
  • Register up to 2 machines
  • Basic routing (no priorities)
  • Rate limit: 30 requests/minute
  • Full AES-256-GCM local storage
KEYKING ULTRA // RECOMMENDED

Ultra Plan

PRODUCTION-GRADE MANAGEMENT PLATFORM

PREMIUM
$2/ month
  • Unlimited API keys & vault space
  • Unlimited machine registrations
  • Smart prioritized quota routing
  • Unlimited request speed rates
  • Instant fallback & circuit breaker protection

Developer FAQs

Detailed information regarding the local proxy security model, architecture, and subscription billing.