One API for every AI model

Point the SDK you already use at Hixel. OpenAI, Anthropic, Google and the rest answer through one endpoint, and every request is priced and tied to the customer who made it.

TypeScript
import OpenAI from "openai";

// The SDK you already use. Only the marked lines change.
const ai = new OpenAI({
  baseURL: "https://api.hixel.dev/v1",          // changed
  apiKey: process.env.HIXEL_API_KEY,            // changed
});

const reply = await ai.responses.create(
  { model: "claude-sonnet", input: "Summarise this ticket." },
  { headers: { "x-hixel-customer": "acme", "x-hixel-member": "dana" } },
);
npm install openaiTypes included
  • Bring your provider keys:
  • OpenAI
  • Anthropic
  • Gemini
  • Azure
  • Mistral
  • DeepSeek
  • xAI
  • Groq
  • Cohere
  • Perplexity
  • OpenRouter
  • and more

Use any model without rewritingthree API formats in, any provider out

Send the format your code already speaks: OpenAI Responses, Chat Completions or Anthropic Messages. Hixel translates it for whichever provider serves the model, and answers in the format you sent.

Stay up when providers don'tretries, fallbacks, cooldowns

When a model's deployment fails, Hixel moves on to the route's fallback models. Your client waits a little longer and gets one normal response.

  • Retries with backoff

    A failed attempt is retried before the request moves on.

  • Fallback models

    Name what to try when every deployment fails, the prompt is too long or a content filter refuses.

  • Cooldowns

    Three failures within a minute rest a deployment for thirty seconds.

Know who made every requestby customer, person and tag

A regular gateway sees

  • 12:04:31claude-sonnet$0.012760
  • 12:04:12gpt-6.2-sol$0.004380
  • 12:03:58claude-haiku$0.000712
  • 12:03:40claude-sonnet$0.008826
  • 12:03:21claude-sonnet$0.023504
One bill, to you

Hixel sees

  • Dana KimAcme Robotics$0.012760
  • Marco RossiAcme Robotics$0.004380
  • Priya ShahNorthwind Labs$0.000712
  • Leo MartinNorthwind Labs$0.008826
  • Dana KimAcme Robotics$0.023504
Charged to each company's own budget

x-hixel-customer

Your own id for the company. A customer Hixel hasn't seen is created on its first request.

x-hixel-member

Your id for the person, so limits and usage work for each member.

x-hixel-tags

Up to eight labels of your own, such as feature:summarise, to group spend by.

Limits before the billper key, per customer and per person

Cap requests per minute, tokens per minute and parallel calls at each level. A request over a limit is refused before it reaches a provider, with headers your client already understands.

Safe to test, safe to shipmock answers for CI, short tokens for the browser

Two things every integration needs before it goes live: a way to run the whole suite without paying a provider, and a credential you can hand to a browser.

Test keys never call a provider

A test environment answers every endpoint from a built-in mock, in the provider's own format. Limits, budgets and errors behave as they do live.

Tokens made for the browser

Your server mints a token that lasts minutes and works for one customer, the models you list and your own origins. Your secret key never leaves the server.

See it where you already lookone OTLP span per request

Hixel sends each request as an OpenTelemetry span to Langfuse or any OTLP endpoint. It carries metadata only: the model, tokens, cost, customer and tags, never the prompt.

  • Standard GenAI attributes

    The model and token counts are named the way Langfuse already reads them.

  • Your ids on every span

    The customer, the member and your tags travel with the request.

  • Cost to the millionth

    What was charged, as a whole number of millionths of a dollar.

Small on purposethe request path does one job

Every model call your product makes passes through Hixel, so the path it takes is short and depends on as little as possible.

No database on the path

The gateway never talks to our database or our API. If the dashboard is down, requests keep running.

Your headers stay with us

Hixel's own headers are never forwarded to a provider, and a provider key only ever goes to the provider it belongs to.

Errors you can act on

Every error Hixel produces has one format, with a type and a code your client can branch on.

Enterprise-ready AI starts here