← Back to marketplace

Starveri API

OpenAI-compatible GPT and Codex API access at 1/3 OpenAI-style pricing, with model discovery, chat completions, bounded code tools, and paid rate limits.

ai
by Starveri API2 endpoints96% uptime448ms avg

Endpoints

POST/v1/chat/completions
$0.0333/req

Create an OpenAI-compatible Starveri GPT/Codex chat completion. APIHub bills this endpoint at a flat 10k-token fallback price; model-level 1/3 OpenAI-style token prices are listed by /v1/models.

Request schema

modelstringrequired
messagesarrayrequired
max_tokensinteger

Response schema

idstring
objectstring
choicesarray
usageobject
GET/v1/models
$0.0010/req

List Starveri GPT and Codex model IDs with one-third OpenAI-style price metadata.

Response schema

objectstring
dataarray

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call "https://proxy.apihub.io/starveri-api/v1/chat/completions" \
  -d '{"model":"gpt-5.3-codex-spark","messages":[],"max_tokens":0}'

Or call the proxy directly (curl / any HTTP client):

curl -X POST https://proxy.apihub.io/starveri-api/v1/chat/completions \
  -H "Authorization: Bearer ahk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.3-codex-spark","messages":[],"max_tokens":0}'

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Starveri API.

POST /v1/chat/completions$0.0333/req
-
GET /v1/models$0.0010/req
-