thelastapi
Get started free

Blog

One API key for GPT, Claude and Gemini: how a unified AI API works

Call GPT, Claude, Gemini, DeepSeek and Kimi with one key and one OpenAI-compatible endpoint: how it works, what it costs and the code to start.

AI models

One API for image, video and voice AI models

Generate images, render 720p video clips, synthesize speech, and transcribe audio using one API key and OpenAI-compatible routes.

Images, video and voice

One API key for an AI agent: hosting, database, email, payments and models

Give your AI agent one API key to manage hosting, database, email, payments, and AI models with built-in permission safeguards.

Built for agents

The cheapest way to host a website and database for a side project

The cheapest way to host a side project website and database is with thelastapi, where hosting is $0 today and Postgres provisions in one command.

Hosting and deploys

Serverless Postgres for side projects: one database per project

Provision an isolated serverless Postgres database per project with a development branch and plain DATABASE_URL support across any host.

Postgres database

How to add sign-in to a Next.js app

Add sign-in to a Next.js app with one command using thelastapi to manage user sessions, email auth, and Google or GitHub logins.

Sign-in

Take payments online without opening a merchant account

Take card payments online immediately using thelastapi as the merchant, with no merchant account setup, processor keys, or upfront identity checks.

Payments

Send transactional email from your app without touching DNS

Send transactional email from your app instantly using a verified project address, with DKIM, SPF, and DMARC aligned and zero DNS setup required.

Email

Scrape a website to markdown with one API call

Scrape any web page to clean markdown using the vibiz CLI or a single POST call to /v1/actions/web.scrape with your unified thelastapi key.

Web data and SEO

Session replay for a small site: masked, cheap and useful

Session replay for a small site records user bugs and friction with client-side masking, low storage costs, and a single script tag.

Analytics and replay

Give an AI agent a phone number: texts, calls and a voice agent

Give an AI agent a US phone number to send and receive texts, make spoken reminder calls, and hold live two-way voice conversations with one API key.

Phone and social

Form a US LLC or C-Corp from your terminal: costs and steps

You can form a US LLC or C-Corp directly from your terminal or API using thelastapi for state fees plus a flat $149 service fee.

Company and domains

One key for your whole app: the one-API stack for indie builders

Run hosting, a Postgres database, sign-in, and payments through one API and one key. Manage your entire stack without account sprawl.

The one-key stack

A pay-as-you-go AI API with no monthly fee

Pay for AI models per token or generation with no monthly subscription fee using thelastapi's prepaid, OpenAI-compatible gateway.

AI models

A speech-to-text API for 99 languages

Transcribe 99 languages and generate spoken audio using one OpenAI-compatible endpoint, a single API key, and shared billing with thelastapi.

Images, video and voice

Agent skills (SKILL.md) for Claude Code, Codex and Cursor

Agent skills use SKILL.md files to teach Claude Code, Codex, and Cursor project workflows, installed globally or per project with the CLI.

Built for agents

A public live page for building in public

Turn on a public live page to share verified visitor counts, deploy history, and sales activity while keeping revenues and secrets private.

Hosting and deploys

A development database branch agents cannot break

A development database branch gives your tools and agents an isolated Postgres copy with your production schema, migration ledgers, and zero live rows.

Postgres database

Add GitHub sign-in to your app

Learn how to add GitHub sign-in to your application using thelastapi, from configuring your GitHub OAuth app to handling sessions in code.

Sign-in

A customer portal where users cancel or change their card

Generate a hosted billing portal URL with vibiz.payments.portal(userId, { return_url }) to let subscribers update their card or cancel anytime.

Payments

A business inbox at your own domain: hello@yourcompany.com

Set up a real business inbox at your own domain to receive, read, and reply as hello@yourcompany.com using the console, CLI, or an AI agent.

Email

A backlink checker API: who links to a site

Query backlinks for any domain or URL with a single API call, returning referring domains, link metrics, anchors, and dofollow status.

Web data and SEO

Abandoned forms: see where users give up

Track abandoned forms by combining custom milestone events with masked session replay frames that photograph exactly where visitors drop off.

Analytics and replay

An AI receptionist that answers incoming calls

Set up an AI receptionist for your small business to answer incoming calls, speak with customers, and record transcripts using thelastapi.

Phone and social

Add a DNS TXT record to verify your domain

Add a DNS TXT record to verify your domain with thelastapi CLI, the HTTP API, or the console to prove ownership for external services.

Company and domains

A backend for a mobile app without writing a backend

Build a complete mobile app backend without managing servers using thelastapi for database, sign-in, file uploads, AI, and in-app purchases.

The one-key stack

Add AI features to your SaaS without vendor lock-in

Add AI features to your SaaS without lock-in by using an OpenAI-compatible gateway that lets you switch models with an environment variable.

AI models

A text-to-speech API: voices, formats and price per 1,000 characters

