runaiicloud
ModelsGPUsPricingDocsConnectCompareEnterprisePlayground
Log inGet started
runaiicloud docs
status →
⌘⌘K
Get started
Quickstart
API reference
Authentication & API keysStreamingErrorsModels catalog
Billing & limits
Pricing, metering & prompt cachingRate limits & tiers
Bring your own model →Blog ←Get an API key →Changelog
Authentication & API keysPricing, metering & prompt cachingQuickstartRate limits & tiersStreamingErrorsModels catalog
docs/Get started/Quickstart
Get started

Quickstart

Make your first metered API call in 60 seconds.


1. Get a key

Sign up at runaii.cloud (you get $1 in free credits), then create a key at Console → API Keys. Keys start with sk-runaii- and are shown once — store them somewhere safe.

2. Point your SDK at us

The API is OpenAI-compatible — if you already use the OpenAI SDK, this is a two-line change:

from openai import OpenAI

client = OpenAI(
    api_key="sk-runaii-...",                    # your runaii key
    base_url="https://api.runaii.cloud/v1",     # ← the only change
)

resp = client.chat.completions.create(
    model="glm-5.3-flash",                      # or any id from /api/v1/models
    messages=[{"role": "user", "content": "Hello, fleet."}])

print(resp.choices[0].message.content)
print(resp.usage.cost)                          # exactly what you were charged

3. Or plain curl

curl https://api.runaii.cloud/v1/chat/completions \
  -H "Authorization: Bearer sk-runaii-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3-flash",
    "messages": [{"role": "user", "content": "Hello, fleet."}]
  }'

What you get back

{
  "choices": [{ "message": { "content": "Hello, fleet." } }],
  "usage": {
    "prompt_tokens": 14,
    "completion_tokens": 9,
    "total_tokens": 23,
    "cost": 0.000006
  }
}

usage.cost is exactly what your balance was charged for this request — metered per token, verified to the micro. Check your running balance any time with GET /api/v1/key.

On this page

1. Get a key2. Point your SDK at us3. Or plain curlWhat you get back

← Previous

Pricing, metering & prompt caching

Next →

Rate limits & tiers

runaiicloud

Serverless inference, dedicated GPUs, and training for open models. OpenAI- and Anthropic-compatible APIs.

© 2026 runaii

Platform

Model libraryGPUsPricingCompare providersSavings calculatorDocsServerlessDeploymentsTrainingBatch API

Developers

PlaygroundCookbookCLIAgents / MCPResearch notesUI/UX systemUse casesTutorialsModel advisorBlogCustomersFAQ

Company

EnterpriseStartupsAboutCareersPartnersTrust centerSLAStatusChangelogrunaii chatSupportAPI keysTermsPrivacy