AUTHENTICATION

Authentication & Account

Learn how to create an account, manage API keys, and authenticate your requests.

Account Setup

Create an Account

Create an llm.market account, verify your email, then create an API key in the dashboard.

Get Your API Key

After signing in, create an API key in the Dashboard. Copy its raw value immediately; it is not stored for later display.

Make Your First Request

Use your API key in the Authorization header to authenticate requests to any endpoint.

API Key Management

Primary API Key

Every account gets a primary key with full access. This key cannot be deleted but can be regenerated.

Secondary API Keys

Create additional keys with custom RPM limits, credit allowance, and labels for applications.

Authentication Methods

Include your API key in the Authorization header as a Bearer token.

Example
curl https://llm.market/v1/chat/completions \
  -H "Authorization: Bearer sk-YOUR_LLM_MARKET_KEY" \
  -H "Content-Type: application/json" \
   -d '{"model":"MODEL_FROM_V1_MODELS","messages":[{"role":"user","content":"Hello!"}]}'
Security Notice

Never share your API key publicly, commit it to version control, or expose it in client-side code. Treat it like a password.

Next Steps

  • Read the Quick Start guide
  • Go to Dashboard
  • Browse available models

Stuck on setup, or want a free key?

Ask the community on our Discord.