Quickstart

hxa.net gives you one API key for frontier models from Anthropic and OpenAI. If your code already calls one of these APIs, you only change the base URL and the key.

1. Create an account

Sign up at hxa.net/register with your email address and confirm it with the verification code we email you. See Account and sign-in.

2. Add credit

New accounts start without credit. Contact sales to top up your balance; online payment is coming soon. See Balance and billing.

3. Create an API key

In the console, open API Keys and click Create API Key. Give the key a name, choose a group and save. Copy the key and keep it secret. See API keys.

4. Point your SDK at hxa.net

Use the base URL for the API format your code already speaks:

API formatBase URL
OpenAI (Chat Completions, Responses)https://hxa.net/v1
Anthropic (Messages)https://hxa.net

OpenAI SDK (Python)

from openai import OpenAI

client = OpenAI(base_url="https://hxa.net/v1", api_key="YOUR_HXA_API_KEY")

resp = client.chat.completions.create(
    model="gpt-6.1-sol",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Anthropic SDK (Python)

import anthropic

client = anthropic.Anthropic(base_url="https://hxa.net", api_key="YOUR_HXA_API_KEY")

msg = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
print(msg.content[0].text)

curl

curl https://hxa.net/v1/chat/completions \
  -H "Authorization: Bearer $HXA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-6.1-sol", "messages": [{"role": "user", "content": "Hello"}]}'

Model IDs are listed on the pricing page. Next: API reference for endpoints, authentication and errors.