License-Key Auth
One key. Zero config. Your VS Code extension activates instantly โ no accounts to manage in-editor.
One license key. Every model. Zero chaos. The only AI gateway that handles billing, limits, and model routing โ so you just code.
Watch CWAI turn a vague prompt into production-ready code in 12ms. No context switching. No context loss. Just flow.
from cwai import CWAI
from fastapi import FastAPI
app = FastAPI()
client = CWAI(license_key="cwai_live_...")
@app.post("/generate")
async def generate(prompt: str):
return await client.complete(prompt)
Every feature designed to keep you in flow state โ not fighting infrastructure.
One key. Zero config. Your VS Code extension activates instantly โ no accounts to manage in-editor.
Per-tenant token budgets and sliding-window limits keep costs bounded. No surprise bills โ ever.
Stripe-powered checkout, cards, and plan changes โ all on your dashboard. No sales calls needed.
SOC 2 compliant. Encrypted at rest and in transit. Your code never leaves your control.
Token usage, latency, costs โ all in real time. Know exactly what you're spending.
GPT-4o, Claude 3.5, Gemini 1.5, Llama 3.1 โ switch models without changing code.
Don't take our word for it. These devs stopped wrestling and started shipping.
"CWAI cut our AI integration time from weeks to hours. The license-key model means zero friction for our team โ we just code."
"Flat-rate billing changed everything. We went from unpredictable API costs to a fixed monthly budget. Finance loves it."
"The license-key auth is genius. Our developers never leave VS Code. No OAuth flows, no token refresh โ it just works."
"Switched from managing 5 different API keys to one license key. My team reclaimed 6 hours/week. That's 300+ hours/year back to shipping."
"The model switching is insane. One parameter change and I'm on Claude instead of GPT. Zero code changes. This is how AI should work."
Everything you need to know before you start.
Your license key is a single string (e.g., cwai_live_abc123...) that you paste into the VS Code extension settings. It authenticates your tenant, provisions your token budget, and enables all models instantly. No OAuth, no browser redirects, no token refresh โ just paste and code.
All major models: GPT-4o, GPT-4o-mini, Claude 3.5 Sonnet, Claude 3 Haiku, Gemini 1.5 Pro, Gemini 1.5 Flash, Llama 3.1 405B/70B/8B, and more. New models are added within days of release. You switch models with a single parameter โ no code changes needed.
You pay a fixed monthly price per tier (Standard, Professional, Enterprise). Each tier includes a generous token budget. If you exceed it, you're rate-limited โ not charged extra. No surprise bills, ever. Upgrade or downgrade anytime in your dashboard.
Yes! Bring your own keys for any provider (OpenAI, Anthropic, Google, etc.) and CWAI will route requests through them. You get CWAI's enforcement, analytics, and billing on top of your own keys. Perfect for teams with existing enterprise agreements.
No. CWAI acts as a proxy โ your code goes from your editor โ CWAI gateway โ model provider โ back to you. We never store your code. We only log metadata: token counts, latency, model used, and success/failure status for your analytics dashboard.
You'll be rate-limited (sliding window) until your budget resets or you upgrade. No overage charges, no service interruption for other tenants. You'll see a clear warning in your dashboard and the VS Code extension before you hit the limit.
Join 2,800+ developers who've stopped wrestling with AI integration and started shipping.
No credit card required ยท 14-day free trial ยท Cancel anytime