Spaces:
Running
Running
|
Download README.md from sitcod3/freellmapi-cloud: direct link, hf CLI and curl.
- Browser
- Download file 1.52 kB
-
https://huggingface.co/spaces/sitcod3/freellmapi-cloud/resolve/main/README.md
- Command line
-
hf download hf://spaces/sitcod3/freellmapi-cloud/README.md
-
curl -L -o README.md https://huggingface.co/spaces/sitcod3/freellmapi-cloud/resolve/main/README.md
1.52 kB
metadata
title: FreeLLMAPI Cloud Proxy
emoji: π
colorFrom: indigo
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
short_description: FreeLLMAPI β one OpenAI-compatible endpoint
tags:
- llm
- openai-compatible
- proxy
- freellmapi
FreeLLMAPI β Cloud Proxy on Hugging Face Spaces
This Space runs tashfeenahmed/freellmapi from the prebuilt image
ghcr.io/tashfeenahmed/freellmapi:latest β no local clone, no local disk used.
- Dashboard + API on port
7860(HF requirement) - SQLite DB at
/data/freellmapi.db(ephemeral β see persistence note) - Secrets (
ENCRYPTION_KEY, admin config) are set in Space β Settings β Variables and secrets, never committed here.
Endpoints
- Dashboard:
https://<your-space>.hf.space/ - Health:
https://<your-space>.hf.space/api/ping - OpenAI-compatible:
https://<your-space>.hf.space/v1/chat/completions
curl https://<your-space>.hf.space/v1/chat/completions \
-H "Authorization: Bearer freellmapi-YOUR-UNIFIED-KEY" \
-H "Content-Type: application/json" \
-d '{"model":"auto","messages":[{"role":"user","content":"Say hello from FreeLLMAPI."}]}'
First-run setup
- Open the Space URL, create the first dashboard account (or pre-create via
FREEAPI_CONFIG_JSON, see below). - Go to Keys page β add provider keys β reorder Fallback Chain.
- Copy your unified
freellmapi-...key from the Keys page header β point any OpenAI SDK at the Space URL.