SF Compute

SF Compute (San Francisco Compute Company) runs a spot-priced market for very large scale GPU clusters. The api.sfcompute.com REST API lets buyers and sellers place market orders for blocks of H100 GPU-hours, manage tradable cluster contracts, query live market prices, check balances, and provision managed Kubernetes clusters, nodes, and VMs - all driven by the `sf` CLI and language SDKs.

6 APIs 0 Features
GPUComputeMarketplaceH100Spot Pricing

APIs

SF Compute Orders / Market API

Place, list, fetch, and cancel buy/sell market orders for blocks of GPU compute. Buy orders specify instance type, quantity, price, duration, and start; sell orders list unused ...

SF Compute Contracts API

List and retrieve tradable cluster contracts - the multi-node H100 InfiniBand reservations produced when buy orders fill. Contracts carry an instance type, an interval/quantity ...

SF Compute Prices / Quote API

Request a live market quote for a desired instance type, quantity, duration, and start window. Returns an indicative per-GPU-hour and total price derived from current orderbook ...

SF Compute Clusters / Nodes API

Manage managed-Kubernetes clusters, nodes, VM instances, procurements (auto-scaling fleets), and the kubeconfig credentials used to reach them. Covers listing instances and zone...

SF Compute Balance API

Read account balance (available and current cents), credit balance, transactions, and account identity. Used to confirm spend headroom before placing market orders and to reconc...

SF Compute Inference API

OpenAI-compatible inference served on SF Compute capacity. Models are listed via the models endpoint and called through a standard chat completions interface, letting bought GPU...

Collections

Pricing Plans

Sfcompute Plans Pricing

3 plans

PLANS

Rate Limits

Sfcompute Rate Limits

4 limits

RATE LIMITS

FinOps

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: SF Compute API
  version: v0
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: Orders
    type: folder
  items:
  - info:
      name: List orders
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/orders
    docs: List market orders with filtering, sorting, and pagination.
  - info:
      name: Place an order
      type: http
    http:
      method: POST
      url: https://api.sfcompute.com/v0/orders
      body:
        type: json
        data: "{\n  \"side\": \"buy\",\n  \"instance_type\": \"h100i\",\n  \"quantity\": 8,\n  \"price\": 250000,\n  \"duration\"\
          : 86400,\n  \"start_at\": \"NOW\"\n}"
    docs: Place a buy or sell market order.
  - info:
      name: Cancel all open orders
      type: http
    http:
      method: DELETE
      url: https://api.sfcompute.com/v0/orders
    docs: Cancel all open orders.
  - info:
      name: Get an order
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/orders/{id}
    docs: Get a single order by id.
  - info:
      name: Cancel an order
      type: http
    http:
      method: DELETE
      url: https://api.sfcompute.com/v0/orders/{id}
    docs: Cancel a single order by id.
  - info:
      name: Get clusters for an order
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/orders/{id}/clusters
    docs: Get the clusters provisioned from a filled order.
- info:
    name: Prices
    type: folder
  items:
  - info:
      name: Get a market quote
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/quote
    docs: Request an indicative market price for a desired block of compute.
- info:
    name: Contracts
    type: folder
  items:
  - info:
      name: List contracts
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/contracts
    docs: List tradable cluster contracts.
  - info:
      name: Get a contract
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/contracts/{id}
    docs: Get a single contract by id.
- info:
    name: Clusters
    type: folder
  items:
  - info:
      name: List procurements
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/procurements
    docs: List auto-scaling procurement fleets.
  - info:
      name: Create a procurement
      type: http
    http:
      method: POST
      url: https://api.sfcompute.com/v0/procurements
      body:
        type: json
        data: '{}'
    docs: Create an auto-scaling procurement.
  - info:
      name: Get a procurement
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/procurements/{id}
    docs: Get a single procurement by id.
  - info:
      name: List instances
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/instances
    docs: List instances.
  - info:
      name: List zones
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/zones
    docs: List availability zones.
  - info:
      name: List credentials
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/credentials
    docs: List cluster credentials (kubeconfig).
  - info:
      name: List VM instances
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/vms/instances
    docs: List VM instances.
- info:
    name: Balance
    type: folder
  items:
  - info:
      name: Get account balance
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/balance
    docs: Get available and current account balance in cents.
  - info:
      name: List transactions
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/transactions
    docs: List account transactions.
- info:
    name: Account
    type: folder
  items:
  - info:
      name: List API tokens
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/tokens
    docs: List API tokens.
  - info:
      name: Create an API token
      type: http
    http:
      method: POST
      url: https://api.sfcompute.com/v0/tokens
      body:
        type: json
        data: '{}'
    docs: Create an API token.
  - info:
      name: Delete an API token
      type: http
    http:
      method: DELETE
      url: https://api.sfcompute.com/v0/tokens/{id}
    docs: Delete an API token by id.
  - info:
      name: Get current account
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/me
    docs: Get the authenticated account.
  - info:
      name: Health check
      type: http
    http:
      method: GET
      url: https://api.sfcompute.com/v0/ping
    docs: Service health check.