Skip to main content

commoncompute

Python client for the Common Compute API.

The workload catalog is intentionally server-controlled. List the current catalog before submitting work; a workload not currently offered returns workload_not_offered.

Install

pip install commoncompute

Chat quickstart

import commoncompute as cc

client = cc.Client(api_key="cc_live_...")
job = client.submit(
    "mlx_llm",
    {"messages": [{"role": "user", "content": "Hello"}], "max_tokens": 64},
    model_id="qwen3-4b",
    data_class="public",
    max_spend_usd=1,
    marketplace_execution_risk_acknowledged=True,
)
result = client.jobs.wait(job.id)
print(result)

The OpenAI-compatible chat-completions endpoint is also available at https://api.commoncompute.ai/v1.

Current workload discovery

Use GET /v1/workloads, GET /v1/models, or the SDK catalog resource as the source of truth. Current categories include chat/LLM, vision Q&A, and fine-tuning. Availability can change while the platform is in alpha.

Every marketplace job requires an explicit acknowledgement that assigned provider Mac computers process job inputs in plaintext. Provider Agreement version 2026-09-19 is published for acceptance, but fleet-wide enforcement is still being phased in. A reviewed United States DPA framework is available only by separately signed order. Do not submit sensitive or regulated data unless the signed agreement and supported routing boundary expressly cover it.

See the documentation and trust model.

Metadata

Release files for commoncompute 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for commoncompute 0.4.1
File Size Uploaded
commoncompute-0.4.1.tar.gz 53.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for commoncompute 0.4.1
File Interpreter ABI Platform
commoncompute-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 116.7 kB

Release files / commoncompute-0.4.1.tar.gz

Download URL commoncompute-0.4.1.tar.gz
Size 53.7 kB
Tags Source
SHA-256 checksum
How to use checksums
49f7cf64df3853883f2bcdfc65ea490cdfc2a843b4a44e0a23dd7fbb92ccb5a3
BLAKE2b-256 checksum
How to use checksums
3251e197ad5570d8091a1536e7f77dbcdb2a8129ac4804514c5f9acf6a65ca18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / commoncompute-0.4.1-py3-none-any.whl

Download URL commoncompute-0.4.1-py3-none-any.whl
Size 63.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7569f02d67e89a821d0133099060d5166e2bd74e50fcfadc8411e595021f13a4
BLAKE2b-256 checksum
How to use checksums
243463023b534347437774b0429c2c2ff9bcf067cb0049fa54a04a003cd3f308
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page