Text-to-speech costs $0.04 per 1,000 characters with vibiz/voice and vibiz/voice-lite, featuring nine voices, streamed MP3/PCM, and auto file saves.

Images, video and voice

Agent-friendly APIs: errors that say what to do next

API error design for AI agents requires machine-readable reason codes, explicit missing permissions, and actionable next steps in every response.

Built for agents

Add a custom domain with automatic HTTPS

Add a custom domain with automatic HTTPS to your thelastapi project using `vibiz domains add` or the API, configure DNS, and SSL provisions itself.

Hosting and deploys

Back up your Postgres database as SQL

Run vibiz export --db to export your entire Postgres database as a compressed SQL snapshot ready for psql or save tables to CSV.

Postgres database

Add Google sign-in to your app without your own OAuth app

Add Google sign-in to your app with a single command using shared credentials on thelastapi, skipping Google Cloud console setup entirely.

Sign-in

Add a subscription checkout to a SaaS

Add recurring subscription checkout to your SaaS using @vibiz/app or direct API calls with hosted checkout links, webhooks, and billing portals.

Payments

A newsletter tool for a small business: contacts, lists and broadcasts

thelastapi provides a small business newsletter tool with contact management, segmentation, and broadcasts for $0.001 per email.

Email

A keyword research API: search volume, CPC and competition

Query Google search volume, CPC, and competition for up to 1,000 keywords per call using thelastapi's keyword research API and CLI.

Web data and SEO

Add analytics to any site with one tag

Add web analytics and session replay to any website by pasting a single script tag into your HTML head, with no cookies and zero configuration.

Analytics and replay

An AI voice agent that makes phone calls

Place two-way AI phone calls with thelastapi using a single API call, with automatic transcripts, call summaries, and strict compliance safeguards.

Phone and social

Buy a domain name with an API or one command

Buy and configure a domain name via the CLI or HTTP API using thelastapi credits, with automatic DNS and SSL for your apps.

Company and domains

A daily spend cap: protection from runaway API costs

Prevent runaway API costs by enforcing daily spend caps at the account and project level that cut off metered requests the moment limits are reached.

The one-key stack

An AI API with a usage dashboard per model

Track token spend and request volume per model across multiple AI labs in one unified dashboard, CLI tool, and metered API with thelastapi.

AI models

A text-to-video API: a six-second clip from a prompt

Add AI video generation to your app with one API key using asynchronous jobs, generating 6-second clips with sound for $0.54 per render.

Images, video and voice

Can you use Claude Code with other models? What a gateway can and cannot do

Claude Code runs on Claude, but an API gateway lets it run other models and third-party APIs through MCP tools without handling raw secret keys.

Built for agents

Deploy a Next.js app with a database and sign-in in one command

Deploy a Next.js app with a database and sign-in in one command using vibiz deploy, with serverless Postgres and auth provisioned automatically.

Hosting and deploys

Export Postgres tables to CSV

Export your Postgres database tables to CSV files using the vibiz CLI or API, with automatic table bundling, headers, and environment controls.

Postgres database

Add sign-in to an app hosted anywhere

Add authentication to an app hosted anywhere by creating an auth resource, registering your domain with --elsewhere, and loading env vars via one key.

Sign-in

An Upgrade button and an "is this user premium?" check

Check if a user has an active subscription with a single server-side call to vibiz.payments.hasActive, using your user ID and plan lookup key.

Payments

Add a newsletter signup form to any site

Add a newsletter signup form to any website using a plain HTML snippet, a CORS-enabled JSON endpoint, or the server-side SDK.

Email

A web search API for AI agents and apps

Give AI agents and LLMs real-time web search with one API call, structured JSON outputs, recency filters, and per-call cost tracking.

Web data and SEO

Ask your agent "how is my site doing?" and get a real answer

Give your AI agent tools like vibiz_health and vibiz_analytics to check website uptime, traffic drops, and visitor errors using real data.

Analytics and replay

Buy a US phone number with an API

Buy a US phone number with the vibiz CLI or API, link it to a project, and start receiving texts and placing voice calls right away.

Phone and social

Connect a domain you already own

Connect a domain you already own to your website using the vibiz CLI, configure the required DNS records, and enable automatic HTTPS.

Company and domains

Build a SaaS in a weekend: database, sign-in, payments, email, deploy

Build and deploy a full-stack SaaS in a single weekend using one API key for Postgres, sign-in, recurring payments, email, and hosting.

The one-key stack

An embeddings API for RAG: one key, two vector sizes

Generate vector embeddings for RAG with an OpenAI-compatible API, choosing between 1536 and 3072 dimensions under one unified key.

AI models

A vertical 9:16 video API for Shorts, Reels and TikTok

Generate vertical 9:16 AI videos for Shorts, Reels, and TikTok using thelastapi jobs endpoint or the CLI, with permanent storage included.

