Get started

Quickstart

Vioneer speaks the OpenAI and the Anthropic API. Keep your SDK and your code: change the base URL and the key, and every model in the catalogue is a model id away.

  1. Create an account

    Sign up and add credit from the Credits page. Requests are billed per token from that balance, at the rates on the price list.

  2. Create an API key

    In the dashboard, open Keys and create one. A key can carry its own budget, rate limit and model allowlist. Keep it in an environment variable:

    shell
    export VIONEER_API_KEY="your key"
  3. Point your client at the gateway

    Use the base URL for the format your SDK speaks. The OpenAI format reaches every model, and the Anthropic format reaches the Claude models.

    OpenAI-compatible base URL
    https://vioneer.xyz/api/v1
    Anthropic-compatible base URL
    https://vioneer.xyz/api
    Authentication
    Authorization: Bearer <key> or x-api-key: <key>
  4. Make a request

    curl · OpenAI format
    curl https://vioneer.xyz/api/v1/chat/completions \
      -H "Authorization: Bearer $VIONEER_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "gpt-6.2-sol",
        "messages": [{"role": "user", "content": "Hello!"}]
      }'
    OpenAI SDK · Python
    # pip install openai
    import os
    from openai import OpenAI
    
    client = OpenAI(
        api_key=os.environ["VIONEER_API_KEY"],
        base_url="https://vioneer.xyz/api/v1",
    )
    
    response = client.chat.completions.create(
        model="claude-sonnet-5-5",
        messages=[{"role": "user", "content": "Hello!"}],
    )
    print(response.choices[0].message.content)
    Anthropic SDK · Python
    # pip install anthropic
    import os
    import anthropic
    
    client = anthropic.Anthropic(
        api_key=os.environ["VIONEER_API_KEY"],
        base_url="https://vioneer.xyz/api",  # the SDK adds /v1/messages
    )
    
    message = client.messages.create(
        model="claude-sonnet-5-5",
        max_tokens=1024,
        messages=[{"role": "user", "content": "Hello!"}],
    )
    print(message.content[0].text)

Choose a model

The model id goes in the model field, as with the vendors’ own APIs. The price list has every id with its rates, and the catalogue is also served, without a key, at GET /api/v1/models.

Next