questions/Free APIs

Is there a free GPT API?

OpenAI's API has no free tier. AIgateway gives you $5 in signup credit to try moonshot/kimi-k2.6 (and six other curated models), an open-weight model that matches GPT-5.4-mini on most benchmarks. When you need the real thing, openai/gpt-5.4, gpt-5.4-mini, and gpt-5.4-nano are all one model-string change away — same key, pass-through pricing.

How it works

Claim the key + $5 credit

Visit aigateway.sh and sign in with GitHub or Google. No credit card, no phone verification, no invite codes. Every new account gets $5 in signup credit spendable on a curated 7-model edge tier — moonshot/kimi-k2.6 (frontier open-weight, 256K context, vision, native tool calling), BGE-M3 embeddings, FLUX-2 Klein image, Gemma 4 vision, Aura 2 TTS, Whisper Turbo STT, Llama Guard moderation. The credit expires 7 days after signup.

Write your first call

Install pip install aigateway-py openai, point the OpenAI SDK at https://api.aigateway.sh/v1, set model="moonshot/kimi-k2.6", and you're making production-grade LLM calls against your $5 signup credit. Standard PAYG rate limits apply.

Top up to unlock the full catalog

Top up $5 (or more) for pay-as-you-go. No subscription, no auto-renew. That unlocks the full catalog — Claude Opus 4.7, GPT-5.4, Gemini 3.1 Pro, the image and video models, everything. Pass-through on the underlying rate plus a 5% platform fee at top-up. Your code stays the same.

Code example

Python
# pip install aigateway-py openai
# aigateway-py: sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK: chat/embeddings/images/audio — drop-in compat per our SDK's own guidance.
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

r = client.chat.completions.create(
    model="moonshot/kimi-k2.6",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(r.choices[0].message.content)
Node / TypeScript
// npm i aigateway-js openai
// aigateway-js: sub-accounts, evals, replays, jobs, webhook verify.
// openai SDK: chat/embeddings/images/audio — drop-in compat.
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.aigateway.sh/v1",
  apiKey: process.env.AIGATEWAY_KEY,
});

const r = await client.chat.completions.create({
  model: "moonshot/kimi-k2.6",
  messages: [{ role: "user", content: "Explain vector databases in two sentences." }],
});
console.log(r.choices[0].message.content);

Related

FAQ

Is AIgateway's signup credit really free?

Yes. $5 in credit on signup with no credit card, spendable on a curated 7-model edge tier (Kimi K2.6 chat, BGE-M3 embeddings, FLUX-2 Klein image, Gemma 4 vision, Aura 2 TTS, Whisper Turbo STT, Llama Guard moderation). The credit expires 7 days after signup.

What's the catch?

No catch. We offer the signup credit because we believe developers should try the platform end-to-end before paying. Most teams upgrade once they've shipped a prototype on the credit; the paid tier starts at a $5 minimum top-up with no subscription.

Is Kimi K2.6 actually usable for production?

Yes — Kimi K2.6 is a 1T-parameter open-weight model benchmarked at SWE-Bench 68.2 and HumanEval 92.7. It's competitive with Claude Opus 4.7 on agentic coding at ~10x the price-per-token once you're paying.

Can I build a real app on the free tier?

For prototyping and personal projects, yes. For production traffic, the 100/day limit is the bottleneck — a $5 top-up unlocks unlimited throughput at pass-through pricing with no recurring charge.

TRY IT NOW

One key, every model. Free tier, no card.

Get an AIgateway keyOpen the playground