Skip to content
Fourohtwo

api.opencheap.si/v1/chat/completions

OpenAI-compatible chat completions for hundreds of open and closed models (DeepSeek, Kimi, GLM, Qwen, Llama, Claude, GPT, Gemini) through one endpoint, each call routed to the cheapest healthy provider for that model. Pay per call in USDC on Base with no API key or account: the 402 quotes this prompt plus max_tokens (up to 4,096). Streaming and tool calls supported. Model ids and prices: https://a

BaseAnswering
POSThttps://api.opencheap.si/v1/chat/completions

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.opencheap.si/v1/chat/completions", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"max_tokens":256,"messages":[{"content":"Say hello in five words.","role":"user"}],"model":"deepseek-v4.1-flash"}),
});
console.log(await res.json());

Example input

{
  "max_tokens": 256,
  "messages": [
    {
      "content": "Say hello in five words.",
      "role": "user"
    }
  ],
  "model": "deepseek-v4.1-flash"
}