Platform notice: all DeepSeek models are now live. New users receive trial credits on sign-up.

Welcome to OpenRuler

Access the world's leading models through one integration. A single API Key gets you started, with pay-as-you-go billing and transparent settlement.

What is OpenRuler

OpenRuler is a one-stop marketplace for AI capabilities. You don't need to manage accounts and keys for multiple model vendors—register a single platform account and call any model listed on the platform through one OpenAI-compatible API, paying only for actual usage.

  • OpenAI-compatible protocol: Existing code only needs its base_url and API Key swapped out—one line and you're connected.
  • Pay-as-you-go: Billed in "yuan per million tokens", with input and output priced separately. Prices are publicly listed on Models.
  • Key tree management: API Keys support groups, sub-keys, and quotas, suited to teams and multi-project setups.
  • Transparent billing: Every top-up and every call is recorded in your billing ledger, ready to reconcile at any time.

Your first request

The platform is fully compatible with the OpenAI protocol—just point base_url at the platform gateway and use your own API Key:

curl https://api.example.com/api/gateway/v1/chat/completions \
  -H "Authorization: Bearer sk-tp-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-chat",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

Example response:

{
  "choices": [{ "message": { "role": "assistant", "content": "Hello! How can I help you?" } }],
  "usage": { "prompt_tokens": 9, "completion_tokens": 12, "total_tokens": 21 }
}

Where to start

DocumentContents
QuickstartGet from sign-up to your first call in five steps
API Key managementCreate groups and sub-keys, set quotas, revoke with cascading
BillingBilling rules, balance pre-checks, ledger, and top-ups

Try it online

Don't feel like writing code? Open the Playground to chat with available models right in your browser. Usage is billed exactly like API calls.

On this page