> For the complete documentation index, see [llms.txt](https://docs.swanchain.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swanchain.io/swan-inference/readme.md).

# Welcome

Swan Chain is a decentralized **AI inference cloud**. Developers call one OpenAI-compatible API and get frontier models and open-source models served by a network of independent GPU providers; providers earn per token for the requests they serve. The marketplace lives at [**inference.swanchain.io**](https://inference.swanchain.io).

{% hint style="info" %}
**Try it in a minute.** The [playground](https://inference.swanchain.io/playground) runs a live model with no account. When you are ready, [sign up](https://inference.swanchain.io/signup), copy your API key, and point any OpenAI SDK at `https://inference.swanchain.io/v1`. The [live catalog](https://inference.swanchain.io/models) shows every model with its current price, context window and how many providers are serving it right now.
{% endhint %}

## Start here

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Use AI models</strong></td><td>Playground, account, API key, credits, first request. Everything a developer needs in one page.</td><td><a href="/pages/rmae7OaU0aOou5nVfl24">/pages/rmae7OaU0aOou5nVfl24</a></td></tr><tr><td><strong>Earn with your GPU</strong></td><td>Run a model server, connect the open-source <code>computing-provider</code>, pass verification, deposit collateral, get paid per token.</td><td><a href="/pages/fY62u9NHr3obwDewLjX3">/pages/fY62u9NHr3obwDewLjX3</a></td></tr><tr><td><strong>API reference</strong></td><td>Every endpoint, header, limit and error code, with copy-paste examples in curl, Python, Node and Go.</td><td><a href="/pages/vM0MbygY6OLmGr2wiiC0">/pages/vM0MbygY6OLmGr2wiiC0</a></td></tr><tr><td><strong>How the marketplace works</strong></td><td>Routing, the two-price model, settlement, verification and the Token Plan — for anyone who wants to know what happens behind a request.</td><td><a href="/pages/c8FrUbqpljOmLQbfkQ2k">/pages/c8FrUbqpljOmLQbfkQ2k</a></td></tr></tbody></table>

## Live network

|                                            |                                                                                            |
| ------------------------------------------ | ------------------------------------------------------------------------------------------ |
| Marketplace                                | [inference.swanchain.io](https://inference.swanchain.io)                                   |
| Model catalog and prices                   | [inference.swanchain.io/models](https://inference.swanchain.io/models)                     |
| Providers, models and traffic in real time | [inference.swanchain.io/network](https://inference.swanchain.io/network)                   |
| Pricing and Token Plan                     | [inference.swanchain.io/pricing](https://inference.swanchain.io/pricing)                   |
| Provider software (open source)            | [github.com/swanchain/computing-provider](https://github.com/swanchain/computing-provider) |
| Governance proposals (SIPs)                | [github.com/swanchain/governance](https://github.com/swanchain/governance)                 |

## Build on Swan Chain

Swan Chain is also an Ethereum Layer 2 (chain ID **254**). If you are deploying contracts or running a node rather than calling models, start with the [network reference](/network-reference/readme.md) and the [DApp developer guide](/build-on-swan-chain/dapp-developer.md).

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Network info</strong> — chain IDs, RPC endpoints, explorers, token addresses</td><td><a href="/pages/LBCYaBlvKrLzxwdPyX9p">/pages/LBCYaBlvKrLzxwdPyX9p</a></td></tr><tr><td><strong>Contract addresses</strong> — L2 infrastructure and the inference contracts</td><td><a href="/pages/4B9GAd4sg95K68dijwNJ">/pages/4B9GAd4sg95K68dijwNJ</a></td></tr><tr><td><strong>Deploy a contract</strong> — first smart contract with Remix</td><td><a href="/pages/bIPhC5gakfUlCQA7QUf2">/pages/bIPhC5gakfUlCQA7QUf2</a></td></tr></tbody></table>

{% hint style="warning" %}
**Looking for ECP/FCP, ZK tasks, UBI, Lagrange or a past testnet?** That material describes Swan 1.0 and is kept under [Legacy: Swan 1.0](/legacy-swan-1.0-archived/swan-chain-campaign.md) for existing operators. It is no longer maintained.
{% endhint %}
