Authorization: Bearer <token>. An API key ties the call to your account and raises the quota. With no key, the call is anonymous.
Get an API key
- Sign up at app.vlm.run.
- Open Settings → API keys and copy a key.
- Export it so the examples below can read it:
api_key in the OpenAI SDK, or as the bearer token in cURL. To call without an account, omit the Authorization header or send Bearer vlmrun.
Examples
503. Retry the request. The key is not rejected. Response bodies are in Error Codes.
Tiers
Callers behind the same NAT or proxy share the anonymous IP bucket. Anonymous calls also share a spend cap of $2.00 per client IP per day. Per-tier limits are in Rate Limits.
Tier resolution
The Gateway resolves the tier fromAuthorization in this order:
- No header, an empty token, or
Bearer vlmrun: Anonymous, keyed by client IP. A self-hosted deployment can reject a missing header with401and{"detail": "Missing API Key"}. The hosted Gateway does not. - Valid VLM Run API key: Authenticated as the owning user and organization.
- Any other bearer token:
401invalid API key. Unrecognized tokens do not fall back to anonymous access. A key whose user account is not active returns403.
Credits
An authenticated call is charged to the caller’s organization. A free-plan organization with a negative balance, or an organization with an overdue payment, gets402:
public: any caller can use them, anonymous included. Two other access tiers refuse some callers before any inference:
Both refusals carry
model_not_entitled. A 401 also carries WWW-Authenticate: Bearer. Nothing is billed.
The HTTP routes in the API Reference accept anonymous traffic on public models: chat completions, models, embeddings, audio transcriptions, and health.
POST /openai/files and POST /v1/ws/client_secrets need an API key. A realtime socket takes the anonymous key vlmrun on /v1/ws only. Use an API key for production.Related
Rate Limits
Per-tier quotas and how to request a higher limit.
Error Codes
401, 402, 403, and 429 response bodies.