Batch Jobs and Backfills

Batch Jobs and Backfills

Run batch jobs and backfills on Tycho at $0.10 / $1.50 per 1M tokens, with JSON schema output, after changing the base URL, key and model.

tycho-1.0
December 1, 2026
At a glance
Recommended model
Tycho
Model ID
tycho-1.0
Price per 1M tokens
$0.10 input / $1.50 output
Compatibility
OpenAI and Anthropic compatible APIs. Change the base URL, key and model.
Last updated
December 1, 2026

What drives the cost

A backfill or a nightly job pushes a whole backlog through a model as many independent requests of the same shape. The model reads one record and writes back a label, a field or a short summary, so the input is most of the work and the answer is short. That makes input price the main lever on the total, and it is why the same job costs very different amounts depending on which model reads the backlog.

The cost of one call is the input tokens multiplied by the input price, plus the output tokens multiplied by the output price, divided by one million. Tycho costs $0.10 per million input tokens, $1.50 per million output tokens and $0.02 per million cached input tokens. Current rates sit on the pricing page, and every figure below is illustrative and should be replaced with measurements from your own records.

Take a backfill of 2,000,000 records at about 800 input tokens and 60 output tokens each, which is a short record and a short answer. On Tycho the job comes to about $340 in total, which is about $0.00017 per record. The same token counts at Claude Haiku 4.5 list price of $1 per million input tokens and $5 per million output tokens come to about $2,200, and running the whole job on Clarke at $0.75 per million input tokens and $4.50 per million output tokens comes to about $1,740. The record count and the token counts are identical in all three cases, so the difference is entirely the input price.

Wall time is the other half of the cost. At 1,000 requests per minute on one API key, 2,000,000 records take about 33 hours to finish. Two keys divide that in half, and the priority throughput tier, which Radium sells through its sales team, shortens it further. There is no tokens-per-minute cap, so a record with a long input moves at the same request rate as a short one.

The instruction prefix in a job like this is identical on every call, so prompt caching applies to it and cuts input cost further, since Tycho charges $0.02 per million cached input tokens for the repeated part. Count the tokens in a sample of your own backlog before you plan around any of these numbers.

Which model to use

Tycho is the default for batch jobs and backfills. Radium built it for classification, extraction, summaries and routing at volume, and positions it as comparable to Claude Haiku 4.5. It reads text, follows a JSON schema and costs the least per token of the three models, which matters when every record in the backlog goes through it. Radium publishes benchmark results against Claude on its own task suite.

Clarke takes the records that need more judgement, such as a refund decision on a long ticket thread or a category that depends on how the customer describes the problem. It costs $0.75 per million input tokens and $4.50 per million output tokens, and its 200,000 token context window fits a whole thread or a large record in one call where Tycho's 128,000 would not.

Hal is for the hardest items in the queue, including code, at $2.00 per million input tokens and $10.00 per million output tokens, with a 1,000,000 token context window. Most jobs never need it. Routing by validation keeps the bill close to Tycho's price, and the routing in a job like this is simple.

  • Labels, tags, short fields and short summaries on ordinary records. Run these through Tycho (tycho-1.0).
  • Records with long context, or fields that need judgement on the customer's situation. Send these to Clarke (clarke-1.0).
  • Records that fail validation twice, and items that need reasoning across several sources or code. Escalate these to Hal (hal-2.0).

Let the validation checks decide what moves up a tier.

What this workload needs from the API

A backfill depends on a short list of API capabilities. Confirm each one against your own client and a few thousand real records before the whole backlog moves.

CapabilityWhy batch jobs and backfills need itOn Radium
Request rateWorking through millions of records inside a deadline1,000 requests per minute per key with no tokens-per-minute cap. A priority throughput tier is available through sales
Structured outputWriting a label, a field or a short summary back into the database without parsing free textJSON mode and JSON schema on all three models, with tool calling and streaming available
Prompt cachingSending the same instruction prefix and schema with every record in the jobPrompt caching through cache_control on the Anthropic-compatible endpoint at api.radium.cloud
Retries and idempotencyA job that dies halfway and has to restart without paying for records twiceHandled on your side. Send the record id with each request and skip records that already have a result
Batch APIQueuing a large job for discounted executionRadium does not offer a batch API yet. Run the job through the standard API with concurrency on your side

