v4 Now serving production traffic. No client changes.

An API built for engineering work.

Ultron is a chat-completions model tuned for code, infrastructure and security. One endpoint, automatic 7B/1.5B routing, and prepaid tokens that do not expire.

Read the documentation
  • 20,000 free tokens
  • No credit card
  • SSE streaming
request.json POST 200 OK
# index a high-volume events table
curl https://ultrons.xyz/v1/chat/completions \
  -H "Authorization: Bearer $ULTRON_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ultron-1",
    "messages": [{
      "role": "user",
      "content": "Add an index for events(tenant_id, created_at DESC)"
    }]
  }'
Response842 ms · 70 tokens
{
  "model": "ultron-1",
  "choices": [{
    "message": {
      "role": "assistant",
      "content": "CREATE INDEX CONCURRENTLY\nidx_events_tenant_created\nON events (tenant_id, created_at DESC);"
    }
  }],
  "usage": { "total_tokens": 70 }
}
Route: primary 7B · fallback 1.5B Standard wire format
Compatible with Any HTTP clientRESTJSONcURLSSE
Platform

Built for the work between idea and deploy.

Ultron is tuned on repositories, incident notes and infrastructure code. It is meant to produce patches, commands and reviews you can run, not generic advice.

Code and refactors

Backend services, migrations, tests and reviews. It follows the framework and conventions already in the repository, and states the trade-off instead of guessing.

PythonTypeScriptGoRustSQL

Systems and security

Threat models, auth flows, hardening checklists and incident response. Answers are direct about risk, blast radius and the next concrete step.

LinuxDockerOWASPAuthNetworking

29+ languages

Technical answers in the language you ask in, including Hindi, Hinglish, Spanish, Arabic and Japanese. Code, commands and identifiers stay in English.

हिन्दीHinglishEspañolالعربية日本語
Model routing

One model name. Two backends.

ultron-1 routes to the best healthy backend. The 7B primary handles deeper reasoning; if it is unavailable, requests continue on the 1.5B fallback without a client change. ultron-mini always uses the faster model.

  • Standard chat-completions request and response shape
  • Automatic failover with no SDK changes
  • Service health exposed at /healthz
Request routingHealth-aware
RequestPOST /v1/chat/completions
JSON
RouterSelects the best available backend
auto
Primary7B · deeper reasoning
Fallback1.5B · fast failover
ModelRoutes toPrompt budget
ultron-1Auto: 7B or 1.5B~26K tokens
ultron-mini1.5B~26K tokens
Pricing

Prepaid tokens. No subscriptions.

Buy a block of tokens once and use them until the balance runs out. Every plan uses the same models, API and streaming behavior; rate limits and key counts scale with the plan.

Loading plans…

Tokens do not expire

Credits remain on the account until they are used. There is no monthly renewal or auto-charge.

Metered per request

Usage is counted from prompt and completion tokens. Every request is visible in the dashboard.

One API, every plan

Paid plans change limits and key counts, not model quality or response shape.

Prices are one-time and in USD. Credits are added after payment confirmation. Base URL: https://ultrons.xyz/v1

Dashboard

Your account

Balance, keys and usage.

Balance
—
tokens left
Plan
—
—
Requests
—
—
Used
—
tokens total

API keys

KeyLabelStatusLast used

Usage

last 30 days

Orders

ReferencePlanTokensAmountStatusDate
Documentation

Drop-in compatibility.

Point any HTTP client at the base URL, change the model name, and keep the rest of your client. The examples below use the production host.

Base URLhttps://ultrons.xyz/v1Use this in place of your current provider's base URL.

Authentication

Create an account, open the dashboard and copy the key shown once. Send it as a bearer token. Keys are stored hashed; a lost key cannot be recovered, only rotated.

Authorization header
Authorization: Bearer ultron_sk_your_key

Models

ultron-1 routes to the best healthy backend: the 7B primary when available, the 1.5B fallback otherwise. ultron-mini always uses the faster 1.5B model. Both return the same response shape.

Quickstart

POST /v1/chat/completions
curl https://ultrons.xyz/v1/chat/completions \
  -H "Authorization: Bearer $ULTRON_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ultron-1",
    "messages": [
      {"role": "user", "content": "Write a Go rate limiter"}
    ],
    "temperature": 0.3,
    "max_tokens": 1024
  }'

Streaming

Add "stream": true to receive server-sent events in the standard delta format. The balance is charged from the final usage chunk.

SSE
data: {"choices":[{"delta":{"content":"const"}}]}
data: {"choices":[{"delta":{"content":" limiter"}}]}
data: [DONE]

Errors

401invalid_api_keyMissing or revoked key.
402insufficient_creditsBalance is zero. Add credits from the dashboard.
413prompt_too_largeThe prompt exceeds the context budget.
429rate_limit_exceededThe plan limit has been reached. Retry or upgrade.
502upstream_errorBoth model backends failed. Retry the request.

Limits

Message array up to 60 entries, each up to 32K characters. Prompt budget ~26K tokens. max_tokens caps at 4096. Per-key rate limits: Free 10/min, Starter 60/min, Pro 120/min, Scale 240/min.

FAQ

Practical answers before you integrate.

If something is missing, the documentation covers request shape, limits and error codes in detail.

How is usage billed?

Every request is metered by prompt and completion tokens. Credits are prepaid and do not expire. There is no subscription or automatic renewal; when the balance reaches zero, the API returns 402 until more credits are added.

Do I need to change my existing client?

No. Point the client at https://ultrons.xyz/v1, use an Ultron API key, and set the model to ultron-1 or ultron-mini. The request and response shapes follow the standard chat-completions format.

How are API keys handled?

Keys are shown once when created, stored hashed, and can be revoked from the dashboard at any time. Create a separate key for each machine or service so a single key can be rotated without interrupting the others.

What happens if the 7B backend is unavailable?

The router sends ultron-1 requests to the 1.5B fallback. Your request shape, API key and response format stay the same. You can see the service health in the header or query /healthz directly.

Which languages are supported?

Ultron handles 29+ languages and mixed-language prompts, including Hindi, Hinglish, Spanish, Arabic, Japanese and German. Code, commands, filenames and identifiers stay in English so the output remains directly usable.

What should I not send?

Prompts are processed by the model backend to produce a response and metered for billing. Treat the service like any hosted model provider and avoid sending credentials, private keys or regulated data you would not send elsewhere.

Start with 20,000 free tokens.

Create a key, change one base URL, and make your first request in a few minutes.