深度算力 深度算力 · 驱动未来
Quick Start

Quick Start

DeepCompute offers a mainstream-model-compatible interface — just swap the Base URL and API key to migrate existing code seamlessly.

Get Started in Three Steps

1

Sign up

Register for free, verify your account, and receive trial credit.

2

Create an API key

Create and copy your API key on the Tokens page in the console.

3

Swap and call

Point the Base URL to our endpoint and use your familiar SDK.

Base URL & Authentication

Pass your key via the Authorization: Bearer <YOUR_API_KEY> header. The Base URL is:

https://api.modelbilling.com/v1
curl https://api.modelbilling.com/v1/chat/completions \
  -H "Authorization: Bearer $YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.modelbilling.com/v1",
)

resp = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "YOUR_API_KEY",
  baseURL: "https://api.modelbilling.com/v1",
});

const resp = await client.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(resp.choices[0].message.content);

This page is an introduction only. For the full API reference, parameters and error codes, see the complete developer docs.

Read Full Developer Docs