01 / Quickstart
Quickstart
One command to connect, or 7 steps by hand. The first call uses the free model gemma3:1b, so no money moves until you choose a paid one.
We're a new seller. Default routing picks sellers with a trust score of 60 or more; ours is 5. Pin our peer to reach us. Pins are strict, with no failover.
02 / One command
Connect with one command
One click copies it. Paste it into a terminal. It installs the AntSeed CLI, starts the buyer proxy on your own machine at http://localhost:8377/v1, and pins that buyer to our peer. Needs Node.js. Leave it running and make the first call from a second terminal.
npm install -g @antseed/cli && antseed buyer start --peer e44566555a6bcd118832097445e49277db4ba675 Pins are strict, with no failover: while the pin is set, every request goes to this peer, and if we are unavailable the request fails instead of moving to another seller. The buyer runs in the foreground: stop it with Ctrl+C. To drop the pin and keep the buyer running, use antseed buyer connection clear.
Then make the first call
gemma3:1b costs $0 and needs no wallet balance. Type the model id exactly, colon included. Free tier: 50 requests per address and 100 per IP per 24 hours (seller free-tier setting, as of Dec 6, 11:01 AM PT).
curl -sS http://localhost:8377/v1/chat/completions \
-H "content-type: application/json" \
-d '{"model":"gemma3:1b","messages":[{"role":"user","content":"Reply with one word: ready"}]}' 03 / Human track
Run it by hand
-
Install the AntSeed CLI
Needs Node.js. The CLI commands in these steps were checked against @antseed/cli 0.1.274. The curl call is marked untested until it has been run end to end. So is the one-command form above.
shellnpm install -g @antseed/cli -
Start the local buyer
This runs an OpenAI-compatible proxy on your machine at
http://localhost:8377/v1. 8377 is the AntSeed CLI's default buyer port on your own machine. Change it withantseed buyer start --port <port>. The local proxy needs no API key. If a client insists on one, send the dummy stringantseed(verified from @antseed/cli 0.1.274, Dec 6, 11:05 AM PT).shellantseed buyer start -
Pin General Inference
Default routing will not pick a new seller yet, so tell your buyer to use our peer. Pins are strict, with no failover: while the pin is set, every request goes to this peer, and if we are unavailable the request fails instead of moving to another seller.
shellantseed buyer connection set --peer e44566555a6bcd118832097445e49277db4ba675 -
Check the pin
Shows the peer your buyer is pinned to.
shellantseed buyer connection get -
Make a first call on the free model
gemma3:1bcosts $0 and needs no wallet balance. Type the model id exactly, colon included. Free tier: 50 requests per address and 100 per IP per 24 hours (seller free-tier setting, as of Dec 6, 11:01 AM PT).shell untestedcurl -sS http://localhost:8377/v1/chat/completions \ -H "content-type: application/json" \ -d '{"model":"gemma3:1b","messages":[{"role":"user","content":"Reply with one word: ready"}]}' -
Switch to a paid model
Change
"model"to an exact id from the models table, for exampleopenai-gpt-61-sol. Paid models bill per request in USDC on Base from your AntSeed wallet, so the wallet needs a balance first. Check the price and its as-of date before spending. -
Unpin when you are done
Returns your buyer to default routing.
shellantseed buyer connection clear
One request without changing the pin
Prefix the model with our peer id: e44566555a6bcd118832097445e49277db4ba675@<model>. For the free model that is e44566555a6bcd118832097445e49277db4ba675@gemma3:1b.
A command marked untested has not yet been run end to end by us. The badge comes off once it has.
04 / Agent track
If you are an agent
The same connection, read from machine files instead of this page.
Read https://generalinference.org/.well-known/antseed.json for
connect_command,pin_command,check_command,unpin_commandand the single-request prefix.Run
connect_commandfrom that file: it installs the CLI and starts the local buyer already pinned to this peer. To pin a buyer that is already running, usepin_command. Pins are strict, with no failover: while the pin is set, every request goes to this peer, and if we are unavailable the request fails instead of moving to another seller.Read /models.json and use the exact
idstrings. Read /pricing.json and compareas_ofwithstale_after_secondsbefore spending.Send OpenAI-format chat completions to
http://localhost:8377/v1on the local machine. There is no hosted inference API at generalinference.org.Make the first call on
gemma3:1b($0). Runantseed buyer connection clearwhen the work is done.
This page as Markdown: /quickstart.md. Index for language models: /llms.txt.
05 / Next
After the first call
Framework snippets
9 copy-paste snippets for SDKs and agent frameworks live on the agent hub. Each shows whether it has been tested.
Models and prices
Exact model ids, prices and their as-of date are in the models table.
Verify us first
The DNS proof, our AntSeed identity and how to check each one are on the trust page.