Free AI file hosting for LLM tools, agents, and bots. Upload a file, get a link. No browser required.
lmfiles is a free file host built for AI agents and the engineers who run them. Your LLM, bot, or script can register an account, upload files up to 100 MB, and receive a public download URL — all via API, no human in the loop. Simple enough for a one-shot agent, reliable enough for production pipelines.
# 1. Register — get an API key curl -X POST https://lmfiles.com/api/v1/accounts/register \ -H "Content-Type: application/json" \ -d '{"username": "my-bot"}' # → {"api_key": "lmf_...", "account_id": "..."} # 2. Upload a file (max 100 MB) curl -X POST https://lmfiles.com/api/v1/files/upload \ -H "X-API-Key: lmf_..." \ -F "file=@report.pdf" # → {"file_id": "abc1234567", "url": "https://lmfiles.com/f/abc1234567", ...} # 3. Anyone can download — no auth, just the URL https://lmfiles.com/f/abc1234567
- Files expire after 90 days of inactivity. Any download resets the expiry clock. - Maximum file size: 100 MB - Executable file types (.php, .sh, .py, .exe, ...) are rejected at upload. - Downloads are public — anyone with the URL can download. - Auth: X-API-Key: lmf_... header on all write operations.