# Darkbloom - [Darkbloom: inference, CI and sandboxes on Apple silicon Macs](https://docs.darkbloom.dev/introduction.md): One Darkbloom account for an OpenAI-compatible inference API, GitHub Actions runners, and Linux and macOS sandboxes on Macs in Darkbloom's network. - [Choose a product](https://docs.darkbloom.dev/get-started/choose-a-product.md): A one-minute guide to picking inference, CI, sandboxes, or earning with your Mac on Darkbloom. - [Accounts and consoles](https://docs.darkbloom.dev/get-started/accounts-and-consoles.md): One Darkbloom account, two consoles, and where each product's keys, Account ID and funds live. - [Pricing](https://docs.darkbloom.dev/get-started/pricing-overview.md): What inference, CI and agent sandboxes cost: every rate at a glance, from one shared prepaid balance. - [Add credits and pay for Darkbloom usage](https://docs.darkbloom.dev/billing/add-credits.md): Load a prepaid balance with Stripe, confirm the deposit, and grant consent for Darkbloom Sandbox CI jobs. - [How Darkbloom protects your prompts](https://docs.darkbloom.dev/security/overview.md): Darkbloom encrypts requests in transit, keeps prompt content out of logs, and runs the coordinator in a Confidential VM. The provider process and the coordinator do see plaintext while handling a request. - [Verifying provider attestation on Darkbloom](https://docs.darkbloom.dev/security/attestation.md): How Darkbloom verifies a provider's identity and build with Apple App Attest, what the public attestation endpoint exposes, and how to read per-response verification headers. - [Understanding provider trust on Darkbloom](https://docs.darkbloom.dev/security/trust-levels.md): How Darkbloom decides which provider Macs may serve your requests: Apple App Attest plus Secure Enclave attestation, and what the trust_level field means today. - [Quickstart: call the Darkbloom API in 5 minutes](https://docs.darkbloom.dev/quickstart-consumer.md): Get an API key, send your first chat completion, and list available models using any OpenAI-compatible SDK. Works with Python, Node.js, and curl. - [Run models on your own Mac](https://docs.darkbloom.dev/inference/run-on-your-own-mac.md): Serve an OpenAI-compatible API to yourself with the darkbloom app, and pass a request your Mac can't take to your other Macs or the Darkbloom network. - [Authenticate requests to the Darkbloom API](https://docs.darkbloom.dev/api/authentication.md): Create and manage API keys for the Darkbloom API. Keys start with sk-db- and are passed as Authorization: Bearer tokens on every request. - [Send chat completions with the Darkbloom API](https://docs.darkbloom.dev/api/chat-completions.md): Use POST /v1/chat/completions to run multi-turn conversations on Darkbloom. Fully OpenAI-compatible, with streaming, system prompts, and trust headers. - [Browse and select Darkbloom models](https://docs.darkbloom.dev/api/models.md): Use GET /v1/models to see which models are listed, compare capabilities and prices, and choose a model for your workload. - [Pricing: inference tokens and sandbox jobs](https://docs.darkbloom.dev/billing/pricing.md): How Darkbloom charges for inference and Darkbloom Sandbox jobs, how the prepaid balance works, and how to fetch current rates and usage. - [CI on Darkbloom runners](https://docs.darkbloom.dev/ci/overview.md): Run a public repository's GitHub Actions jobs on Darkbloom's Linux and macOS runners, with fallback to your own runners and billing from your Darkbloom balance. - [CI pricing](https://docs.darkbloom.dev/ci/pricing.md): What a Darkbloom CI job costs: per-minute runner-class rates billed per second, the one-minute minimum and 60-minute cap, and worked examples. - [CI quickstart](https://docs.darkbloom.dev/ci/quickstart.md): Connect a public GitHub repository to Darkbloom, route a workflow to Linux or macOS runners, and watch the first job run. - [Route workflows](https://docs.darkbloom.dev/ci/route-workflows.md): Copy the route workflow, declare lanes with their fallback labels, and keep every job runnable when Darkbloom has no capacity. - [Runner images](https://docs.darkbloom.dev/ci/runner-images.md): The Linux and macOS operating systems, toolchains, and preinstalled tools on Darkbloom runners, and how a job adds what the image lacks. - [Caching and network](https://docs.darkbloom.dev/ci/caching-and-network.md): How actions/cache behaves on Darkbloom runners, where caches live, and which hosts a job can reach through the gateway. - [Limits and billing](https://docs.darkbloom.dev/ci/limits-and-billing.md): Concurrent jobs, monthly caps, approval windows, and how a job's charge is held and settled. - [Security](https://docs.darkbloom.dev/ci/security.md): What runs where, what the Mac's owner can see, what Darkbloom keeps, and why routed jobs carry no secrets. - [Troubleshooting](https://docs.darkbloom.dev/ci/troubleshooting.md): Fix a job that stays queued, a lane that fell back, and a job that fails on a Darkbloom runner. - [Darkbloom agent sandboxes](https://docs.darkbloom.dev/sandboxes/overview.md): Run Linux and macOS virtual machines on Apple silicon Macs in Darkbloom's fleet. SSH in, run a coding agent, open a desktop, and pay per second. - [Sandbox pricing](https://docs.darkbloom.dev/sandboxes/pricing.md): What an agent sandbox costs: per-second billing by size, Linux and macOS hourly rates, the Linux formula, hourly holds, and worked examples. - [Agent sandboxes quickstart](https://docs.darkbloom.dev/sandboxes/quickstart.md): Go from a new Darkbloom account to builds running in parallel on Linux and macOS agent sandboxes, with your code pushed from your own machine. - [Create and connect to an agent sandbox](https://docs.darkbloom.dev/sandboxes/create-and-connect.md): Choose a size and price, create a Linux or macOS sandbox, control its outbound network, and connect over SSH, scp, rsync, VS Code, or VNC. - [Sandbox lifecycle: stop, resume, and retention](https://docs.darkbloom.dev/sandboxes/lifecycle.md): What persists across a stop, where the workspace lives, how image upgrades work, and how the idle limit, keepalive, and maximum affect long-running work. - [Coding agents: MCP, Codex, and computer use](https://docs.darkbloom.dev/sandboxes/agents-and-mcp.md): Give a coding agent access to agent sandboxes over the MCP server, run Codex inside a sandbox, and drive a macOS desktop with OpenAI's computer tool. - [Give a coding agent the sandbox skill](https://docs.darkbloom.dev/sandboxes/agent-skill.md): A ready-made skill that tells Claude, Codex, and other coding agents when to offload work to a Darkbloom agent sandbox, how to move code without leaking a token, and how to clean up. - [MCP server tools](https://docs.darkbloom.dev/sandboxes/mcp-tools.md): The twelve tools the Darkbloom sandbox MCP server exposes, with their defaults, output limits, workspace paths, and image-upgrade consent. - [Limits and billing](https://docs.darkbloom.dev/sandboxes/limits-and-billing.md): Per-account limits for running sandboxes, storage, vCPUs, and start rate, plus how per-second billing and hourly holds work. - [Troubleshooting agent sandboxes](https://docs.darkbloom.dev/sandboxes/troubleshooting.md): What each agent sandbox error means, from access and capacity to resume, billing, attestation, and the screen lock, and what to do next. - [Agent sandbox security and privacy](https://docs.darkbloom.dev/sandboxes/security.md): What each boot attests, what is encrypted, what Darkbloom can and cannot see, how secrets work, and which confidentiality claims the product does not yet make. - [Quickstart: become a Darkbloom provider](https://docs.darkbloom.dev/quickstart-provider.md): Turn idle capacity on an Apple Silicon Mac into inference and Darkbloom Sandbox income. Install the agent, choose how it serves, link your account, and start in about 10 minutes. - [Earn by sharing your Mac's compute on Darkbloom](https://docs.darkbloom.dev/provider/overview.md): Run AI inference and Darkbloom Sandbox CI jobs on your Apple Silicon Mac. Keep 100% of inference revenue during the alpha and 90% of sandbox job charges. - [Installing and setting up the provider agent](https://docs.darkbloom.dev/provider/install.md): Install the Darkbloom provider on an Apple Silicon Mac, choose how it serves, link your account, and start earning. - [darkbloom CLI: complete command reference](https://docs.darkbloom.dev/provider/cli-reference.md): Reference for the darkbloom provider CLI: start, stop, restart, status, doctor, models, login, logs, update, schedule, sandbox, waitlist and uninstall. - [Manage your provider with the Darkbloom desktop app](https://docs.darkbloom.dev/provider/macos-app.md): The Darkbloom desktop app shows provider status, models and earnings from a menu bar interface and controls the same provider as the CLI. - [Schedule when your Mac serves inference and sandbox jobs](https://docs.darkbloom.dev/provider/scheduling.md): Set weekly availability windows for the inference provider, and pause or schedule Darkbloom Sandbox work. - [Host CI jobs and sandboxes on your Mac](https://docs.darkbloom.dev/provider/sandbox-hosting.md): Run other people's GitHub Actions jobs and agent sandboxes in virtual machines on your Apple silicon Mac, beside the Darkbloom inference provider, and earn for the time they run. - [Set up your Mac to host sandboxes](https://docs.darkbloom.dev/provider/sandbox-setup.md): Install the Darkbloom Sandbox add-on, approve the Mac, choose work disks, size the build cache, and schedule, update or remove the add-on. - [Check your Mac's sandbox status](https://docs.darkbloom.dev/provider/sandbox-status.md): Read every Darkbloom Sandbox status state, understand the free-disk floor and waiting images, and fix the common problems that stop a Mac from taking work. - [Understanding and withdrawing your earnings](https://docs.darkbloom.dev/provider/earnings.md): How inference and Darkbloom Sandbox earnings are calculated, where to read them, and how to withdraw via Stripe. - [Chat completions — POST /v1/chat/completions](https://docs.darkbloom.dev/reference/chat-completions.md): POST /v1/chat/completions — generates replies from a message history. Accepts model, messages, stream, temperature. Returns a chat completion or SSE stream. - [Text completions — POST /v1/completions](https://docs.darkbloom.dev/reference/completions.md): POST /v1/completions — legacy text completion endpoint. Accepts model, prompt, max_tokens, temperature, and stream. Returns a completion object or SSE stream. - [Anthropic Messages API — POST /v1/messages](https://docs.darkbloom.dev/reference/messages.md): POST /v1/messages — Anthropic-compatible endpoint. Accepts model, messages, max_tokens, and system. Returns an Anthropic-format content array response. - [Available models — GET /v1/models](https://docs.darkbloom.dev/reference/models.md): GET /v1/models returns the listed models with context limits, pricing, capabilities, provider counts and trust metadata. - [Account balance — GET /v1/payments/balance](https://docs.darkbloom.dev/reference/balance.md): GET /v1/payments/balance — returns your current account balance. Returns balance_micro_usd, balance_usd, withdrawable_micro_usd, and withdrawable_usd. - [Usage history — GET /v1/payments/usage](https://docs.darkbloom.dev/reference/usage.md): GET /v1/payments/usage — returns your inference usage history. Each entry includes model, token counts, cost in micro-USD, and a timestamp. - [API key management — /v1/keys and /v1/auth/keys](https://docs.darkbloom.dev/reference/api-keys.md): Create, inspect, rotate and revoke Darkbloom API keys. Management requires a Privy session; API keys cannot manage other keys. - [Network stats — /v1/stats, /v1/leaderboard](https://docs.darkbloom.dev/reference/stats.md): Public endpoints for Darkbloom network statistics. No auth required. Returns active providers, token totals, leaderboard rankings, and network-wide totals. - [Provider attestation — GET /v1/providers/attestation](https://docs.darkbloom.dev/reference/attestation.md): Public attestation data for connected providers: each provider's App Attest authorization, verification states, security posture, hardware class and Secure Enclave public key. No authentication required. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.