Images, video and voice

Connect a remote MCP server to Claude, ChatGPT, Cursor and Codex

Connect the remote MCP server to Claude, ChatGPT, Cursor, and Codex over HTTP with OAuth to build, deploy, and manage apps with nothing installed.

Built for agents

Deploy a static site with one command

Deploy a static site from your terminal in seconds with the vibiz deploy command, automatic HTTPS, preview builds, and instant rollbacks.

Hosting and deploys

Get a Postgres DATABASE_URL in one command

Run vibiz dev to get a working Postgres DATABASE_URL written directly to .env.development.local with your schema ready for migrations.

Postgres database

Auth for side projects: build it or use a service?

For a side project, using an authentication service is almost always better than building auth yourself from scratch.

Sign-in

In-app purchases for iOS and Android apps, with one premium check

Connect iOS and Android in-app purchases to thelastapi to check user premium status with a single backend call across mobile and the web.

Payments

DKIM, SPF and DMARC: email deliverability basics, done for you

SPF, DKIM, and DMARC are three DNS-based email authentication records that prove your messages are genuine and keep them out of the spam folder.

Email

An on-page SEO audit from one API call

Run an on-page SEO audit for any URL with a single API call to inspect metadata, page speed, word count, link structure, and prioritized issues.

Web data and SEO

Cookieless web analytics: what it measures and what it does not

Cookieless analytics tracks pageviews, sources, devices, and custom events without cookies or storing IP addresses.

Analytics and replay

Create a Google Ads Search campaign from the command line

Create Google Ads Search campaigns from the command line or REST API with custom budgets, keywords, and copy, created paused for review.

Phone and social

Domain auto-renew and transfer codes, explained

A domain transfer code is an authorization string that proves ownership when moving a domain to a new registrar, paired with auto-renew settings.

Company and domains

Call your own APIs through one gateway, with their keys sealed

Route your third-party APIs through one gateway with sealed keys: define the endpoint, store the secret write-only, and call it via SDK or CLI.

The one-key stack

An OpenAI-compatible endpoint for DeepSeek and Qwen

Use an OpenAI-compatible endpoint at /v1/ai to run DeepSeek and Qwen models with standard OpenAI SDKs, exact model routing, and per-call costs.

AI models

An AI photo editing API that starts from your photo

Pass reference photos directly to image models via an OpenAI-compatible API to edit backgrounds, face features, or combine multiple images on one key.

Images, video and voice

Deploy a website from Claude or ChatGPT with nothing installed

Deploy a website directly from ChatGPT with nothing installed by connecting the remote MCP connector and asking ChatGPT to build and publish it.

Built for agents

Deploy from CI with one command and one key

Deploy to production from GitHub Actions using one secret key and the vibiz deploy command, with automatic content hashing and built-in rollbacks.

Hosting and deploys

Inspect tables and run read-only SQL from the CLI

Run read-only SQL queries and inspect Postgres tables directly from the command line using the read view API or a local database branch.

Postgres database

Email and password sign-in with verification codes

Enable email and password sign-in with one-time verification codes using thelastapi auth settings, shared email delivery, or custom SMTP.

Sign-in

Let an AI agent set up payments safely

AI agents can create products, checkouts, and webhooks safely because live money moves, refunds, and withdrawals are locked behind owner permissions.

Payments

Double opt-in and unsubscribe links: newsletter compliance basics

Double opt-in confirms email subscribers with a verification link, while compliant unsubscribe links ensure recipients can leave in one click.

Email

Check a competitor's organic traffic and top keywords

Check any competitor's organic traffic estimate, ranking keywords, and top organic rivals with one API call or CLI command using seo.domain.

Web data and SEO

Find rage clicks and dead clicks on your site

Find rage clicks and dead clicks using session replay, inspect UI freeze frames, and catch user frustration before it hurts conversions.

Analytics and replay

Let an AI agent run your social media, with you approving

Run an AI agent as your social media manager safely by using approval queues and Limited API keys to review posts before they publish.

Phone and social

Getting an EIN for your new company

To get an EIN, submit Form SS-4 to the IRS directly or include it when forming an LLC or C-Corp. Here is what is needed and how the process works.

Company and domains

Development vs production environments for small teams

A development environment keeps unreleased code, test records, and sandboxed keys isolated from the live customer data and money in production.

The one-key stack

Call Claude and Gemini from the OpenAI Node.js SDK

Point the OpenAI Node.js SDK to thelastapi's gateway to call Claude and Gemini using standard chat completions, streaming, and tool calls.

AI models

An image generation API for developers: Nano Banana and GPT Image on one key

Generate and edit images using Nano Banana and GPT Image on one OpenAI-compatible key with built-in asset storage and exact per-call pricing.

Images, video and voice

Full access vs Limited API keys for AI agents

