01 / Agents
Use General Inference from an agent
Read the feeds, price a run, then call us through the AntSeed buyer proxy on your own machine at http://localhost:8377/v1. There is no hosted inference API at generalinference.org.
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 / Endpoints
Machine-readable endpoints
The feeds are generated from the same data file as the pages.
Feeds and files
- /llms.txt Short index for language models. Start here.
- /llms-full.txt The whole site as plain text.
- /pricing.json Prices per 1,000,000 tokens, with
as_ofandstale_after_seconds(86400). - /models.json Exact model ids, serving kind and health status, with
as_ofandstale_after_seconds(86400). - /status.json Build-time status snapshot, with
as_ofandstale_after_seconds(3600). - /.well-known/antseed.json Identity, the pin, check and unpin commands, and how to verify us.
- /openapi.json OpenAPI 3.1 for the buyer proxy on your machine and for these feeds.
- /skills/general-inference/SKILL.md A skill file an agent can drop in.
Feed schemas
- /schemas/pricing.schema.json JSON Schema for
/pricing.json. - /schemas/models.schema.json JSON Schema for
/models.json. - /schemas/status.schema.json JSON Schema for
/status.json.
Pages as Markdown
- /index.md Home.
- /models.md Models and prices.
- /quickstart.md Quickstart.
- /agents.md This page.
- /trust.md Trust and verification.
- /faq.md FAQ.
- /contact.md Contact.
The feeds are baked when the site is built, so they can be older than they look. If now minus as_of is more than stale_after_seconds, read the live list instead:
curl -sS https://antseedstats.com/api/v1/sellers/0xe44566555a6bcd118832097445e49277db4ba675/models 03 / Which model
When to use which model
We publish prices, not benchmarks. This guide covers what we can state from our own data.
| When | Use | Why |
|---|---|---|
| Testing that the connection works | gemma3:1b (free) | Costs $0 and needs no wallet balance. |
| Routing, simple classification, short rewrites | gemma3:1b (free) | It is a 1-billion-parameter model: fine for small jobs, not for hard reasoning. The free tier is rate-limited. |
| Paid work | An exact id from /models.json | We publish prices, not benchmarks. Judge capability from the model maker’s own documentation, then compare cost with the calculator. |
| Long prompts that repeat a prefix | Compare the cached-input price | Each paid model lists a cached-input price. We do not measure or promise how often it applies. |
04 / Cost
What a run costs here
Pick a model, enter token counts, and compare with the list input price or with what you pay now. The prices are the ones in /pricing.json.
The calculator needs JavaScript. The arithmetic is short enough to do by hand.
Cost per run = tokens / 1,000,000 x price, summed over input, cached input and output.
Per day is the cost per run times runs per day. Per 30 days is that times 30. Read the prices from /pricing.json or the price table.
One illustrative example, not a measurement: 800 input tokens and 300 output tokens on openai-gpt-61-sol cost $0.0029 per run. Prices as of Sun Dec 6, 2026, 10:40 AM PT (AntSeedStats chain data), re-checked Dec 6, 11:05 AM PT. Re-checked at build Dec 6, 3:20 PM PT: match.
Your run
The arithmetic runs in this page. The calculator makes no network calls and stores nothing.
Cost at our listed price
Model openai-gpt-61-sol
- Per run
- $0.0029
- Per day
- $0.142650 runs per day
- Per 30 days
- $4.2780
- Input
- 800 / 1,000,000 x $1.24 = $0.0010
- Cached input
- 0 / 1,000,000 x $0.062 = $0.0000
- Output
- 300 / 1,000,000 x $6.20 = $0.0019
This model lists no cached-input price, so cached tokens are counted at the input price.
The free model costs $0. gemma3:1b is a 1-billion-parameter model. It is good for connection tests, routing, simple classification and short rewrites. It is not for hard reasoning. 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).
vs list input price
List input price $2.00 per 1M tokens (source: openrouter). Our input price $1.24. For 800 input tokens that is $0.0010 here and $0.0016 at list: $0.0006 less per run, $0.0304 less per day, $0.9120 less per 30 days (38% on input tokens).
Input tokens only. The list source publishes no output-token list price, so none is compared. Cached input is not compared either.
No list reference for this model. We show one only when our input price is below the list input price by more than 1%. Only our cost is shown.
The free model has no list comparison.
vs your current price
Fill in both prices to see the difference.
Your side counts cached input tokens at your input price, because you entered no cached price. Set cached tokens to 0 to leave them out of both sides.
Cost per run = tokens / 1,000,000 x price, summed over input, cached input and output. Each line is rounded to four decimals; totals are computed before rounding.
Prices as of Sun Dec 6, 2026, 10:40 AM PT (AntSeedStats chain data), re-checked Dec 6, 11:05 AM PT. Re-checked at build Dec 6, 3:20 PM PT: match. Same numbers as /pricing.json and the price table.
{
"kind": "cost-estimate",
"seller": "General Inference",
"model": "openai-gpt-61-sol",
"free": false,
"preset": {
"id": "short-chat",
"label": "illustrative example"
},
"inputs": {
"input_tokens": 800,
"cached_input_tokens": 0,
"output_tokens": 300,
"runs_per_day": 50
},
"prices_usd_per_1m_tokens": {
"input": 1.24,
"cached_input": 0.062,
"output": 6.2
},
"prices_as_of": "2026-12-06T10:40:09-08:00",
"prices_source": "AntSeedStats seller models API",
"prices_feed": "https://generalinference.org/pricing.json",
"formula": "Cost per run = tokens / 1,000,000 x price, summed over input, cached input and output.",
"cost_usd": {
"per_run": 0.0029,
"per_day": 0.1426,
"per_30_days": 4.278,
"per_run_unrounded": 0.002852
},
"vs_list_input": {
"list_input_usd_per_1m_tokens": 2,
"source": "openrouter",
"scope": "Input tokens only. The list source publishes no output-token list price, so none is compared.",
"input_cost_here_per_run": 0.001,
"input_cost_at_list_per_run": 0.0016,
"saving_per_run": 0.0006,
"saving_per_day": 0.0304,
"saving_per_30_days": 0.912,
"saving_pct_input": 38
},
"vs_your_price": null,
"notes": [
"Amounts are rounded to four decimals. Totals are computed before rounding.",
"Token counts come from the \"Short chat\" preset. It is an illustrative example, not a measurement.",
"Prices change. Check as_of in the prices feed before spending."
]
}05 / Snippets
Copy-paste snippets
Every snippet calls the buyer proxy on your own machine at http://localhost:8377/v1. Run antseed buyer start and the pin command first. Each first call uses the free model gemma3:1b. Type the id exactly, colon included.
untested These snippets have not been run end to end yet. Each one carries this badge until it has been run through the free model.
curl (untested)
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"}]}' Python openai (untested)
from openai import OpenAI
# The local buyer proxy needs no key. "antseed" is a dummy for SDKs that insist on one.
client = OpenAI(base_url="http://localhost:8377/v1", api_key="antseed")
reply = client.chat.completions.create(
model="gemma3:1b",
messages=[{"role": "user", "content": "Reply with one word: ready"}],
)
print(reply.choices[0].message.content) JS / TS openai (untested)
import OpenAI from "openai";
// The local buyer proxy needs no key. "antseed" is a dummy for SDKs that insist on one.
const client = new OpenAI({ baseURL: "http://localhost:8377/v1", apiKey: "antseed" });
const reply = await client.chat.completions.create({
model: "gemma3:1b",
messages: [{ role: "user", content: "Reply with one word: ready" }],
});
console.log(reply.choices[0].message.content); Vercel AI SDK (untested)
import { createOpenAI } from "@ai-sdk/openai";
import { generateText } from "ai";
const gi = createOpenAI({ baseURL: "http://localhost:8377/v1", apiKey: "antseed" });
// .chat() selects the chat-completions API, which is what the buyer proxy speaks.
const { text } = await generateText({
model: gi.chat("gemma3:1b"),
prompt: "Reply with one word: ready",
});
console.log(text); LangChain (untested)
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="gemma3:1b",
base_url="http://localhost:8377/v1",
api_key="antseed", # dummy; the proxy needs no key
)
print(llm.invoke("Reply with one word: ready").content) LlamaIndex (untested)
from llama_index.llms.openai_like import OpenAILike
llm = OpenAILike(
model="gemma3:1b",
api_base="http://localhost:8377/v1",
api_key="antseed", # dummy; the proxy needs no key
is_chat_model=True,
)
print(llm.complete("Reply with one word: ready")) OpenAI Agents SDK (untested)
from agents import Agent, OpenAIChatCompletionsModel, Runner, set_tracing_disabled
from openai import AsyncOpenAI
set_tracing_disabled(True) # tracing would call a hosted API
client = AsyncOpenAI(base_url="http://localhost:8377/v1", api_key="antseed")
agent = Agent(
name="assistant",
instructions="Answer briefly.",
model=OpenAIChatCompletionsModel(model="gemma3:1b", openai_client=client),
)
print(Runner.run_sync(agent, "Reply with one word: ready").final_output) CrewAI (untested)
from crewai import LLM
# The "openai/" prefix tells CrewAI to use an OpenAI-compatible endpoint.
llm = LLM(
model="openai/gemma3:1b",
base_url="http://localhost:8377/v1",
api_key="antseed", # dummy; the proxy needs no key
)
print(llm.call("Reply with one word: ready")) Environment variables (untested)
# Any OpenAI-compatible client that reads these variables will use the local buyer proxy.
# Port 8377 is the CLI default on your machine; change it with: antseed buyer start --port <port>
export OPENAI_BASE_URL=http://localhost:8377/v1
# Optional. The proxy needs no key; set a dummy only if your client insists on one.
export OPENAI_API_KEY=antseed 8377 is the AntSeed CLI's default buyer port on your own machine. Change it with antseed buyer start --port <port>. The local proxy needs no API key. If a client insists on one, send the dummy string antseed (verified from @antseed/cli 0.1.274, Dec 6, 11:05 AM PT).
06 / Cutting cost
Cutting cost: the short version
5 habits that lower a bill. This is a short version. It states no measured results.
- Prove the connection on
gemma3:1bbefore any paid call. - Send trivial jobs (routing, yes/no classification, short rewrites) to the free model while they fit inside the free tier.
- Estimate a run with the calculator first, then compare it with what you pay today using your own price.
- Read
as_ofin /pricing.json before spending. If it is older thanstale_after_seconds, re-read the live list. - Keep prompts short. You pay for every input token on every request.
07 / Paste block
Paste into your agent's instructions
Plain text, 575 characters. It tells an agent how to reach us and what to check first.
General Inference is a new AntSeed inference seller (https://generalinference.org). Default routing will not pick it yet, so pin it first: use `pin_command` from /.well-known/antseed.json (see also `unpin_command` and the single-request `peer@model` prefix). Pins are strict, with no failover. Use exact model ids from /models.json (for example `openai-gpt-61-sol`, not `gpt-6.1-sol`). Test the connection with the free model `gemma3:1b`. Verify prices and `as_of` at /pricing.json before spending. There is no hosted inference API; the buyer proxy runs on the local machine. The first call in every example uses the free model gemma3:1b. Full steps are in the quickstart.
08 / Discovery
Discovery files
How a crawler or an agent finds everything above without reading this page.
- /robots.txt Allows every crawler and AI agent, and points to the sitemap.
- /sitemap.xml Every public page and feed, with its last-modified date.
- /.well-known/antseed.json The same identity record at a well-known path.
- /llms.txt Links every file on this page.
Every HTML page also links /pricing.json, /llms.txt and its Markdown twin, where one exists, with <link rel="alternate"> in the head.
You do not have to trust this site for our identity. Check the DNS record yourself, then compare it with our AntSeedStats profile. The trust page lists each check.
dig +short TXT _antseed.generalinference.org