singularity-grid is the official Python client for SGL Grid. Submit inference to TEE-verified nodes, check capacity, read pricing, and verify attestation — from one package.
Install
Quick start
Configuration
Submit a job + verify attestation
OpenAI-compatible usage
Embeddings
Turn text into vectors for search and RAG via the OpenAI-compatible/v1/embeddings
endpoint. embed() returns the list of vectors (ordered to match input); embeddings()
returns the full OpenAI-style response. See the Embeddings guide
for the model catalog and options.