API keys for AI agents should use Limited access to let models build, test, and deploy without risking production secrets or live money.

Built for agents

Edit a live site by deploying only what changed

Deploy only the files that changed using thelastapi's content-hashed hosting, terminal CLI, MCP agent tools, or direct HTTP API calls.

Hosting and deploys

Postgres vs Firebase for a new app

Choose Postgres for relational data, standard SQL queries, and zero lock-in; choose Firebase for quick document storage with built-in client SDKs.

Postgres database

Magic link sign-in without building it yourself

Implement magic link authentication with a managed sign-in service, configurable link lifetimes, and automated session cookies without building auth code.

Sign-in

Merchant of record vs payment processor for a small SaaS

A merchant of record acts as the legal seller for your software, while a payment processor simply routes card charges through your own company entity.

Payments

Email automations: a welcome series triggered by events

Build an automated welcome email series triggered by user events, branch on user engagement, and manage delivery without third-party email tools.

Email

Collect Google Maps and Trustpilot reviews with an API

Collect reviews from Google Maps or Trustpilot with one API call using thelastapi's unified reviews action via HTTP, SDK, or the vibiz CLI.

Web data and SEO

Google Search Console data next to your analytics

Connect Google Search Console to your analytics to see clicks, impressions, and index status next to visitor traffic without separate dashboards.

Analytics and replay

Post to Instagram, TikTok and LinkedIn from one API

Publish to Instagram, TikTok, and LinkedIn in one API call with thelastapi, including per-network options, media uploads, and approval guardrails.

Phone and social

LLC vs C-Corp for a SaaS: what to think about (not legal advice)

Choose an LLC to bootstrap a SaaS with pass-through taxation, or a C-Corp to raise venture capital, issue stock options, and sell shares.

Company and domains

File uploads for your app, with permanent links

Upload files through one API and get an unguessable permanent URL back immediately, with zero bucket configuration or complex asset hosting setups.

The one-key stack

Change the base URL to call other AI models from OpenAI code

Change your OpenAI client base URL to point at an OpenAI-compatible gateway to call Claude, Gemini, and DeepSeek without rewriting code.

AI models

An image-to-video API to animate a product photo

Submit a product photo to an image-to-video job API to render smooth 720p promotional clips with permanent file storage on a single API key.

Images, video and voice

Generate images and video from Claude Code

Use AI video and image models directly from Claude Code by connecting the thelastapi MCP server or using the CLI to generate and store assets.

Built for agents

Every project gets its own web address on day one

Every project gets a free https://<slug>.vibiz.app address on day one with HTTPS included, active for as long as the project exists.

Hosting and deploys

Run database migrations safely with an AI agent

Run safe database migrations with an AI agent by using isolated development branches with schema-only clones and scoped Limited API keys.

Postgres database

OAuth callback URLs explained

An OAuth callback URL is the endpoint in your application where an identity provider redirects users with an authorization code after they sign in.

Sign-in

Payment fees explained: what a $100 sale leaves you

A $100 sale leaves you with $94.80 after a $3.20 card processing fee and a $2.00 platform fee, with zero fees when withdrawing to your bank.

Payments

Email sending limits explained: 50 a day per project, and why

thelastapi caps transactional email at 50 sends per project per UTC day to protect sender reputation, resetting daily with options for larger volume.

Email

Crawl a whole site to markdown for RAG

Crawl a website to clean markdown for RAG using thelastapi web.crawl action, with path filtering and character limits in one API call.

Web data and SEO

See the JavaScript errors your visitors actually hit

Track JavaScript errors your users hit by enabling session replay to catch front-end crashes and see exact visual snapshots of what broke.

Analytics and replay

Read social post analytics with an API

Read impressions, reach, likes, comments, shares, saves, and clicks across your connected social accounts using the thelastapi social analytics API.

Phone and social

Put app. and api. subdomains on different projects

Point subdomains like app. and api. to different projects in one command using account-level domains, with automatic HTTPS and zero manual DNS.

Company and domains

Import an OpenAPI spec and call it from your app or agent

Import an OpenAPI 3 spec using the vibiz CLI to turn any API into a secured connector your app or AI agent can call with one unified key.

The one-key stack

curl examples: chat completions with different models

Send chat completions to GPT, Claude, Gemini, and DeepSeek using curl by swapping the model parameter on one OpenAI-compatible endpoint.

AI models

Call Kling, Seedance and Veo by model id through one API

Call Kling, Seedance, Veo and other video generation models through one API and CLI, with per-call metering and permanent asset storage.

Images, video and voice

Give an agent web research tools: search, scrape and crawl

Give your AI agent web search, page scraping, and site crawling with one key using thelastapi via the CLI, Model Context Protocol, or HTTP.

Built for agents

Export your app and leave any time: code, database and env

Export app code, a Postgres database snapshot, and environment variables anytime with the vibiz CLI or API to keep backups or migrate hosts.

