API keys, credits & billing
Use a workspace API key to authenticate requests. Every key in the workspace draws from the same prepaid balance. Review training and inference rates before launching a job.
Keys
Sign in with Google in the studio, then mint a key. Listing and revoke are scoped to your tenant — there is no global key directory, and we do not store a password for you.
curl -H "Authorization: Bearer sk-ft-…" https://ragnarok-ai.com/v1/keys
curl -X DELETE -H "Authorization: Bearer sk-ft-…" \
https://ragnarok-ai.com/v1/keys/KEY_IDCredits and usage
View the available credit packs in your billing catalog. Paddle displays applicable tax at checkout. For a payment already made, follow the credit-pack refund process.
curl https://ragnarok-ai.com/api/v1/billing/catalog
curl -H "Authorization: Bearer sk-ft-…" https://ragnarok-ai.com/api/v1/credits
curl -H "Authorization: Bearer sk-ft-…" https://ragnarok-ai.com/api/v1/usageEvery charge — chat, embeddings, rerank, batches, sandbox sessions, instance seconds — lands in the usage ledger with its cost and the balance after. Requests that would overdraw the balance are refused with 402.
What things cost
| Unit | Price |
|---|---|
| Fine-tuning | GPU time only — estimator shows the full cost pre-launch |
| Serverless chat | from $0.016 in / $0.30 out per 1M tokens (size-tiered) |
| Embeddings | $0.0041 per 1M tokens |
| Batches | 50% off serverless rates |
| Sandbox | $0.03 per session |
| Dedicated instances | per-second GPU rates (A10G 24 GB $1.13/hr … H100 80 GB $4.61/hr) |
| Storage | $0.12 per GiB-month |
GET /v1/pricing returns the live table the platform bills from.