Docs

# Docs for each Vatan product.

Each product keeps its docs next to the product itself. Pick the one you use.

## Vatan Gateway

One API for every model, paid as you go. Its docs cover keys, endpoints, models, MCP and errors.

| API base URL | https://gateway.vatan.one/v1 |
| MCP server | https://gateway.vatan.one/mcp |
| Sign requests with | Authorization: Bearer <key> |

For AI agents: [llms.txt](https://gateway.vatan.one/docs/llms.txt) and [the reference as one Markdown file](https://gateway.vatan.one/docs/reference.md).

[Open the Gateway docs](https://gateway.vatan.one/docs/docs/)[Models and prices](https://vatan.one/models)

## Vatan Workspace

Help pages coming

Where your teams use AI: agents, documents and workflows in English and Persian.

Its help pages are not published yet. Cloud accounts are by invitation, and we set each one up with you.

[Ask for an invitation](https://vatan.one/contact?reason=demo)[What it does](https://vatan.one/products/workspace)

Moved

## The API reference is now in the Gateway docs.

Each section that used to be on this page, and where it is now.

### Your first call

One base URL and one key: https://gateway.vatan.one/v1 for an OpenAI SDK, https://gateway.vatan.one for an Anthropic one.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/)

### Keys, budgets and limits

A bearer key, and the budget and rate limit it carries.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/cloud/keys/)

### Endpoints

What a key can call, and the ones that answer 403.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/cloud/endpoints/)

### Images, speech, video and 3D

How to call the media models, including the ones from fal, and how a job is billed.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/cloud/media/)

### Clients that work unchanged

The two-line change for the OpenAI and Anthropic SDKs, Claude Code and Codex.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/cloud/clients/)

### Connect over MCP

The MCP server is https://gateway.vatan.one/mcp. Send your Vatan key as Authorization: Bearer <key>.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/cloud/mcp/)

### Errors

The error shape, and what each status means.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/cloud/errors/)

### What it costs

How a price is arrived at, and the two checks that stop a runaway loop.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/cloud/costs/)

### Everything else

The rest of the gateway documentation.

[Read it in the Gateway docs](https://gateway.vatan.one/docs/docs/)

Source: https://vatan.one/docs
