astralane
Discounted inference

Save on AI models.

Access the newest OpenAI and Anthropic models through one OpenAI-compatible API. Keep your request format. Pay less per token.

  • OpenAI-compatible gateway
  • Prepaid usage
  • No monthly commitment
inference.ts
// One integration. Your routing constraints.

const client = new OpenAI({
  baseURL: "https://api.astralane.ai/v1",
  apiKey: process.env.ASTRALANE_API_KEY,
});

const response = await client.chat
  .completions.create({
    model: "auto/balanced",
    messages: [{
      role: "user",
      content: "Hello, world."
    }],
  });
Change your key and base URL.
···Models published
···Qualified routes
···Provider probes passing
3Compatible protocols

Live configuration from the public API · counts, not performance claims

Live catalog

The list price, and what you pay.

Every model is priced against the vendor's published rate. Compare the discount, check current activity, then open a model for its full price history.

Retention
Loading data…
Customer price ceilings. Eligible routes may charge less.0 of 0 models

No unverified discounts. A savings comparison needs a documented list price. Development models are always labeled and do not represent real vendor pricing.

Integrations

Start with the supported API subset.

Astralane implements selected OpenAI-compatible chat features and narrower text-only Responses and Messages endpoints. Configuration examples below are not certification of complete SDK, IDE or agent workflows.

OpenAI SDK for JavaScriptts
import OpenAI from 'openai'; const client = new OpenAI({  apiKey: process.env.ASTRALANE_API_KEY,  baseURL: 'https://api.astralane.ai/v1',}); const result = await client.chat.completions.create({  model: 'openai/gpt-5.6-sol',  messages: [{ role: 'user', content: 'Hello, world.' }],});console.log(result.choices[0]?.message.content);

Configuration example. Verify against your client version. The supplied local integration suite covers OpenAI JavaScript chat streaming and non-streaming with mock supply. Other SDK methods and real model routes need separate verification.

  • OpenAI JavaScript: tested chat subset
  • Responses: stateless text subset
  • Messages: text subset
  • Other client configurations: unverified
The right route, every request

Not just a gateway.
A better decision layer.

Astralane filters out routes that do not meet your requirements before comparing price, latency, and reliability.

  • Constraints first. Optimization second.

    Provider, region, budget, tools, and privacy requirements stay in control.

  • Failover without an integration rewrite.

    Retry eligible failures before output begins. Never replay a partially delivered answer.

  • Metadata, not your conversations.

    Prompt and response bodies are not stored in the main database.

Your request
Eligibility filter · score
Route AOver budget
Route BQualifies ↗
Route CUnavailable

ROUTING ILLUSTRATION · NOT LIVE TELEMETRY

Accounting

One wallet. Exact accounting.

Reserve funds before a request. Settle against actual token usage. Inspect the charge and its ledger entries afterward.

Selection

Let auto find the route.

Use auto, auto/fast, auto/balanced, or auto/best to select an eligible model using transparent, replaceable routing heuristics.

Privacy

Privacy is a requirement.

ZDR requests can use only capacity explicitly configured with a matching contract. No qualifying route means no request.

Cost estimate

Price it against your own volume.

Pick a model, set the tokens you expect to spend in a month, and compare the vendor list price with the Astralane catalog price.

39M tokens / month
80% input · 20% output
$0.00Vendor list
$0.00Astralane
$0.00You save
Vendor list
Astralane

Waiting for the public catalog

Estimate only. Cached input is billed at a lower rate and is not counted here. Actual charges follow measured token usage.

Build without the provider sprawl

Your next request has options.

One workspace. One API key. One place to understand your inference spend.