Guides

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

  1. Create a keyTop up API credit from $0.50 in the store, check Wallet, then create a key under API Keys.
  2. 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.
  3. List the modelsCall GET /v1/models or open the model catalog for names, prices and uptime.
  4. Test streaming and toolsRun one streamed request and one tool-calling request before you move a production workload, because support differs per model.
  5. 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).

ModelMakerInputOutputGroup
deepseek-v4.1-flashDeepSeek$0.0468$0.4178Standard
deepseek-v4-proDeepSeek$2.234$6.703Standard
glm-5.3-flashZhipu AI$0.15$0.50Standard
kimi-k3Moonshot AI$2.607$13.03Premium
qwen3.8-maxAlibaba$0.1613$0.4838Premium
claude-haiku-4.5Anthropic$0.0911$0.4556Premium
claude-sonnet-5Anthropic$0.2739$1.37Premium
claude-opus-5.5Anthropic$0.9206$4.603Premium
gpt-5.6-solOpenAI$0.2219$1.11Premium
gpt-6-solOpenAI$0.1952$0.976Premium
gemini-3.5-flashGoogle$0.3413$2.062Standard
grok-4.7xAI$0.0669$0.2008Premium

USD per 1M tokens · Updated 5 Dec 2026.

Pricing · Models · Docs

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.