فارسی Documentation library

Documentation

Everything you need to connect, choose a model and manage costs, in one place.

Quickstart guide

Create a key, set the base URL and send your first request.

Wallet, top-ups and billing

How your balance goes down, where the toman figures come from, and where to see your usage.

Tools overview

Coding, agentic, automation, enterprise and chat tools, and where to configure each one.

Models overview

Which model suits which job, and how to choose one.

API overview

Endpoints, authentication and ready-to-use examples for both the OpenAI and Anthropic formats.

Coding with DaLAi

Set up Claude Code and the other coding tools, choose the right model and keep costs under control.

Enterprise usage guide

Tools suited to organizations, deployment patterns, and managing keys, costs and security.

Errors and limits

What each error message means and what to do to fix it.

New here?

If this is your first time working with DaLAi, start with the Quickstart guide. Three things are needed: creating a key, setting the base URL, and choosing a model name. No library needs to be installed, and the whole thing takes a few minutes.

All examples in this documentation are written with the base URL https://dalai.ir/v1. If your tool works with the standard OpenAI API, this one value plus your key is all you need.

For organizations

If you want to make DaLAi available to several teams or several applications, start with the Enterprise usage guide: the right tools for each job, deployment patterns, and managing keys, costs and security.