OpenAI-compatible API access

One API key for the AI models your product needs.

Create an account, add balance, and call supported models from a clean OpenAI-style endpoint. Subaxis keeps keys, usage, and billing simple.

OpenAI-style endpoint Usage visibility Prepaid credits
curl https://subaxis.dev/v1/chat/completions \
  -H "Authorization: Bearer $SUBAXIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.5",
    "messages": [
      {"role": "user", "content": "Why is the sky blue?"}
    ]
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://subaxis.dev/v1",
    api_key="$SUBAXIS_API_KEY",
)

response = client.chat.completions.create(
    model="gpt-5.5",
    messages=[{"role": "user", "content": "Why is the sky blue?"}],
)
print(response.choices[0].message.content)
import { createOpenAI } from "@ai-sdk/openai";
import { generateText } from "ai";

const subaxis = createOpenAI({
  baseURL: "https://subaxis.dev/v1",
  apiKey: process.env.SUBAXIS_API_KEY,
});

const { text } = await generateText({
  model: subaxis("gpt-5.5"),
  prompt: "Why is the sky blue?",
});
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://subaxis.dev/v1",
  apiKey: process.env.SUBAXIS_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "gpt-5.5",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(completion.choices[0].message.content);
const OpenAI = require("openai");

const client = new OpenAI({
  baseURL: "https://subaxis.dev/v1",
  apiKey: process.env.SUBAXIS_API_KEY,
});

client.chat.completions
  .create({
    model: "gpt-5.5",
    messages: [{ role: "user", content: "Why is the sky blue?" }],
  })
  .then((res) => console.log(res.choices[0].message.content));
package main

import (
  "context"
  "fmt"

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

func main() {
  client := openai.NewClient(
    option.WithBaseURL("https://subaxis.dev/v1"),
    option.WithAPIKey(os.Getenv("SUBAXIS_API_KEY")),
  )

  res, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
    Model: "gpt-5.5",
    Messages: []openai.ChatCompletionMessageParamUnion{
      openai.UserMessage("Why is the sky blue?"),
    },
  })

  fmt.Println(res.Choices[0].Message.Content)
}
and 260+ more

Leading AI models & seamless integrations

OpenAI Anthropic Google Gemini xAI Grok DeepSeek Moonshot Kimi Zhipu GLM Meta Microsoft ByteDance Vercel OpenRouter DeepInfra

Model routing

Use leading models without rebuilding your stack.

01

OpenAI-style requests

Use the same request shape your apps already understand, with Subaxis as the base URL.

02

Usage visibility

See requests, tokens, model spend, and key activity from one clean customer portal.

03

Predictable balance

Top up when you need more credits and always see exactly how much balance you have.

Build with balance controls

Start with one key. Scale when usage proves it.