DINGJIAI
DINGJIAI
Quick start in 5 minutesWhat is DINGJIAI?

Online use

Online chatOpens in a new windowImage generationOpens in a new window

Popular Agents

Codex SetupClaude Code SetupOne-Click Setup

API Reference

API overview
Error codes

Billing

Model pricingTroubleshooting calls

Troubleshooting calls

Where to start when a request fails.

Preserve evidence

Record the response status, error body, and X-Request-Id. Do not capture only a fragment of the error message, and do not expose the complete API key.

Troubleshooting order

  1. Authentication: Does the header belong to the current API family or call entry? Is it a user API key or an upstream key?
  2. Path: Is the Base URL duplicated with the endpoint path, or is /v1 missing?
  3. Model: Is the public model id published for the current call entry?
  4. Balance and concurrency: Is the balance greater than 0? Have user, gateway, or upstream concurrency limits been reached?
  5. Upstream: Use the request_id to distinguish network errors, rate limits, capacity issues, unavailable models, and timeouts.
  6. Settlement: Check usage, the estimated marker, the usage log, the ledger, and the balance.

See Error codes for common string error codes and Usage and billing for billing rules.

Last updated on

Model pricingUsage charges

On this page

Preserve evidenceTroubleshooting order