- functions
- 3
- access
- Your key
- tasks
- 1
Use Hugging Face on Longwave
- Download Longwave or open app.longwave.run.
- Add your Hugging Face API key once in Longwave settings. Calls run on your Hugging Face account at Hugging Face's price.
- Ask for the result in any thread, for example: “Find a model for a software integration”. The agent picks the Hugging Face function and calls it.
Use Hugging Face in Claude Code, Codex, Cursor or ChatGPT
Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Hugging Face, and asks you to sign in on first use.
Why call Hugging Face through Longwave
- Your Hugging Face key is stored once, encrypted, and used by every harness and device you use.
- One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
- Spending limits per key and per account, checked before a paid call is made.
- Each call is recorded with the provider, the cost and the result, and can be read again from another device.
Hugging Face functions
| Function | Price |
|---|---|
| Generate a response with a Hugging Face model Accepts a model name, conversation messages and an output token limit and returns a model response to the supplied conversation. huggingface.chat.complete | The selected model and usage determine the charge; no single per-call price applies to this function. |
| Search Hugging Face models Accepts a search term and returns public model records matching the search term. huggingface.models.search | Model or provider metadata lookup; no generation charge or separate published per-call fee. |
| List Hugging Face model tags Accepts a retrieval type and returns supported model tags grouped by tag type. huggingface.openapi.get.api.models-tags-by-type | Model or provider metadata lookup; no generation charge or separate published per-call fee. |
Prices are Hugging Face's published rates. Source: Hugging Face pricing.
Use cases
- Find a model for a software integration Search public model records for the requested term.
- Draft text with a hosted model Submit conversation messages to the selected model.
- Read model tags before searching the Hub Retrieve the supported tags for the requested tag type.