DINGJIAI
DINGJIAI
Quick start in 5 minutesWhat is DINGJIAI?

Popular Agents

Codex SetupClaude Code SetupOne-Click Setup

API Reference

API overview

Billing

Model pricing

API overview

DINGJIAI API families, public entries, authentication, and model selection.

Choose the API family or entry before choosing a model

DINGJIAI exposes public API families and native wire entries for OpenAI Chat Completions, OpenAI Responses, Images Generations, Anthropic Messages, and Gemini GenerateContent. Use the path, headers, and request body for the entry you choose. The gateway does not automatically translate one API family or protocol into another.

Public API families and entries

API family or entryPublic pathAuthentication
OpenAI Chat CompletionsPOST /v1/chat/completions or POST /chat/completionsAuthorization: Bearer <DINGJIAI user API key>
OpenAI ResponsesPOST /v1/responsesAuthorization: Bearer <DINGJIAI user API key>
Codex Search capabilityPOST /v1/alpha/searchAuthorization: Bearer <DINGJIAI user API key>
Images API · GenerationsPOST /v1/images/generationsAuthorization: Bearer <DINGJIAI user API key>
Anthropic MessagesPOST /v1/messages or POST /anthropic/v1/messagesx-api-key: <DINGJIAI user API key>
Anthropic Messages · Count TokensPOST /v1/messages/count_tokens or POST /anthropic/v1/messages/count_tokensx-api-key: <DINGJIAI user API key>
Gemini GenerateContentPOST /v1beta/models/{model}:generateContentx-goog-api-key: <DINGJIAI user API key>
Gemini StreamGenerateContentPOST /v1beta/models/{model}:streamGenerateContentx-goog-api-key: <DINGJIAI user API key>

Codex Search is a capability used in the Responses workflow, not a separate top-level API family or billing system. Count Tokens is an operation under Anthropic Messages. Images Edits is currently a private signed-in web operation at POST /api/img/edits; /v1/images/edits is not a public API entry.

Start with the matching protocol

  • For existing OpenAI-compatible clients, start with Chat Completions.
  • For new OpenAI projects and Codex-like tools, read Responses.
  • For Base URL and header choices across all public entries, see Base URL and authentication.
  • Codex may use Search automatically during a Responses workflow; it does not require another credential or a separate charge.

Anthropic and Gemini requests must remain in their native API family. The Base URL and authentication guide lists their current paths and headers; a model list from one API entry does not prove that the same public model id is available on another entry.

Model selection and billing

Use a public model id that the platform or administrator has published for the API family or internal entry you are calling. The same id is not automatically available across entries, and it does not represent the full capability matrix of an upstream model.

Before a model call, the account's available balance must be greater than zero. DINGJIAI settles the call using the matching API family's usage rules and records usage, billing, and balance activity in the console.

Last updated on

One-Click SetupBase URL and authentication

On this page

Public API families and entriesStart with the matching protocolModel selection and billing