Clerk vs Cody
User management and authentication as a service
vs. AI coding assistant by Sourcegraph — code graph + enterprise codebase context
Pricing tiers
Clerk
Free
50k MAU included. No SSO/SAML. Perfect for side projects and early prototypes.
Free
Pro
$25/mo (or $20/mo annual). 50k MAU, $0.02 each after. 1 enterprise SSO connection per app. Webhooks, JWT templates, custom session duration.
$25/mo
Business
$300/mo (or $250/mo annual). Advanced organizations, enhanced support, additional enterprise features.
$300/mo
Enterprise
Custom. Volume MAU discounts, SLA, workspace-wide SAML SSO, dedicated support.
Custom
Cody
Cody Free
$0. 500 autocompletes + 20 chat messages/mo. Claude Sonnet + GPT-4o-mini.
Free
Cody Pro
$9/user/mo. Unlimited autocomplete, unlimited chat, premium LLMs (Claude Opus, GPT-5).
$9/mo
Enterprise Starter
$19/user/mo. Adds advanced context (code graph), SSO, centralized billing.
$19/mo
Enterprise
$59/user/mo. On-prem deploy option, full Sourcegraph platform, audit logs, SLA.
$59/mo
Free-tier quotas head-to-head
Comparing hobby on Clerk vs free on Cody.
| Metric | Clerk | Cody |
|---|---|---|
| mao | 100 orgs/month | — |
| mau | 50000 users/month | — |
| sso connections | 0 connections | — |
Features
Clerk · 15 features
- Account Portal — Hosted sign-in/user profile pages at accounts.yourapp.com — zero UI code, fully …
- Bot Protection — Cloudflare Turnstile CAPTCHA integrated into sign-up.
- Clerk Billing — Built-in Stripe-powered billing: subscriptions, plans, proration — ties directly…
- Enterprise SSO (SAML/OIDC) — SAML and OIDC for enterprise customers. Per-domain connection. Pro+ (1 included)…
- Impersonation — Act as a user from dashboard to debug. Logged.
- JWT Templates — Custom JWT issuance for third-party backends (Supabase, Hasura, Firebase, Convex…
- Machine Tokens (M2M) — API keys and machine tokens for service-to-service auth in addition to user sess…
- Multi-Factor Auth — TOTP (authenticator apps), SMS OTP, backup codes. Forced or optional per user.
- Organizations (B2B) — Multi-tenant orgs with roles, permissions, invitations, domain allowlist, and pe…
- Passkeys (WebAuthn) — Passwordless passkey sign-in with per-device biometrics.
- Prebuilt Components — Drop-in React components: <SignIn/>, <SignUp/>, <UserButton/>, <OrganizationSwit…
- Sessions — Server-side session tokens. Sliding expiration by default; configurable absolute…
- User Management — Full user CRUD, metadata (public/private/unsafe), email/phone verification, ban/…
- Waitlist Mode — Collect sign-ups before opening the app. Approve waitlist entries to activate ac…
- Webhooks — Events: user.created/updated/deleted, session.created, organization.* — delivere…
Cody · 17 features
- Audit Logs — Enterprise compliance.
- Autocomplete — Inline code completion.
- Batch Changes (Enterprise) — Large-scale automated refactors.
- Chat — Conversational AI with @-context.
- Code Graph Context — Automatic dependency-aware context.
- Commands (Slash) — Pre-built prompts (/explain, /doc, /test).
- Custom Prompts — Shareable team-level prompt library.
- Inline Edit — Highlight code → edit via natural language.
- JetBrains Plugin — IntelliJ/PyCharm/WebStorm/etc.
- @ Mentions — Add files/symbols/URLs as context.
- Multi-LLM Selection — Pick Claude/GPT/Gemini per request.
- Neovim Plugin — Nvim integration.
- On-Prem Deploy (Enterprise) — Self-host full Sourcegraph + Cody.
- OpenCtx Extensions — Third-party context providers.
- Prompts Library — Team-wide reusable prompts.
- SSO (Enterprise) — SAML + OIDC.
- VS Code Extension — Primary IDE.
Developer interfaces
| Kind | Clerk | Cody |
|---|---|---|
| CLI | — | src CLI (context tool) |
| SDK | @clerk/astro, @clerk/backend / @clerk/clerk-sdk-node, @clerk/chrome-extension, @clerk/clerk-expo, @clerk/clerk-js (vanilla), @clerk/clerk-react, @clerk/clerk-react-native, @clerk/nextjs, @clerk/nuxt, @clerk/remix, clerk-sdk-go, clerk-sdk-python, clerk-sdk-ruby, @clerk/tanstack-start, @clerk/vue | — |
| REST | Backend REST API, Frontend API | Cody API (Enterprise) |
| MCP | Clerk MCP | — |
| OTHER | Webhooks (Svix) | Cody for JetBrains, Cody for Neovim, Cody for VS Code, Sourcegraph Cloud Web |
Staxly is an independent catalog of developer platforms. Some links to Clerk and Cody may be affiliate links — Staxly may earn a commission if you sign up through them, at no extra cost to you. Pricing is verified against vendor pages at publication time — reconfirm before buying.
Want this comparison in your AI agent's context? Install the free Staxly MCP server.