cd /news/large-language-models/why-do-llm-keys-all-start-with-sk · home topics large-language-models article
[ARTICLE · art-16630] src=news.ycombinator.com pub= topic=large-language-models verified=true sentiment=· neutral

Why do LLM keys all start with sk?

A Hacker News user asked why large language model API keys consistently use the "sk-" prefix, contrasting with the varied formats of older API keys. The question highlights a shift in API key conventions driven by the rise of LLM providers.

read1 min publishedMay 28, 2026

Hacker News new | past | comments | ask | show | jobs | submit login Why do LLM keys all start with sk? 2 points by swaraj 7 minutes ago | hide | past | favorite | discuss Genuinely curious, as a builder for so long, API keys took all shapes and sizes, but what's with the sk prefix these days? help Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:

── more in #large-language-models 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/why-do-llm-keys-all-…] indexed:0 read:1min 2026-05-28 ·