Guides
- Quickstart
- Quickstarts by language
- Migration guides
- Authentication and keys
- Key protection
- Models, aliases and fallbacks
- Automatic model choice (silicon/auto)
- Chat completions
- Streaming
- Structured outputs and tools
- Logprobs
- Vision
- Responses, Claude and Ollama
- Embeddings, rerank, audio, images
- Files and batches
- Documents and search
- LoRA adapters
- Project tags and costs
- Prefix caching
- Headers, rate limits and spend caps
- Errors
- Versioning and the sandbox
- Privacy and retention
- Verifiable receipts
- Data residency
- Pricing
- Billing
- Pay per request (x402)
- On-chain oracle
- Agent credit (backed compute lines)
- Status
- SDKs
- Swift SDK
- Integrations
- Run a node
- Linux agent
- Mac mini fleets
- Compute API
- Architecture
- Changelog
- Glossary
API reference
API reference
Ollama
The Ollama API for clients that speak it: chat, generate, and the discovery routes a model picker uses.
Base URL https://api.siliconnetwork.io
- POST/ollama/api/chat
- POST/ollama/api/generate
- GET/ollama/
- HEAD/ollama/
- GET/ollama
- HEAD/ollama
- GET/ollama/api/version
- GET/ollama/api/tags
- GET/ollama/api/ps
Ollama Chat
Ollama base URL is https://api.siliconnetwork.io/ollama. Discovery needs no key; chat does, so use a client that can set an Authorization header.
curl -X POST https://api.siliconnetwork.io/ollama/api/chat \ -H "Authorization: Bearer sn_live_..." \ -H "Content-Type: application/json" \ -d '{ "model": "llama-3.2-3b", "messages": [ { "role": "user", "content": "Say hello in one line." } ], "stream": false}'Responses: 200 Successful Response, 422 Validation Error
Ollama Generate
curl -X POST https://api.siliconnetwork.io/ollama/api/generate \ -H "Authorization: Bearer sn_live_..." \ -H "Content-Type: application/json" \ -d '{ "model": "llama-3.2-3b", "prompt": "Say hello in one line.", "stream": false}'Responses: 200 Successful Response, 422 Validation Error
Ollama Root
Responses: 200 Successful Response
Ollama Root
Responses: 200 Successful Response
Ollama Root
Responses: 200 Successful Response
Ollama Root
Responses: 200 Successful Response
Ollama Version
Clients only check that this answers and parses; the value mirrors the engine's.
Responses: 200 Successful Response
Ollama Tags
The models an Ollama client may actually call, synthesized from what is LOADED. Deliberately NOT a proxy of the engine's own /ollama/api/tags: that lists every model whose weights have been downloaded, and almost none of those have a running instance. Proxying it would reproduce the 404 inside every client's model picker; a menu of names, one of which works.
Lists the models loaded right now, so an Ollama client's picker only shows ids that serve.
Responses: 200 Successful Response
Ollama Ps
Running models. The same list as /api/tags, because at the edge only a loaded model is callable, so 'installed' and 'running' cannot differ here.
Responses: 200 Successful Response