Guides
Clear, tested steps for running open models as private APIs: what to deploy, what it costs and how to call it from your code and tools.
Guides
- Deploy an Ollama model to the cloud as a private APITake the Ollama model you run on your laptop and turn it into a private API your app can call, billed by the second.
- Host a GGUF model as an OpenAI-compatible APITurn a GGUF file from Hugging Face or your disk into a private API that works with the OpenAI SDKs, billed by the second.
- How much VRAM do you need to run an LLMThe math behind GPU memory for LLMs, a table for 8B to 70B models, and one fully worked example.
- Run a Hugging Face model as a private APITurn a Hugging Face repo into your own OpenAI-compatible endpoint that sleeps when idle and bills by the second.
- Self-hosted embeddings API for RAG and searchDeploy an open embedding model as your own private /v1/embeddings API, and see what a bulk indexing job really costs.
- Serve a LoRA fine-tune as an APITwo ways to put your LoRA fine-tune behind an API, merged weights or adapters on Qwen3 8B, and how to choose.
Use BitsRun with your tools
- Continue custom OpenAI endpoint with your own modelPoint the Continue coding assistant at a BitsRun endpoint with provider openai and apiBase in config.yaml.
- LangChain custom OpenAI endpoint with your own modelConnect LangChain's ChatOpenAI and OpenAIEmbeddings to BitsRun endpoints, including the embedding and timeout settings that matter.
- LiteLLM custom OpenAI endpoint for your own modelRoute LiteLLM SDK calls and LiteLLM proxy traffic to a BitsRun endpoint with the openai/ prefix and api_base.
- Open WebUI custom OpenAI endpoint with your own modelAdd a BitsRun endpoint to Open WebUI as an OpenAI API connection and chat with your own private model.
- Vercel AI SDK custom OpenAI endpoint for your modelCall a BitsRun endpoint from the Vercel AI SDK with @ai-sdk/openai-compatible, generateText, streamText and embed.
Try it on your own model
Sign up with your email, add $10 of credit and deploy from an Ollama name or a Hugging Face repo. An L4 costs $0.95 an hour, billed per second only while your model is awake. Waking up is never billed, and credit you buy does not expire.