{{define "signup"}} Sign up · llmgw

Create an account

An operator approves it before it can be used.

{{if .Done}}

Thank you. Your account is waiting for approval.

You will not get an email from this gateway — it does not send any. Tell whoever you asked for access that you have signed up.

Sign in once you have been approved.

{{else}} {{if .Error}}

{{.Error}}

{{end}}

At least {{.MinPassword}} characters. Length is the only rule — a long phrase beats a short one with punctuation in it.

Already have an account? Sign in.

{{end}}
{{end}} {{define "login"}} Sign in · llmgw

Sign in

{{if .Error}}

{{.Error}}

{{end}}
{{if .SignupOpen}}

No account? Sign up.

{{end}}
{{end}} {{define "profile"}} Your keys · llmgw

Your keys

{{.User.Name}} · {{.User.Email}} · project {{.User.ProjectID}}

{{if .Error}}

{{.Error}}

{{end}} {{if .NewKey}}

Your new key

This is shown once. Nothing can produce it again — only its hash is kept.

{{.NewKey}}

Put it in a password manager now.

curl {{.BaseURL}}/v1/chat/completions \
  -H "Authorization: Bearer {{.NewKey}}" \
  -H "Content-Type: application/json" \
  -d '{"model": "{{.ExampleModel}}", "messages": [{"role":"user","content":"hello"}]}'
{{end}}

Create a key

Keys

{{if .Keys}} {{range .Keys}}{{end}}
NameKeyCreatedLast usedState
{{.Name}} {{.Prefix}} {{date .CreatedAt}} {{ago .LastUsedAt}} {{state .}} {{if eq (state .) "active"}}
{{end}}

Revoking takes effect within the gateway's cache window, up to a minute. To rotate: create the new key, switch over, wait for "last used" on the old one to stop moving, then revoke it.

{{else}}

You have no keys yet.

{{end}}

Password

{{if .PasswordChanged}}

Your password was changed. Any other browser you were signed in on has been signed out.

{{end}} {{if .PasswordError}}

{{.PasswordError}}

{{end}}

Changing it signs out every other browser, which is the point if you are changing it because something went wrong.

Your limits

{{if .Limits}} {{range .Limits}}{{end}}
LimitValue
{{.Name}}{{.Value}}
{{else}}

No limits are set for you.

{{end}}
{{end}}