Everything runs on one account number. Get it once, then use it in the desktop app, in the terminal, and as an API key in any app that speaks the OpenAI format.
Get an account
Create an account number. There is no email and no name. The number is shown once, so save it in a password manager: it is the only key, and it cannot be reset.
On your account page, add a plan or credits. Payment is in crypto and nothing renews by itself. Prices are on the pricing page.
That number now signs you in everywhere below.
Desktop app
Download the build for your computer from the download page, then:
macOS
Open the .dmg and drag Ulvium into Applications. The app is not notarized by Apple yet, so the first time, right-click it in Applications and choose Open, then confirm. Or let the installer do it all:
$curl -fsSL https://ulvium.com/install.sh | sh -s -- --desktop
Windows
Unzip the download anywhere, for example C:\Program Files\Ulvium, and run Ulvium.exe. The build is not code-signed yet, so SmartScreen may ask: choose More info, then Run anyway.
Open a new session. Under the message box, press Sign in, choose Paste your account number, and paste it. The number is stored on your computer only. Pick a project folder and start typing.
Terminal command
You do not need the desktop app. One line installs only the ulvium command.
macOS and Linux
$curl -fsSL https://ulvium.com/install.sh | sh
It picks the build for your processor, checks it against the published SHA-256 list, and puts it in ~/.local/bin. If the installer says that folder is not on your PATH, add the line it prints to your shell profile and open a new terminal.
Windows
>irm https://ulvium.com/install.ps1 | iex
Run it in PowerShell. It installs ulvium.exe to %LOCALAPPDATA%\Ulvium\bin and adds that folder to your PATH. Open a new terminal afterwards.
First run
Sign in once. Choose Ulvium, then paste your account number.
$ulvium auth login
Go to a project and start the agent.
$cd my-project && ulvium
Or give it one task and get the result back in the terminal, which is what scripts and CI use.
$ulvium run "add tests for the parser and make them pass"
Useful commands
ulvium
Start the agent in the current folder
ulvium run "task"
Run one task without the interface
ulvium -c
Continue the last session
ulvium models
List the models your account can use
ulvium auth list
Show what is signed in
ulvium auth logout
Remove the saved account number from this computer
ulvium --version
Show the installed version
To update, run the install command again. Ulvium never updates itself in the background.
API
The gateway speaks both OpenAI formats, chat completions and Responses, so existing OpenAI client code and tools work after changing two values.
Base URL
https://api.ulvium.com/v1
API key
An API token from your account page (starts with ulv_), or your account number
Models
scout-1 and alpha-1, each with a 1,048,576-token context
For anything outside the Ulvium apps, make a separate token. You can delete a token without touching your account; an account number that leaks cannot be changed.
Your first request
curl
curl https://api.ulvium.com/v1/chat/completions \
-H "Authorization: Bearer $ULVIUM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "scout-1",
"messages": [{"role": "user", "content": "Write a port scanner in Go for my own lab network."}]
}'
Python
Python, openai package
from openai import OpenAI
client = OpenAI(
base_url="https://api.ulvium.com/v1",
api_key="ulv_...", # an API token from your account page
)
stream = client.chat.completions.create(
model="scout-1",
messages=[{"role": "user", "content": "Explain this stack trace."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")
JavaScript
Node, openai package
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.ulvium.com/v1",
apiKey: process.env.ULVIUM_API_KEY,
});
const reply = await client.chat.completions.create({
model: "alpha-1",
messages: [{ role: "user", content: "Review this diff for bugs." }],
});
console.log(reply.choices[0].message.content);
Endpoints
POST /v1/chat/completions
Send messages, get a reply. Supports stream, tools, tool_choice and response_format.
POST /v1/responses
The same models in the OpenAI Responses format, with streaming and tool calls. Nothing is stored, so send the whole conversation in input each time; previous_response_id is not available.
GET /v1/models
The models available to you
GET /v1/usage
Your plan, both usage meters with their reset times, and your credit balance
Use it in other apps
Any app with an "OpenAI compatible" or "custom OpenAI endpoint" option works. It always asks for the same three things:
Base URL
https://api.ulvium.com/v1
API key
Your ulv_ token
Model ID
scout-1 or alpha-1
Codex CLI
Codex talks to Ulvium through the Responses endpoint. Add a provider to ~/.codex/config.toml (create the file if it is not there):
~/.codex/config.toml
model = "scout-1"
model_provider = "ulvium"
[model_providers.ulvium]
name = "Ulvium"
base_url = "https://api.ulvium.com/v1"
env_key = "ULVIUM_API_KEY"
wire_api = "responses"
Put your token in the variable the config names, then start Codex as usual. Add the export line to your shell profile to keep it.
Shell
export ULVIUM_API_KEY="ulv_..."
codex
To use the stronger model for one run, start it with codex -m alpha-1. To keep your OpenAI setup as the default and use Ulvium only when you ask, leave out the first two lines of the config and run codex -c model_provider=ulvium -m scout-1.
Codex runs commands and edits files with Ulvium's models exactly as it does with OpenAI's. Its built-in web search runs on OpenAI's servers, so it is not available through Ulvium.
OpenAI command-line tool
The openai command from the Python package needs only the two variables:
Shell
export OPENAI_BASE_URL="https://api.ulvium.com/v1"
export OPENAI_API_KEY="ulv_..."
openai api chat.completions.create -m scout-1 -g user "Explain this error: EADDRINUSE"
Tools that read the OpenAI environment variables
Many command-line tools and libraries pick these up with no other change:
In Admin Settings, open Connections, add an OpenAI API connection with the base URL and your token, and the two models appear in the model list.
Requests from other apps count against the same plan limits and credits as the Ulvium apps. The acceptable use rules apply the same way.
Limits and errors
Usage is measured by what each request costs to run and counted on two meters, one that resets every five hours and one weekly. Alpha 1 costs more per token than Scout 1, so the same work uses more of your allowance. When a meter is full, requests continue on credits if you have any.
Errors come back as JSON: {"error": {"type": "...", "message": "..."}}.
Status
Type
What to do
401
invalid_api_key
The key is missing or wrong. Send it as Authorization: Bearer ...
403
no_active_plan
Add a plan or credits on your account page
404
model_not_found
Use scout-1 or alpha-1
400
context_length_exceeded
Shorten the conversation or start a new one
429
limit_reached
A meter is full. Wait for the reset time in the message, or add credits
429
rate_limited, concurrency_limit
Too many requests at once. Retry after a short pause