How LightningAPI Works
Replace your base API endpoint with https://lightningapi.pro. Stream frontier Claude Opus & Sonnet with high RPM, dynamic token pooling, and sub-50ms latency.
Up and running in three simple steps.
Zero vendor lock-in. Zero proprietary SDKs. Keep your existing tooling intact and redirect your endpoint to LightningAPI.
Claim Key & Quota
Sign in or activate your complimentary 200,000 token trial. Your production API key is issued instantly with a dedicated rolling quota pool.
Set Base URL
Configure https://lightningapi.pro in your project environment, Cursor, Windsurf, or official Anthropic SDK.
Dispatch Requests
Call /v1/messages with any supported model identifier. Tokens stream over SSE with 5-hour rolling refill.
Drop-in configuration for your preferred runtime
# .env file or system environment
ANTHROPIC_BASE_URL="https://lightningapi.pro"
ANTHROPIC_API_KEY="sk_live_your_api_key_here"Works natively where you already code.
No proprietary SDK forks, no patched wrappers, and no prompt rewrites. Repoint your Anthropic base URL to our gateway and all requests operate identically.
Generate Your Master Key
Claim your free 200,000 trial pass or choose a 5-hour rolling capacity tier. Key issued immediately with zero verification friction.
Override Base URL
Set ANTHROPIC_BASE_URL to https://lightningapi.pro/v1.
Uninterrupted Flow
Build in Cursor, Windsurf, or Claude Code CLI with continuous 5-hour rolling replenishment and zero unexpected cloud invoices.
# Option A: Automated CLI Assistant Setup (Auto-detects authentic models)npx lightningdeals# Option B: Switch active model anytime across all toolsnpx lightningdeals model# Or switch directly:npx lightningdeals model claude-sonnet-5.5# Option C: Standard Shell Environment Variablesexport ANTHROPIC_BASE_URL="https://lightningapi.pro"export ANTHROPIC_API_KEY="sk_live_your_key_here"# Run Claude Code — all requests route seamlessly through LightningAPIclaude