Public AI

Public AI

UNK
4 models available

Public AI confirmed that it does not store API prompt logs or user data; it records the requested model and request status. Training use and inference-partner coverage remain unconfirmed, so these routes are not classified as Zero Data Retention.

Data handling can vary by model and deployment. The privacy badge above shows the more conservative of the provider-wide fallback and the policies for routes on this page; each model page shows the policy for that specific route.

Models served by Public AI

ModelContextInput /MOutput /MTTFTThroughput
262k$0.11/M$0.21/MN/AN/A
33k$0.42/M$0.42/MN/AN/A
131k$0.21/M$0.42/MN/AN/A
131k$0.26/M$0.53/MN/AN/A
Context
262k
Input /M
$0.11/M
Output /M
$0.21/M
TTFT
N/A
Throughput
N/A
Context
33k
Input /M
$0.42/M
Output /M
$0.42/M
TTFT
N/A
Throughput
N/A
Context
131k
Input /M
$0.21/M
Output /M
$0.42/M
TTFT
N/A
Throughput
N/A
Context
131k
Input /M
$0.26/M
Output /M
$0.53/M
TTFT
N/A
Throughput
N/A

Prices are per million tokens. TTFT is the observed time to first token. Selectable routes include the applicable provider-selection markup; fixed routes show the standard model price. Availability and pricing refresh continuously; each model page shows the live provider comparison.

Using Public AI via the API

Call a model served by Public AI using its displayed model ID, including the provider suffix when selection is supported.

cURL

curl https://nano-gpt.com/api/v1/chat/completions \
  -H "Authorization: Bearer $NANOGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "swiss-ai/apertus-v1.5-8b:publicai",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

For models with provider selection, append :publicai to the model ID, set "provider": "publicai" in the request body, or send an X-Provider: publicai header. Explicit provider selection adds a route-specific markup over that provider's base price; the prices in the table above already include it. Models without provider selection use the displayed model ID without a provider suffix or selection surcharge.

See the API documentation for provider preferences, price-aware routing, and error behavior.