Two things do not carry over unchanged. Radium has no batch endpoint, so a job built on a provider's batch API sends ordinary requests in parallel instead, and the concurrency lives in your own worker code. The OpenAI-compatible endpoint sits at api.radium.cloud/v1 and the Anthropic-compatible endpoint at api.radium.cloud, so pick one for the job and use the same identifier format for every retry.

Compare the models on their own pages before you commit the job, at Tycho, Clarke and Hal. Rates for all three are on the pricing page, and the benchmark page shows how they compare to Claude on matched tiers.

Run the job end to end on a sample before the cutover.

How to switch

Radium serves OpenAI-compatible and Anthropic-compatible APIs, so an existing batch job keeps its SDK, its prompts, its schemas and its retry logic. Three values change, which are the base URL, the API key and the model name.

Pick the SDK you already use, then your language. The Anthropic SDK adds the /v1 path itself, so its base URL does not include it. Replace YOUR_API_KEY with your key.

OpenAI SDK, Python
from openai import OpenAI

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

response = client.chat.completions.create(
    model="tycho-1.0",
    messages=[
        {"role": "user", "content": "Hello, Radium!"}
    ],
)

print(response.choices[0].message.content)
OpenAI SDK, TypeScript
import OpenAI from "openai";

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

const response: OpenAI.Chat.ChatCompletion =
  await client.chat.completions.create({
    model: "tycho-1.0",
    messages: [{ role: "user", content: "Hello, Radium!" }],
  });

console.log(response.choices[0].message.content);
OpenAI SDK, curl
curl https://api.radium.cloud/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "tycho-1.0",
    "messages": [{"role": "user", "content": "Hello, Radium!"}]
  }'
OpenAI SDK, Go
package main

import (
	"context"
	"fmt"

	openai "github.com/sashabaranov/go-openai"
)

func main() {
	cfg := openai.DefaultConfig("YOUR_API_KEY")
	cfg.BaseURL = "https://api.radium.cloud/v1"
	client := openai.NewClientWithConfig(cfg)

	resp, err := client.CreateChatCompletion(
		context.Background(),
		openai.ChatCompletionRequest{
			Model: "tycho-1.0",
			Messages: []openai.ChatCompletionMessage{
				{Role: openai.ChatMessageRoleUser, Content: "Hello, Radium!"},
			},
		},
	)
	if err != nil {
		panic(err)
	}

	fmt.Println(resp.Choices[0].Message.Content)
}
OpenAI SDK, Java
import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;

OpenAIClient client = OpenAIOkHttpClient.builder()
    .apiKey("YOUR_API_KEY")
    .baseUrl("https://api.radium.cloud/v1")
    .build();

ChatCompletion completion = client.chat().completions().create(
    ChatCompletionCreateParams.builder()
        .model("tycho-1.0")
        .addUserMessage("Hello, Radium!")
        .build());

System.out.println(
    completion.choices().get(0).message().content().orElseThrow());
OpenAI SDK, C#
using OpenAI;
using OpenAI.Chat;

var client = new OpenAIClient(
    new ApiKeyCredential("YOUR_API_KEY"),
    new OpenAIClientOptions
    {
        Endpoint = new Uri("https://api.radium.cloud/v1"),
    });

var chatClient = client.GetChatClient("tycho-1.0");
var response = await chatClient.CompleteChatAsync(
    new UserChatMessage("Hello, Radium!"));

Console.WriteLine(response.Value.Content[0].Text);
Anthropic SDK, Python
import anthropic

client = anthropic.Anthropic(
    api_key="YOUR_API_KEY",
    base_url="https://api.radium.cloud",
)

message = client.messages.create(
    model="tycho-1.0",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello, Radium!"}
    ],
)

print(message.content[0].text)
Anthropic SDK, TypeScript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: "YOUR_API_KEY",
  baseURL: "https://api.radium.cloud",
});

const message: Anthropic.Message = await client.messages.create({
  model: "tycho-1.0",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello, Radium!" }],
});

console.log(message.content[0].text);
Anthropic SDK, curl
curl https://api.radium.cloud/v1/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "tycho-1.0",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello, Radium!"}]
  }'

Steps

  1. Create an account at deploy.radium.cloud and generate a key at deploy.radium.cloud/keys. New accounts get $25 in free credit, $5 on sign-up and $20 when a card is added.
  2. Store the key as a secret in the service that runs the job, and keep it out of the repository and out of browser code.
  3. Change the base URL and model name, then run Radium on a copy of a slice of the backlog while your current provider keeps writing to production.
  4. Compare the two outputs field by field, then move one record type at a time.

