Getting Started

Authentication

OAuth sign-in, API keys, rate-limit tiers.

OAuth providers

Sign in with GitHub or Google at slm.dev/sign-in. Then go to the Dashboard and click Generate API Key to create your key.

API key format

Keys start with slm_ followed by a 32-char hex token. Pass in the Authorization header:

Bash
Authorization: Bearer slm_a1b2c3...

Rate-limit tiers

  • Free (signed-in): 5 req/min, 100K tokens/day

Limits reset at UTC midnight. Hit a limit and you get a 429 with Retry-After.