Hosting and deploys

Seed data in a development branch, not in production

Seed development databases safely using an isolated branch with empty tables, keeping test fixtures away from production rows.

Postgres database

Restrict sign-up to your company's email domain

Restrict sign-up to your company's email domain by setting allowed_email_domains with the CLI or API to block unauthorized user registrations.

Sign-in

Payouts: the 7-day hold and withdrawing to your bank

Live payments clear after a 7-day hold, moving from pending to available balance so you can withdraw to your bank account without payout fees.

Payments

Forward hello@yourdomain.com to the inbox you already use

Forward domain email like hello@yourdomain.com directly to Gmail using thelastapi forwarding rules, DNS verification, and zero extra subscriptions.

Email

Find businesses on Google Maps with an API

Find Google Maps business data with the places.search API. Extract names, addresses, phone numbers, websites, ratings, and hours in structured JSON.

Web data and SEO

See what a visitor saw: replay frames as screenshots

Turn session replays into static PNG screenshots at key moments like errors and rage clicks with the CLI or API to diagnose bugs fast.

Analytics and replay

Receive text messages in your app

Buy a US number, listen for the phone.message.received webhook event, and read incoming SMS segments directly in your application code.

Phone and social

What a registered agent is and why your company needs one

A registered agent is an individual or authorized entity appointed to receive official legal notices, service of process, and state mail for a business.

Company and domains

No lock-in: how to take your app elsewhere

Avoid vendor lock-in by using standard Postgres, OpenAI-compatible AI, portable env files, and full database and code exports with the vibiz CLI.

The one-key stack

Do AI API gateways log your prompts? Questions to ask first

LLM API aggregators record operational metrics for billing, but whether they store raw prompt text depends on their logging design and settings.

AI models

Combine a person and a product in one image with an API

Combine a person and a product using the AI image API by passing both photo URLs to POST /v1/ai/images/generations with image_urls and an edit prompt.

Images, video and voice

How to stop an AI agent from overspending

Stop AI agents from overspending by enforcing daily account caps, per-project AI budgets, and Limited API keys that block unapproved live spending.

Built for agents

Host a landing page that ChatGPT or Claude wrote

Host a website generated by ChatGPT or Claude using the thelastapi connector or CLI, with free vibiz.app subdomains, rollback, and custom domains.

Hosting and deploys

Use a managed Postgres database from an app hosted anywhere

You can run a managed Postgres database on thelastapi and connect to it from any server, container, or platform using a standard DATABASE_URL.

Postgres database

See who signed up: your users, without a production query

List the users of your app on thelastapi by reading your project database with a read-only key or exporting your data, without risking production writes.

Sign-in

Put your brand on the checkout page

Customize your checkout page branding with your own logo, brand colors, fonts, and border styles using the thelastapi payments API or CLI.

Payments

Give an AI agent its own email address

Give an AI agent its own email address to send and receive messages using a single CLI command, custom domain mailboxes, or REST endpoints.

Email

Get new pages indexed faster with IndexNow

IndexNow instantly notifies search engines when pages are added or updated, and thelastapi triggers it automatically after every production deploy.

Web data and SEO

Server-side event tracking from your backend

Track server-side analytics events by calling vibiz.user(userId).track() with @vibiz/app to record accurate conversions without cookies or client drops.

Analytics and replay

Reminder calls: ring someone and speak a message

Place automated reminder calls with an API using thelastapi to ring US numbers, speak text notifications, and handle call status cleanly.

Phone and social

What it costs to form a US company: state fees plus one service fee

Forming an LLC costs the state filing fee plus a single $149 service fee, with registered agent service and standard EIN filing included.

Company and domains

One env var for everything: VIBIZ_APP_KEY explained

A single environment variable, VIBIZ_APP_KEY, powers your entire backend—connecting database, sign-in, AI, email, files, payments, and analytics.

The one-key stack

Do you need separate accounts for OpenAI, Anthropic and Google?

No: an OpenAI-compatible gateway lets you call OpenAI, Anthropic, Google and over 400 models with one account, one key and unified billing.

AI models

Consistent characters with an image API

Generate consistent characters with an image API by passing reference image URLs alongside your prompt to preserve facial features and style across scenes.

Images, video and voice

Let an AI agent build and deploy a full-stack app

Give an AI agent access to thelastapi via MCP or CLI to let it provision hosting, database, sign-in, and deploy a full-stack app safely.

Built for agents

Know when your site goes down, a deploy fails or sales stop

Automate website uptime and health checks across hosting, deploys, traffic, and payments using thelastapi's built-in Mission Control.

Hosting and deploys

Use Postgres from Next.js with Drizzle or Prisma

Connect Next.js to Postgres with Drizzle or Prisma using DATABASE_URL from thelastapi, complete with isolated dev branches for safe migrations.