Switching back means pointing the base URL at your previous provider. Guides for the OpenAI and Anthropic SDKs, LangChain, LlamaIndex and PydanticAI are in the Radium docs.

How to test it on records from the backlog you have already labelled

A backlog is easier to test than most workloads, because the right answer usually already exists. Records your team has labelled, tickets that carry a category set by hand, products with a description someone wrote, and documents that carry a summary are all labelled examples. Take a few hundred records from the real backlog, spread across the types you expect in the full job, and run each one through your current model and through Tycho with the same prompt and the same schema.

  1. Score the output against the known values or against a reviewed sample. Normalize whitespace, dates and case first, then count exact matches field by field. A single accuracy number for the whole record hides the field that fails.
  2. Count failures and retries the way your runner will see them. Record malformed JSON, refusals, timeouts and the extra requests each one costs, then multiply by the retry policy you plan to use in production.
  3. Review a sample of the misses by hand. Sort them into records where the model is wrong, records where the prompt is ambiguous and records where the known value is itself disputed, because only the first group is the model's problem.
  4. Estimate the full job cost from the measured token counts. Take the average input and output tokens the run produced, multiply by the Tycho rates, and compare that against the illustrative $340 for 2,000,000 records at 800 input and 60 output tokens each.

Keep the prompt identical on both sides, and decide the pass mark before you look at the results.

When Radium is the wrong choice

Radium fits when a batch job or a backfill is a meaningful share of your AI spend and the records reach the model as text. There are cases where switching is the wrong move.

  • Your job can wait a day and already runs on a batch API. OpenAI's Batch API and Anthropic's Message Batches API charge half the standard price and return results within 24 hours. Radium does not offer a batch API yet, so compare against what you pay on batch.
  • Your deadline is measured in hours and the backlog is measured in tens of millions of records. One key handles 1,000 requests per minute, so wall time follows the request count unless you add keys or take the priority throughput tier through sales.
  • Most of the records need real judgement. If the bulk of the job would run on Hal (hal-2.0) at $2.00 and $10.00 per million tokens, the price gap against the tier-one models you would otherwise compare to closes quickly.
  • Your records arrive as images or scans. Tycho accepts text input only, so the extraction step that turns them into text stays in your code.
  • Your job is small. If the whole backfill is a few hundred dollars, the evaluation will cost more than the switch saves.

If none of these apply, run the comparison on a few hundred records from your own backlog.

Frequently asked questions

Does Radium offer a batch API for large jobs?

No. Radium does not offer a batch endpoint yet, so a backfill runs through the standard API with concurrency handled on your side. One key handles 1,000 requests per minute with no tokens-per-minute cap, and a priority throughput tier is available through sales. If the job can wait a full day, OpenAI's Batch API and Anthropic's Message Batches API both charge half the standard price, so estimate against those before you decide.

How much does a two million record backfill cost?

At about 800 input tokens and 60 output tokens per record, which are illustrative counts, 2,000,000 records cost about $340 on Tycho at $0.10 per million input tokens and $1.50 per million output tokens. The same token counts at Claude Haiku 4.5 list price come to about $2,200, and on Clarke at $0.75 and $4.50 they come to about $1,740. At 1,000 requests per minute on one key the job takes about 33 hours, and more keys or the priority tier shorten that.

Which model should a nightly job use?

Use Tycho (tycho-1.0) for labels, tags, short fields and short summaries on ordinary records. Use Clarke (clarke-1.0) for records with long context or fields that need judgement. Use Hal (hal-2.0) for items that fail validation twice and for the hardest records, including code. All three support JSON mode and JSON schema, so the output loads straight into your database.

How do I keep the input cost down on a repeated instruction prefix?

Send the instructions and schema once as a cached prefix. Prompt caching uses cache_control on the Anthropic-compatible endpoint at api.radium.cloud, and Tycho charges $0.02 per million cached input tokens for the repeated part against $0.10 for uncached input. The saving is largest when the instruction block is long and identical on every call, which is exactly the shape of a backfill.

Does Radium train models on the data we send?

No. Customer data is never used to train a model, and prompts and completions are used only to service the request that carries them.