An OpenAI-compatible endpoint that routes to GPT, Claude, Gemini, Llama, DeepSeek and more. Pay as you go with your GhostShell balance — no subscriptions.
Log in or create a free account to manage your relay keys and balance.
Login / RegisterDrop-in replacement for the OpenAI API. Streaming supported.
curl https://openghostshell.com/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-gs-YOUR_KEY" \ -d '{ "model": "openai/gpt-4o-mini", "messages": [{"role": "user", "content": "Hello!"}] }'
from openai import OpenAI client = OpenAI( base_url="https://openghostshell.com/v1", api_key="sk-gs-YOUR_KEY", ) resp = client.chat.completions.create( model="anthropic/claude-sonnet-4", messages=[{"role": "user", "content": "Hello!"}], ) print(resp.choices[0].message.content)
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://openghostshell.com/v1", apiKey: "sk-gs-YOUR_KEY", }); const resp = await client.chat.completions.create({ model: "google/gemini-2.5-flash", messages: [{ role: "user", content: "Hello!" }], }); console.log(resp.choices[0].message.content);
Prices are per 1M tokens in USD, billed from your balance. Click a model ID to copy it.
| MODEL ID | CONTEXT | INPUT / 1M | OUTPUT / 1M |
|---|---|---|---|
| Loading model list… | |||