Postgres database

Separate development and production sign-in

Separate development and production sign-in by isolating user tables, session cookies, and allowed origins across distinct environments.

Sign-in

Refunds and disputes: how they work and what they cost

Refunds return purchase amounts while forfeiting processing fees, whereas disputes deduct the charge plus a $15 fee while the bank investigates.

Payments

Import a newsletter list from CSV, safely

Import email lists safely by running a dry run first, filtering dead domains and syntax errors, and importing only opted-in contacts.

Email

Instagram and TikTok profile and hashtag data with an API

Fetch Instagram and TikTok profiles, follower counts, and hashtag posts using the thelastapi social actions with a single API call or CLI command.

Web data and SEO

Session replay with consent first

Record session replays under GDPR by setting require_consent: true on your project and calling vibiz('replay', 'start') once visitors opt in.

Analytics and replay

Schedule social media posts with an API

Schedule social media posts across multiple networks using the thelastapi Social API, CLI commands, ISO timestamps, and built-in owner approvals.

Phone and social

Prepaid credits: how usage-based billing works here

thelastapi uses prepaid credits drawn at the exact moment of each billable call, backed by daily safety caps to protect against runaway spend.

The one-key stack

Function calling across GPT, Claude and Gemini with one API

Run function calling across GPT, Claude, and Gemini with one OpenAI-compatible endpoint, a single tools schema, and unified cost tracking.

AI models

Face swap, upscaling and background removal by model id

Run face swap, upscaling, and background removal models by model id through one OpenAI-compatible endpoint with permanent image hosting built in.

Images, video and voice

llms.txt: making your docs readable by AI agents

An llms.txt file provides clean markdown documentation for AI agents, cutting context bloat and helping coding tools inspect your APIs accurately.

Built for agents

Preview deployments and instant rollback, explained

Preview deployments build your site at an isolated URL to test changes safely, while instant rollbacks switch traffic back to a previous live version.

Hosting and deploys

Why agents should never touch production rows

AI agents should never touch production database rows to prevent privacy breaches, accidental data destruction, and unrecoverable user state changes.

Postgres database

Use your own OAuth app for Google sign-in

Use your own Google OAuth client ID and secret in thelastapi to show your company's name and branding on the Google sign-in consent screen.

Sign-in

Sell a one-time product with a hosted checkout link

Generate a hosted checkout link for a one-time digital product using the CLI, an API call, or the SDK, with no merchant account setup required.

Payments

Let an AI agent read and answer support email safely

Connect an AI agent to a support mailbox safely using scoped permissions, prompt injection safeguards, idempotency keys, and strict send caps.

Email

Keep every scrape: run history for web data calls

Every web data call automatically saves its input, output, duration, and cost to a searchable run history available via CLI, API, and console.

Web data and SEO

Where your visitors come from: sources, countries and devices

Find where your website traffic sources come from across referrers, countries, and devices without cookies or stored IPs.

Analytics and replay

Send SMS from your app: carrier approval explained

Send SMS from your app over 10DLC by completing carrier brand registration, sample message verification, and opt-out compliance.

Phone and social

Private files with signed links

Upload private files or toggle existing files to private to get signed URLs that expire after one hour, protecting assets from unauthorized access.

The one-key stack

GPT vs Claude vs Gemini API pricing per million tokens

Compare GPT, Claude, and Gemini API token pricing per million tokens across fast, balanced, reasoning, and flagship model tiers.

AI models

Generate product photos for an online store with an API

Generate AI product photos and studio backdrops with an API using thelastapi, the OpenAI SDK, and permanent image hosting in project Files.

Images, video and voice

Owner approvals: a human in the loop for agents that post, spend and file

Human-in-the-loop approvals keep AI agents productive while preventing accidental live charges, unauthorized filings, and unwanted public posts.

Built for agents

Run your app on another host with one key

Use thelastapi backend services from any external server, container, or platform by passing a single environment variable: VIBIZ_APP_KEY.

Hosting and deploys

Sell from a static site with a checkout link

To accept payments on a static website, call the checkout API from a backend route to generate a single-use hosted checkout link and redirect the buyer.

Payments

Marketing vs transactional email: which tool sends what

Transactional email delivers 1:1 action receipts; marketing email delivers 1:many broadcasts, requiring separate domains to protect deliverability.

Email

Keyword ideas with volume and difficulty from one call

Generate keyword ideas with monthly search volume, CPC, competition, and difficulty in one API call using the seo.keyword_ideas action.

Web data and SEO

Running a business with agents: what they should and should not do alone

AI agents should handle development, deploys, and data scraping alone, but humans must retain control over live money, secrets, and legal filings.

The one-key stack

How much does it cost to add GPT to a SaaS app?

Adding GPT to a SaaS app costs $0.10 to $0.50 per million tokens for standard chat, with prepaid credits and safety caps starting at $5 per day.

