Docs

Guide

Quickstarts by language

Pick your language. Each page takes about five minutes: install, set the key, one chat completion, a streamed answer, the model list and an error handled.

Before you start

Create an API key on the API Keys page and add balance on the Billing page. Every client talks to https://api.siliconnetwork.io/v1 with the key as a bearer token. The Python, TypeScript, Go and Rust clients read the key from SILICON_API_KEY; the Swift client takes it as an argument.

The examples use llama-3.2-3b. GET /v1/models lists what is loaded right now; the routing alias fast picks whichever small model is serving.

Languages

Quickstarts
LanguagePackagePage
PythonsiliconnetworkPython quickstart
TypeScript@siliconnetwork/sdkTypeScript quickstart
Gosdks/go (from the repository)Go quickstart
Rustsiliconnetwork (from the repository)Rust quickstart
SwiftSiliconNetwork (local package)Swift quickstart
Any (HTTP)curlcurl quickstart

The Go, Rust and Swift clients are not on a registry yet, so their pages say how to use them from a checkout of the repository; the Python and TypeScript pages say the same for when a package is not on PyPI or npm yet. Already on the OpenAI, Anthropic or Ollama clients? Keep them and change the base URL: see the migration guides.

Silicon Network›Docs›Guides›Quickstarts by language54 items