NewGPT-6, Gemini 3.8 Flash & Grok 4.7 are live

One key for every AI model.

Kelid is a single gateway to OpenAI, Gemini, xAI and BytePlus. Keep your existing SDK, change the base URL — and get per-project keys, budgets, automatic failover and transparent usage billing.

  • OpenAI-compatible
  • Pay in Toman
  • No provider accounts needed
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.KELID_API_KEY,
  baseURL: "https://kelid.flashai.ir/openai/v1",
});

const res = await client.chat.completions.create({
  model: "gpt-6-sol",
  messages: [{ role: "user", content: "Hello!" }],
});
from openai import OpenAI
import os

client = OpenAI(
    api_key=os.environ["KELID_API_KEY"],
    base_url="https://kelid.flashai.ir/openai/v1",
)

res = client.chat.completions.create(
    model="gpt-6-sol",
    messages=[{"role": "user", "content": "Hello!"}],
)
curl https://kelid.flashai.ir/openai/v1/chat/completions \
  -H "Authorization: Bearer $KELID_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 7f3c…" \
  -d '{
    "model": "gpt-6-sol",
    "messages": [{"role":"user","content":"Hello!"}]
  }'
200 OK x-broker-request-id: req_9Hk2… 412 ms
Every major model, behind one key
OpenAI Google Gemini xAI Grok BytePlus Seed GPT-6 Gemini 3.8 Flash Grok 4.7 DeepSeek V4.1 GLM 5.3 Gemini 3.1 Pro Seedream 5.0
92models in the catalog
4providers, one API
5modalities: text, image, video, audio, embeddings
1line of code to switch
How it works

Your app talks to Kelid. Kelid talks to everyone.

Every request is estimated, reserved against your budget, routed to the best provider, retried if needed, and settled at your project's price — all in a single call.

Your app OpenAI SDK · cURL Kelid estimate · route · meter retry · failover · bill OpenAI Google Gemini xAI BytePlus
  1. 01

    Create a project

    Sign up in the Console, create a project and issue an API key. Secrets are shown once and stored hashed.

  2. 02

    Top up your wallet

    Charge your wallet in Toman. Each request reserves an estimate first, then settles the exact usage.

  3. 03

    Change the base URL

    Point your SDK at Kelid. Any model from any provider is now one string away.

Features

Everything between your code and the model.

The infrastructure you would otherwise build yourself: keys, metering, routing and billing — production-ready from the first request.

Drop-in compatibility

OpenAI- and xAI-compatible endpoints, native Google and BytePlus paths, plus a canonical core API. Keep the SDK you already use.

Usage you can audit

Every request is logged with tokens, duration and exact charge — versioned pricing lets you reconstruct any bill.

Budgets & guardrails

Per-project keys, spend limits and rate limits. A request that would exceed the budget is stopped before it reaches a provider.

Retries & failover

Bounded retries and automatic failover to a healthy provider. Idempotency keys guarantee a retry is never charged twice.

Local payments, clear pricing

No foreign card required. Top up in Toman, see each model's price before you call it, and download a full history of charges.

Every modality

Text, vision, embeddings, image generation and editing, video, speech and transcription — sync, streaming or async jobs.

Just released

This month's frontier models, live on Kelid.

The newest flagships from every provider — available with your existing key, no new account or SDK change.

OpenAINew

GPT-6

OpenAI's new flagship family: Astra for the hardest end-to-end work, Sol for coding and agents, Luna for high-volume tasks.

gpt-6-astragpt-6-solgpt-6-luna
  • 1.05Mcontext
  • 128Kmax output
  • none → maxreasoning effort
GoogleNew

Gemini 3.8 Flash

Google's most intelligent Flash model, built for long-horizon coding and autonomous agents.

gemini-3.8-flashgemini-3.1-pro-preview
  • 1Mcontext
  • 5input types
xAINew

Grok 4.7

xAI's latest reasoning model with vision, tool calling and structured outputs.

grok-4.7
  • 500Kcontext
  • low → xhighreasoning effort
BytePlusNew

Open-weight leaders

DeepSeek V4.1 Flash and V4 Pro, GLM 5.3 Flash and GLM 5.2 — frontier reasoning at a fraction of the cost.

deepseek-v4-1-flashdeepseek-v4-proglm-5-3-flash
BytePlus · OpenAINew

Faster images & speech

Seedream 5.0 Flash and GPT Image 1 Mini for low-cost images; GPT Transcribe for accurate speech-to-text.

seedream-5-0-flashgpt-image-1-minigpt-transcribe
Model catalog

The latest models, the day you need them.

A transparent, versioned catalog with context windows, modalities and your project's price for each model.

OpenAI30
  • gpt-6-astraNew
  • gpt-6-solNew
  • gpt-6-lunaNew
  • gpt-5.6-terra1M ctx
Google Gemini23
  • gemini-3.8-flashNew
  • gemini-3.1-pro-previewNew
  • gemini-embedding-2New
  • veo-3.1video
xAI13
  • grok-4.7New
  • grok-4.6reasoning
  • grok-4.20-multi-agentagents
  • grok-imagine-imageimage
BytePlus26
  • deepseek-v4-1-flashNew
  • glm-5-3-flashNew
  • dola-seed-2-1-turbofast
  • seedance-2-0video
FAQ

Questions, answered.

Do I have to rewrite my code?

No. If you use the OpenAI or xAI SDK, change the base URL and API key. Google and BytePlus native paths are available too.

Do I need my own provider accounts?

No. One Kelid key gives you access to every model in the catalog. Kelid manages the provider accounts for you.

How am I billed?

From a prepaid wallet in Toman. Each request reserves an estimate and settles the actual usage at your project's price; unused reservations are released.

What happens if a provider goes down?

Kelid retries within safe bounds and can fail over to another provider. The final provider and every attempt are visible in the request timeline.

Can I control spend per project?

Yes. Every project has its own keys, budgets and rate limits, and requests that would exceed the budget are rejected before they run.

Unlock every model with one key.

Create your account, top up your wallet and make your first request in minutes.