AI models

GPT Image vs Nano Banana: cost per image and when to use which

Nano Banana 2.1 costs about $0.034 per image while GPT-5.4 Image 2 costs about $0.04. Compare pricing, text rendering, and image editing features.

Images, video and voice

Should an AI agent hold production secrets?

AI agents should never hold production secrets. Use limited keys, isolated dev environments, and out-of-band secret links to keep live systems safe.

Built for agents

Version history for your website: see what changed and roll back

See your website deployment history, view file diffs, and roll back instantly to any past version using the CLI, console, or API.

Hosting and deploys

Sell in multiple currencies

Accept payments in 35 currencies using thelastapi by defining localized prices or checkouts that settle directly into your project USD balance.

Payments

Send a welcome email from a Next.js app

Send a welcome email from Next.js using the @vibiz/app SDK and one server-side API call, with aligned DKIM, SPF, and DMARC out of the box.

Email

Public LinkedIn company page data with an API

Fetch structured public LinkedIn company data like employee counts, industry, headquarters, and followers with one API call using thelastapi.

Web data and SEO

Stop juggling API keys: one key instead of ten services

Instead of managing separate API keys across ten vendors, you can run hosting, Postgres, auth, email, payments, and AI from a single key.

The one-key stack

How to access multiple AI models with a single API

Access GPT, Claude, Gemini, DeepSeek, and 400+ AI models using a single OpenAI-compatible API key and base URL with thelastapi.

AI models

How much does AI video generation cost per clip via API?

AI video generation via API costs $0.54 per 6-second clip ($0.09 per second) for vibiz/video, with other models billed at live rates per second.

Images, video and voice

The vibiz CLI cheat sheet: every command you will use in week one

A complete cheat sheet of every vibiz CLI command you need in week one to authenticate, configure environments, manage databases, and deploy.

Built for agents

Test payments in development without real money

Test card payments in development using test card numbers, simulated charges, and instant webhooks without real money or bank accounts.

Payments

Screenshot a web page with an API

Capture full-page or viewport website screenshots using a single API call, CLI command, or SDK method that returns clean PNG image URLs.

Web data and SEO

The cheapest stack for a side project in 2026

The cheapest tech stack for a side project in 2026 is a prepaid one-API platform with free baseline hosting, Postgres, sign-in, and analytics.

The one-key stack

How to choose a multi-model API in 2026: a checklist

A checklist for choosing a unified LLM API in 2026: exact model routing, OpenAI compatibility, transparent per-call billing, and hard spend caps.

AI models

How to use Nano Banana with an API key

You can use Nano Banana with a single API key by calling the OpenAI-compatible image endpoint at /v1/ai/images/generations or using the CLI.

Images, video and voice

Use GPT and Claude in Cursor or Cline with one key

Use GPT and Claude in Cursor, Cline, or Roo Code with one key by routing custom OpenAI requests through thelastapi gateway at thelastapi.dev/v1/ai.

Built for agents

Verify payment webhooks safely

To verify a payment webhook signature safely, compute an HMAC-SHA256 hash of the timestamp and raw body, comparing it with timing-safe equality.

Payments

See competitors' Facebook and Instagram ads from the Meta Ad Library

Query the public Meta Ad Library using thelastapi's unified API or CLI to inspect competitor ad copy, creative, dates, and active platforms.

Web data and SEO

Use just one service from an app hosted anywhere

Use any single thelastapi service from an app hosted anywhere by creating a project with only that resource and passing one secret: VIBIZ_APP_KEY.

The one-key stack

How to cut your LLM API bill: tiers, max_tokens and budgets

Cut your LLM API bill in half by routing routine tasks to cheaper model tiers, restricting max_tokens, and setting project and user spend caps.

AI models

Script, voice and video: an automated short-video pipeline with one API

Build an automated short-video pipeline generating scripts, voiceovers, and 9:16 clips using one API key, one SDK, and permanent file storage.

Images, video and voice

What is MCP, and how do you give Claude Code real tools?

MCP connects Claude Code to external tools; with thelastapi, run one command to give it hosting, databases, email, payments, and AI APIs.

Built for agents

Track how often ChatGPT and Google AI Overviews mention your brand

Track brand and domain mentions across ChatGPT and Google AI Overviews using the vibiz CLI, HTTP API, or @vibiz/app.

Web data and SEO

How to handle rate limits on LLM APIs

Avoid Claude API rate limit errors by handling Retry-After headers, managing token throughput, and configuring daily spending limits.

AI models

Where to keep AI-generated images, with permanent links

Store AI-generated images with permanent links by generating them under a project on thelastapi, where files save automatically to Files.

Images, video and voice

Which LLM API is best for agentic tool use?

For agentic tool use, Claude Sonnet 5.5 handles complex multi-step workflows while GPT-6 Luna offers fast, low-cost execution with structured JSON.

