AI API Hub

Unified Gateway for Leading AI Model APIs

A reliable and efficient API gateway for developers and teams. Accelerate your AI deployment with unified API key management, flexible top-ups, and detailed usage analytics. Deeply optimized for Anthropic/Claude, with growing support for ChatGPT and Gemini.

Protocol Support
Anthropic compatible
Supported Tools
Claude Code / SDK / HTTP
Account Features
Unified Key / Top-ups / Usage

One API Key, A World of AI Possibilities

Skip the hassle of managing multiple accounts. Access the global AI ecosystem through dingyue.app’s unified interface.

Claude API

Fully compatible with Anthropic’s official protocol, ideal for Claude Code, server-side scripts, and automation.

ChatGPT API

Access the GPT series through our unified gateway, simplifying model switching and billing management.

Gemini API

Leverage Google Gemini’s multimodal capabilities for broader AI support and flexible integration options.

Multimodal Ready

Our architecture is built for vision and future multimodal models, keeping you at the tech forefront.

Enterprise Gateway

High-availability proxy services ensuring stable access to mainstream AI interfaces worldwide.

Our API Pricing

View common model rates upfront, billed by actual token usage so you can estimate cost before integrating.

USD / 1M tokens
ModelInputOutputCache hitCache writeOfficial (in/out)Save
claude-fable-5
$2.5650$12.8250$0.2550$3.2100$10 / $5074%
claude-haiku-4-5
$0.2550$1.2750$0.0300$0.3150$1 / $574%
claude-opus-4-6
$1.2750$6.4200$0.1350$1.6050$5 / $2574%
claude-opus-4-7
$1.2750$6.4200$0.1350$1.6050$5 / $2574%
claude-opus-4-8
$1.2750$6.4200$0.1350$1.6050$5 / $2574%
claude-sonnet-4-6
$0.7650$3.8400$0.0750$0.9600$3 / $1574%
claude-sonnet-5
$0.7650$3.8400$0.0750$0.9600$3 / $1574%
gpt-5.4
$0.2550$1.5000$0.0300$0.0300$2.5 / $1590%
gpt-5.4-mini
$0.0750$0.4500$0.0075$0.0150$0.75 / $4.590%
gpt-5.5
$0.4950$3.0000$0.0450$0.0450$5 / $3090%
gpt-5.6-luna
$0.1050$0.6000$0.0105$0.0150$1 / $690%
gpt-5.6-sol
$0.4950$3.0000$0.0450$0.0450$5 / $3090%
gpt-5.6-terra
$0.2550$1.5000$0.0300$0.0300$2.5 / $1590%

Model availability and real-time pricing are confirmed in the signed-in API console.

Start Your AI Journey in Three Steps

Model availability, real-time pricing, and quotas are managed within the signed-in console.

  1. 1

    Register & Initialize

    Create an account and access the API console to initialize your dedicated API environment.

  2. 2

    Flexible Top-ups

    Choose your recharge amount and complete payment via our secure checkout for instant balance.

  3. 3

    Generate & Connect

    Create your API Key, configure the Base URL, and start calling leading AI models in your code.

Claude Code and Standard HTTP Integration

We provide standardized API wrapping that can be easily integrated via headers or environment variables.

ClaudeChatGPTConsole Entry
ANTHROPIC_AUTH_TOKEN="dy_sk_your_api_key" \
ANTHROPIC_BASE_URL="https://dingyue.app/api/proxy" \
claude
curl https://dingyue.app/api/proxy/v1/messages \
  -H "x-api-key: dy_sk_your_api_key" \
  -H "content-type: application/json" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "claude-sonnet-4-6",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Precise Account & Billing Management

Smart Reservations

Balance is reserved based on input and max_tokens, with final settlement against actual token usage.

Transparent Pricing

Real-time pricing for all models is shown in the console to help you balance performance and cost.

Full Usage History

Track every model, token, and status to ensure your expenses are always clear and traceable.

API Hub FAQ

How does this page relate to the console (/account)?+

This page provides a service overview; /account is the actual management dashboard for keys, balances, and top-ups.

Which AI models are currently supported?+

We focus on high-stability Claude API support, with active integrations for ChatGPT, Gemini, and more. See the console for the full list.

How do I configure Claude Code?+

Simply set ANTHROPIC_AUTH_TOKEN to your API Key and point ANTHROPIC_BASE_URL to our API endpoint.

Is my top-up balance available immediately?+

Yes, balance is credited to your account as soon as the payment is confirmed. Speed varies by payment method.

Simplify Your AI Integration Today

Built for developers who value efficiency. Stable, unified, and transparent AI API proxy and account management.