
Tool Hugging Face
Hugging Face Spaces
Git-backed hosting on Hugging Face for ML demos and apps built with Gradio, Docker or static HTML.
What it is
Spaces lets you create and host ML-powered demos and web apps on the Hugging Face Hub, with the code stored in a git repository that rebuilds on every push. It supports Gradio, Docker and static HTML Spaces, with optional paid GPU hardware. Static Spaces are free for everyone, and free personal accounts can host a limited number of Gradio Spaces on ZeroGPU.
What it's useful for
Publishing a demo of a model, sharing a small AI web app, or trying thousands of community demos in the browser.
Key features
- Gradio, Docker and static HTML Space types
- Git-based repos that rebuild and restart on each push
- Public, protected and private visibility
- Secrets and variables management
- Paid upgrades to GPU hardware; ZeroGPU option
- Duplicate an existing Space as a template
How to use it
Before you start
- Hugging Face account
Limitations to know
- Gradio and Docker Spaces require a paid plan to create, except up to 2 ZeroGPU Gradio Spaces on free personal accounts
- Spaces on free hardware sleep after a period of inactivity
- Default CPU Basic hardware is limited to 2 vCPU and 16 GB RAM with non-persistent disk
MCP servers for this
MCP reference server that fetches a web page and returns its content as markdown for the model to read.
Hugging Face's hosted MCP server that lets agents search models, datasets, Spaces and papers and call Gradio Spaces.
Related resources
One API endpoint and key for hundreds of models from many providers, with automatic provider fallback.
AWS's managed service for calling 100+ foundation models from Anthropic, OpenAI, Meta, Mistral, DeepSeek, Amazon and others in your AWS account.
DeepSeek's MIT-licensed open-weight reasoning and chat models, also served through an OpenAI- and Anthropic-compatible API.
Google Cloud's platform, formerly Vertex AI, for Gemini, partner and open models plus building, deploying and governing agents.