Built for agents

Track product prices from any online shop

Track product prices, stock status, and catalog metadata from any online store using the ecommerce.product action in the thelastapi web data API.

Web data and SEO

How to set spending limits across AI providers

Set spending limits across AI providers by routing calls through one gateway with account safety caps, project daily budgets, and per-user limits.

AI models

Turn a website's design system into a Tailwind theme

Run vibiz design <url> --tailwind to inspect any website's styles and generate a Tailwind v4 @theme configuration, CSS tokens, and an agent brief.

Web data and SEO

How to use Claude with the OpenAI Python SDK

Call Claude models with the OpenAI Python SDK by routing requests through thelastapi gateway at /v1/ai with your project or account API key.

AI models

Who ranks on Google for a keyword: a SERP API

Find who ranks on Google for any keyword with the seo.serp action via CLI, HTTP API, or TypeScript SDK, returning clean JSON search results.

Web data and SEO

JSON mode and structured output with any model

Use JSON mode and structured output across OpenAI, Claude, Gemini, and DeepSeek via thelastapi's unified, OpenAI-compatible AI gateway.

AI models

Kimi API access: call Moonshot AI models with an OpenAI client

Call Moonshot AI's Kimi models through an OpenAI-compatible gateway at /v1/ai using model ids like moonshotai/kimi-k3.1-pro with one key.

AI models

LangChain with a multi-model OpenAI-compatible gateway

Connect LangChain to multiple AI models using an OpenAI-compatible gateway with a single base URL, one API key, and zero model swapping.

AI models

LLM API errors explained: 429, 503 and context length

An LLM API 429 error means you exceeded a request, token, or budget limit; inspect the error details and Retry-After header to fix it.

AI models

OpenAI-compatible API for Claude and Gemini: change one base URL

Point your OpenAI client to https://thelastapi.dev/v1/ai to run Claude and Gemini models alongside GPT using one base URL and a single API key.

AI models

Per-user AI budgets: stop one user from burning your AI bill

Set per-user daily AI budgets with thelastapi by tagging requests with your user ID and configuring end_user_daily_budget_usd on your project.

AI models

Self-hosted LiteLLM vs a hosted LLM gateway for a small team

A self-hosted proxy like LiteLLM offers internal infrastructure control, while a hosted gateway eliminates multi-vendor keys, ops, and billing chores.

AI models

Streaming chat completions with server-sent events through one API

Stream chat completions from GPT, Claude, Gemini, and DeepSeek via standard Server-Sent Events through one unified OpenAI-compatible endpoint.

AI models

The cheapest LLM API for a student or school project

For a student project, the cheapest LLMs are vibiz/fast and vibiz/smart-mini at $0.10 per million input tokens, with built-in daily spending caps.

AI models

The cheapest way to use GPT and Claude through an API

Use GPT and Claude for less: pick the cheapest tier that does the job, cap max_tokens and budgets, and see the exact cost of every call.

AI models

The simplest way to switch between LLM providers in code

Switch between LLM providers in code by pointing the OpenAI SDK to an OpenAI-compatible gateway and changing only the model string.

AI models

Track AI API spend per client, project and end user

Track AI API spend per client, project and end user by attaching user identifiers, routing through scoped keys and querying grouped usage data.

AI models

Use @ai-sdk/openai with Claude, Gemini and more

Point @ai-sdk/openai to an OpenAI-compatible gateway to run Claude, Gemini, and DeepSeek models through standard AI SDK functions with one key.

AI models

Use GPT and Claude in n8n with one API key

Route GPT and Claude in n8n through a single OpenAI-compatible base URL and API key, keeping one balance and switching models per node.

AI models

Use OpenAI directly or a model gateway? A practical comparison

Compare calling OpenAI directly against using a multi-model gateway: evaluate SDK compatibility, billing overhead, model selection, and fallback risks.

AI models

Use your own Gemini API key or Google Cloud credits through a gateway

Use your Google Cloud credits or Gemini API key through an OpenAI-compatible gateway without changing your codebase or risking surprise fallbacks.

AI models

What is an AI API aggregator, and when do you need one?

An AI API aggregator routes requests to multiple AI model providers through one unified endpoint, single API key, and consolidated billing account.

AI models

Which LLM is the best value for money in 2026?

GPT-6 Luna and Claude Haiku 5.5 offer the best value for general tasks at $0.10 per million input and $0.50 per million output tokens.

AI models

Which model is cheapest for a customer support chatbot?

For a customer support chatbot, vibiz/fast (GPT-6 Luna) and vibiz/smart-mini (Claude Haiku 5.5) are cheapest at $0.10 per million input tokens.

AI models

Why your AI gateway should never swap models silently

Automatic failover in an LLM API gateway should never silently swap models because output drift, broken tool calls, and unexpected costs break production.

AI models