Bittensor Subnet Inference
bittensor.com- Category
- Inference
- Network
- Bittensor
- Avg / request
- Free in peaqOS; your endpoint sets its own cost
- Endpoints
- 2
Service overview
What is Bittensor Subnet Inference?
peaqOS connects a machine to Bittensor subnets through a native adapter with two operations. get-subnet reads one subnet’s identity (name, description, links) from the Bittensor chain at a finalized block. infer reads the subnet the same way, then sends one JSON request to an HTTPS model endpoint the caller names, on a host the peaqOS server allows, and returns the answer with evidence: the finalized block, the subnet’s name when the chain has one, the endpoint host, any model the caller declared, and a SHA-256 of the canonical JSON bytes it sent. peaqOS records a declared model as the caller states it and does not check which model ran. The endpoint is yours: you host the model, like a QVAC runtime, and the evidence records that you named it. peaqOS never says Bittensor served the answer. It holds no Bittensor key, signs nothing, and stores no endpoint credential, request, or answer. Bittensor is a network of independent subnets; OpenRoboto, subnet 80, runs competitions for robotics models. The adapter is in development and not callable yet. In a recorded demo, the model that won the first season of Bittensor’s OpenRoboto subnet, hosted on Modal, answered one robot request through it.
How it works
- Step 1
Host the model
Run the model behind an HTTPS endpoint on port 443. OpenRoboto does not serve its models, so the demo hosted the season-one winner on Modal.
- Step 2
Enable the adapter
For the recorded demo, the operator ran a local peaqOS instance with the adapter turned on, a Bittensor RPC URL, and the endpoint’s host on its allowed list.
- Step 3
Read the subnet
A paired Machine Agent calls get-subnet with the subnet’s netuid, 80 for OpenRoboto. peaqOS reads its identity from the chain.
- Step 4
Send the request
The agent calls infer with your endpoint URL and the robot’s request, and can declare the model it uses. peaqOS returns the answer and the evidence; it records the declared model without checking which model ran.
Adapter surface
2 operationsAdapter operations
Behind peaqOS: the paired agent calls peaqOS directly. Both operations read the subnet from the Bittensor chain; for infer, peaqOS then sends the request to the endpoint you host and records the evidence. peaqOS holds no Bittensor key and never signs.
- POST
get-subnetRead one subnet’s name, description, and links from the Bittensor chain at a finalized block. No provider credential; the pairing token is required.
- POST
inferSend one JSON request to your HTTPS model endpoint and return its answer with evidence of what was sent, where, and at which block.
Integration fields
Wire Bittensor into peaqOS
- providerKey
- bittensor
- serviceType
- ai.inference
- serviceId
- bittensor:directory, bittensor:inference
- skillKey
- bittensor-subnet-directory, bittensor-subnet-inference
- route
- POST /api/v1/market/services/{serviceId}/execute; orders are refused
- auth
- x-agent-pairing-token on every call
- required input
- input.netuid; infer also input.endpointUrl and input.request
- endpoint credential
- providerCredentials.bittensor: none, bearer, or api-key
- server config
- PEAQOS_BITTENSOR_ENABLED, PEAQOS_BITTENSOR_RPC_URL, PEAQOS_BITTENSOR_ALLOWED_ENDPOINT_HOSTS
- evidence
- endpointSource caller, block, subnet name, requestSha256
- payment
- not-required in peaqOS; your endpoint may bill separately
- availability
- In development: demo only, off by default
FAQ
Questions agents ask about Bittensor
Does it require an API key?
Not a Bittensor one: peaqOS holds no Bittensor key and only reads the chain. get-subnet needs no provider credential. infer sends the credential your own endpoint expects, as providerCredentials.bittensor with authType none, bearer, or api-key, and peaqOS never stores it. Every call carries the machine’s current signed pairing as x-agent-pairing-token.
Can my robot use it today?
Not yet. The adapter is in development: it is not merged into peaqOS and is off by default, so agents cannot call it. In the recorded demo it handled one robot request on a local peaqOS instance, where the chain read was real and infer called the model endpoint hosted for the demo.
What did the demo run?
The model that won the first season of Bittensor’s OpenRoboto subnet answered one robot request through the peaqOS Bittensor adapter. peaqOS read subnet 80 from the Bittensor chain, then sent one recorded observation from the public LIBERO dataset (a simulated arm) to the pinned model, which ran on Modal for the demo. The model returned the arm’s next 10 moves. See OpenRoboto for the subnet.
Does Bittensor serve the answer?
No. OpenRoboto runs a competition where participants train and submit robotics models; it does not serve them. You host the model, the server operator allows its host, and the evidence always says endpointSource caller. The subnet name and block prove the subnet exists on the chain; they do not link your endpoint to the subnet.
How does payment work?
peaqOS charges nothing for either operation and runs no payment rail on this path. Your endpoint may bill its caller on its own terms.
What happens if a request fails?
A request that breaks the contract or names a host outside the allowed list is refused with a 400 before anything is sent, and a pairing, eligibility, or delegation check can still answer 401 or 403. Once peaqOS accepts the execution, failures come back inside an HTTP 200 response as a coded result, for example chain unavailable, chain unsupported, subnet not found, pairing authorization revoked, endpoint unreachable, unauthorized, rejected, invalid answer, or timeout. infer is never retried and no upstream message is passed through.
Similar services
- QVAC
Machine-side private inference through a QVAC-compatible runtime registered with peaqOS.
InferenceOperator-defined - Allora
Decentralized ML predictions a machine can read keyless — and worker registration for machines that supply them.
InferenceFree — keyless chain reads - Generative Language
Gemini text, multimodal understanding, and tool calling via pay.sh.
InferencePer endpoint