FOR DEVELOPERS Preview

One API key for multiple AI models

Use multiple AI models in your software with one DigiHoosh API key.

Read the API documentation Dashboard guide

Example request

Values are placeholders

curl --request POST "$DIGIHOOSH_API_BASE_URL/v1/chat/completions" \
  --header "Authorization: Bearer $DIGIHOOSH_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "gpt-5.6-luna",
  "messages": [
    {
      "role": "system",
      "content": "Answer concisely."
    },
    {
      "role": "user",
      "content": "What is two plus two?"
    }
  ],
  "stream": false,
  "max_completion_tokens": 64,
  "temperature": 0.2,
  "reasoning_effort": "high",
  "n": 1
}'

Use the base URL and key from your own approved environment. Never write the key in code.

Multiple AI models. One API key.

Built for real work

START WITH THE API

Get started in three steps

  1. Learn the API structure and the models available to your organization.
  2. As an organization Owner or Admin, follow the Dashboard guide to create an API key and keep it secret.
  3. Use the API documentation examples to send your first request and review usage.

Keep your API key safe

  • Copy a new key once and store it in an approved secret manager.
  • Load it from an environment variable or secret file; never write it in code.
  • Never put it in a URL, the browser, a screenshot, a log or a support message.

Chat or API?

DigiHoosh Chat

For direct conversations, with a monthly subscription.

View pricing

BEFORE YOU START

Developer questions

How are Chat and the API different?

Chat is for direct conversations. The API connects AI to your software, with usage and credit managed separately from a Chat subscription.

Does a Chat subscription include API credit?

No. Chat subscription allowance and API credit are managed separately. A Chat subscription does not grant API credit.

How can I review API usage?

Organization Owners and Admins can review usage reports, request history and credit for the active organization in the Developer Dashboard. Members cannot access these areas.

Which models can I use?

The models in your organization's catalogue. List them with GET /v1/models.

What happens if a request fails?

A failed, cancelled or timed-out request is not charged, and its reserved credit is released. Error codes are described in the API documentation.

Ready to build?