Everything you need to connect, choose a model and manage costs, in one place.
Create a key, set the base URL and send your first request.
How your balance goes down, where the toman figures come from, and where to see your usage.
Coding, agentic, automation, enterprise and chat tools, and where to configure each one.
Which model suits which job, and how to choose one.
Endpoints, authentication and ready-to-use examples for both the OpenAI and Anthropic formats.
Set up Claude Code and the other coding tools, choose the right model and keep costs under control.
Tools suited to organizations, deployment patterns, and managing keys, costs and security.
What each error message means and what to do to fix it.
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.
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.