Cheap OpenAI-compatible API: switch with one line
An OpenAI-compatible API accepts the same HTTP requests as the OpenAI Chat Completions API. Your code stays the same; only the base URL, key and model name change.
Short answer. Set base_url to https://api.ezkielyna.store/v1, use your Ezkielyna key and a model name from the catalog. Billing is per token from a USD balance that starts at $0.50 and does not expire, and one key reaches 255 public models (as of 5 Dec 2026).
Steps
- Create a keyTop up API credit from $0.50 in the store, check Wallet, then create a key under API Keys.
- Change three valuesIn the OpenAI SDK set the base URL, the API key and the model name. Nothing else in your code has to change.
- List the modelsCall
GET /v1/modelsor open the model catalog for names, prices and uptime. - Test streaming and toolsRun one streamed request and one tool-calling request before you move a production workload, because support differs per model.
- Set a limitPut a spending limit on the key in the API console so a bug cannot run up the balance.
Python
openai (Python)
from openai import OpenAI
client = OpenAI(base_url="https://api.ezkielyna.store/v1", api_key="YOUR_API_KEY")
reply = client.chat.completions.create(
model="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Reply with one word."}],
)
print(reply.choices[0].message.content)
JavaScript
openai (Node.js)
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.ezkielyna.store/v1", apiKey: process.env.EZK_API_KEY });
const reply = await client.chat.completions.create({
model: "deepseek-v4.1-flash",
messages: [{ role: "user", content: "Reply with one word." }],
});
console.log(reply.choices[0].message.content);
Environment variables
Many tools read the same two variables, so you can switch without touching code.
bash
export OPENAI_BASE_URL="https://api.ezkielyna.store/v1" export OPENAI_API_KEY="$EZK_API_KEY"
Check the connection and streaming
List models
curl https://api.ezkielyna.store/v1/models \ -H "Authorization: Bearer $EZK_API_KEY"
Streaming request
curl https://api.ezkielyna.store/v1/chat/completions \
-H "Authorization: Bearer $EZK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash",
"stream": true,
"messages": [{"role": "user", "content": "Count to three."}]
}'
Anthropic format too
The same key also works with the Anthropic Messages format. See Use Claude Code with a different API provider.
Prices of popular models
Prices and model count are read from the live price list (255).
| Model | Maker | Input | Output | Group |
|---|---|---|---|---|
| deepseek-v4.1-flash | DeepSeek | $0.0468 | $0.4178 | Standard |
| deepseek-v4-pro | DeepSeek | $2.234 | $6.703 | Standard |
| glm-5.3-flash | Zhipu AI | $0.15 | $0.50 | Standard |
| kimi-k3 | Moonshot AI | $2.607 | $13.03 | Premium |
| qwen3.8-max | Alibaba | $0.1613 | $0.4838 | Premium |
| claude-haiku-4.5 | Anthropic | $0.0911 | $0.4556 | Premium |
| claude-sonnet-5 | Anthropic | $0.2739 | $1.37 | Premium |
| claude-opus-5.5 | Anthropic | $0.9206 | $4.603 | Premium |
| gpt-5.6-sol | OpenAI | $0.2219 | $1.11 | Premium |
| gpt-6-sol | OpenAI | $0.1952 | $0.976 | Premium |
| gemini-3.5-flash | $0.3413 | $2.062 | Standard | |
| grok-4.7 | xAI | $0.0669 | $0.2008 | Premium |
USD per 1M tokens · Updated 5 Dec 2026.
Questions
What does OpenAI-compatible mean?
The provider implements the same endpoints, request fields and response shape as the OpenAI API, so OpenAI SDKs and most tools work by changing the base URL and key.
Is every feature supported for every model?
No. Streaming, tool calls, vision and JSON output depend on the model. Test the features you need on the model you choose.
How is it billed?
Per token, from a USD balance, at the price of the model you call. Images and video are charged per request. The balance does not expire.
Can I pay without a credit card?
Yes: QRIS, USDT (BEP-20, Solana, TRON TRC-20) or Binance Pay. See AI API without a credit card.
What if a request fails?
Requests that fail on the gateway or upstream side are refunded automatically, up to a daily limit per user.
Ezkielyna is an independent gateway and is not affiliated with OpenAI, Anthropic, Google or xAI. "Works with Claude Code" means the Anthropic Messages format is supported.