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

Feed schemas

Pages as Markdown

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:

live check
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.

7 models listed. Exact ids are in /models.json and on the models page.
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

Presets. Each is an illustrative example, not a measurement
Your current price per 1M tokens (input / output). Optional

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

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.

vs your current price

Fill in both prices to see the difference.

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.

Result as JSON
{
  "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."
  ]
}

Data: AntSeedStats (antseedstats.com), CC BY 4.0.

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)

bash 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)

python 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)

typescript 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)

typescript 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)

python 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)

python 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)

python 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)

python 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)

bash 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.

  1. Prove the connection on gemma3:1b before any paid call.
  2. Send trivial jobs (routing, yes/no classification, short rewrites) to the free model while they fit inside the free tier.
  3. Estimate a run with the calculator first, then compare it with what you pay today using your own price.
  4. Read as_of in /pricing.json before spending. If it is older than stale_after_seconds, re-read the live list.
  5. 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.

plain text
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.

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.

dns check
dig +short TXT _antseed.generalinference.org