How to use Ezkielyna API with the Vercel AI SDK
The AI SDK talks to any OpenAI-compatible API through the @ai-sdk/openai-compatible provider, so an Ezkielyna key works with generateText, streamText and the rest of the SDK. Model names are the ones on the model list, without a vendor prefix.
As of 2026-11-12, DeepSeek V4.1 Flash costs $0.04 per 1M input tokens and $0.16 per 1M output tokens (read live from the gateway pricing). Ezkielyna is an independent gateway, not affiliated with the model makers.
Updated from live data · Sources: model list · status page
What you need
- Node.js 18+ with the ai and @ai-sdk/openai-compatible packages
- An Ezkielyna API key
Steps
1Top up API Credit
Open ezkielyna.store/api-credit, pick a pack and pay with QRIS, USDT (BEP-20 or Solana), Binance Pay or store balance. A redeem code appears on the order page once payment is confirmed. The balance does not expire and there is no monthly fee.
2Redeem the code and create an API key
Sign in at https://api.ezkielyna.store (if you have no account there, use the Ezkielyna Store sign-in button on that page), open Wallet and paste the redeem code. Then open API Keys and create a key. The Standard group covers DeepSeek, GLM, MiniMax, Qwen and Kimi K2.7; choose Auto if you also want Premium models such as Kimi K3, Claude or GPT with the same key.
3Install the packages
Add the AI SDK and its OpenAI-compatible provider to your project.
terminal npm install ai @ai-sdk/openai-compatible4Keep the key on the server
Store the key in an environment variable. Call the API from server code (an API route, server action or script), never from the browser.
terminal export EZKIELYNA_API_KEY="sk-..."5Create the provider
Create one provider instance and import it wherever you call a model. includeUsage adds token counts to streamed responses.
ezkielyna.ts import { createOpenAICompatible } from "@ai-sdk/openai-compatible"; export const ezkielyna = createOpenAICompatible({ name: "ezkielyna", apiKey: process.env.EZKIELYNA_API_KEY, baseURL: "https://api.ezkielyna.store/v1", includeUsage: true, });6Generate and stream text
Pass a model name from the model list to the provider. Every model uses the same provider and key.
index.ts import { generateText, streamText } from "ai"; import { ezkielyna } from "./ezkielyna"; const { text } = await generateText({ model: ezkielyna("deepseek-v4.1-flash"), prompt: "Explain what an API gateway does in one sentence.", }); console.log(text); const result = streamText({ model: ezkielyna("glm-5.3"), prompt: "Write a short haiku about routing.", }); for await (const part of result.textStream) process.stdout.write(part);7Switch models
Change the model name, for example deepseek-v4-pro, glm-5.3-flash, qwen3.8-flash or minimax-m3 (all in the Standard group). Premium models need a key in the Premium or Auto group. Names, groups and prices are on the model list.
If something goes wrong
- 401: the key is wrong, disabled or the balance is empty.
- model not found or not available for your group: the name must match the model list exactly and your key group must cover it.
- Wrong base URL: use https://api.ezkielyna.store/v1 (the provider appends /chat/completions itself), not ezkielyna.store/v1.
- DeepSeek JSON mode: when you ask for JSON output, the prompt must contain the word JSON. This is DeepSeek's own rule.
Other guides: Cline · Kilo Code · Roo Code · Claude Code · OpenCode · Continue · Python & JavaScript SDK
Prices: DeepSeek · GLM · Kimi · OpenRouter alternative
Try Ezkielyna API
Top up API Credit, redeem the code in the dashboard, create a key and point any OpenAI-compatible tool at https://api.ezkielyna.store/v1. Pay as you go; the balance does not expire.