Skip to main content

Overview

The OpenAI proxy gives you pay-per-request access to the full OpenAI API — chat completions, embeddings, image generation, audio, fine-tuning, and more. No OpenAI account or API key required.
Proxy URLhttps://openai.api.corbits.dev
Proxy ID61
Default price$0.01 per request
Pricing schemeExact

Quick start

Install the payment SDK and make a chat completion request:
import { payer } from "@faremeter/rides";

// Load your Solana keypair
await payer.addLocalWallet(process.env.PAYER_KEYPAIR);

const response = await payer.fetch("https://openai.api.corbits.dev/v1/chat/completions", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "gpt-4o",
    messages: [{ role: "user", content: "Hello from Corbits!" }],
  }),
});

const data = await response.json();
console.log(data.choices[0].message.content);

Key endpoints

The proxy exposes the full OpenAI API. Here are the most commonly used endpoints:
EndpointDescription
/v1/chat/completionsGenerate chat completions (GPT-4o, GPT-4, etc.)
/v1/responsesCreate model responses with tool use and web search
/v1/embeddingsGenerate text embeddings
/v1/images/generationsGenerate images (DALL-E, GPT Image)
/v1/audio/speechText-to-speech
/v1/audio/transcriptionsSpeech-to-text (Whisper)
/v1/modelsList available models
/v1/completionsLegacy text completions
/v1/moderationsContent moderation
/v1/fine_tuning/jobsFine-tuning management
The proxy supports 90+ endpoints covering the full OpenAI API surface. Use the Discovery API to get the complete list.

Discover this merchant

Query the Discovery API to get live details about this proxy:
# Search for this proxy
curl "https://api.corbits.dev/api/v1/search?q=openai"

# Get proxy details
curl "https://api.corbits.dev/api/v1/proxies/61"

# List all endpoints with pricing
curl "https://api.corbits.dev/api/v1/proxies/61/endpoints"

# Get the full OpenAPI spec
curl "https://api.corbits.dev/api/v1/proxies/61/openapi"

Notes

  • Requests are proxied directly to the OpenAI API. Request and response formats match the OpenAI API reference.
  • Payment is handled at the proxy layer via x402 — the @faremeter/rides SDK manages the challenge/response cycle automatically.
  • Pricing is per-request at the proxy level. Upstream token-based costs from OpenAI are included in the proxy price.