Laravel Cloud now has a Model Gateway. It’s one key that lets an app call models from Anthropic, OpenAI, xAI, DeepSeek, Moonshot’s Kimi and other providers, with its own budget on every key and the spend on your Cloud bill. Laravel’s launch post names Opus, Sol, Grok, DeepSeek and Kimi, and the product page asks you to request early access.
I installed the Cloud CLI, which already carries the gateway’s commands, and read what it exposes. I didn’t call the gateway itself, because access is by request. Here’s what Laravel has published, what the CLI and API add, and how it stacks up against Vercel, Cloudflare and OpenRouter.
What’s new
Laravel announced the gateway during its Laravel Presents event on 1 December, US time. Until now, calling Claude or GPT from a Cloud app meant an account and an API key at every provider, plus your own way to cap spend. The gateway swaps that for a single key created in Cloud, and the usage lands on the same bill as the rest of your infrastructure.
16
providers the CLI can filter models by
4
Cloud plans that include it
0
provider keys of your own allowed
| Piece | What it does |
|---|---|
| One key | Create a key, attach it to an environment, and Cloud injects it as a variable on the next deploy |
| Request formats | Call each model in its provider’s own format or in OpenResponses. The REST API takes OpenAI Chat Completions and Anthropic Messages |
| Laravel AI SDK | Point the SDK at the gateway and call any model from your Laravel app |
| Budgets | A cap on every key, so production, staging and previews each spend within their own limit |
| One wallet | AI credits on your Cloud account with a central spending limit and optional auto top-up |
| Request logs | Model, tokens in and out, duration and status for every call, without the prompt or the reply |
| Plans | Every Cloud plan, from Starter to Enterprise |
How it works
You add the gateway from the app canvas, and Cloud creates a key and injects it into the environment as a variable on the next deploy. From there you call a model in its provider’s own request format, or in OpenResponses if you want wider compatibility. Laravel says the AI SDK needs nothing else configured, and its page shows an agent call tagged as going via the gateway.

The CLI gives you the same controls from a terminal. Creating a key takes a name, an access level and a budget in dollars, and a flag saves the key to your project’s env file as LARAVEL_CLOUD_MODEL_GATEWAY_API_KEY. The model list filters by provider and by API format, and the CLI names sixteen providers: AI21, Amazon, Anthropic, Cohere, DeepSeek, Google, Meta, MiniMax, Mistral, Moonshot, Nvidia, OpenAI, Qwen, Writer, xAI and Z.ai. A model’s detail view returns its ID and the endpoint to call it with.
Budgets and credits
Every key can carry its own budget, and Laravel calls the budgets hard caps. In the API a budget is the most a key can spend in a billing period, in cents. Once a key reaches it, the gateway rejects that key until the next billing period or until you raise or remove the budget. Your other keys keep working, which is the reason to give production, staging and each preview environment a key of its own.

Spend comes out of AI credits on your Cloud account. That wallet only pays for the gateway. It has one central spending limit that covers every key, and you can set it to top up automatically or let requests stop when the credits run out. New accounts start with smaller limits that grow with their history, and verifying your identity raises them sooner.
Keys
A key is either internal, accepted only from environments on Laravel Cloud, or external, accepted from anywhere. The CLI defaults to external. You can rotate a key or revoke it, and revoking detaches it from every environment and can’t be undone.

You can’t bring your own provider key. The gateway runs on Laravel’s provider accounts, which is why you don’t need any of your own. On data, Laravel says it doesn’t store prompts or completions and requests zero data retention from providers. The request log keeps the model, tokens in and out, duration and status for each call, and leaves out the prompt and the reply.
What I ran
I installed version 0.8.3 of the Cloud CLI from npm and listed its commands. The gateway has three groups: credits, logs, metrics and top-up for the wallet; create, get, list, revoke and update for keys; and get and list for models. With no account attached, the model list answers with an authentication error that points at the LARAVEL_CLOUD_TOKEN variable. The Composer package for the CLI is marked abandoned in favour of the npm one.

Check it yourself
These show the same command surface on any machine with Node.
npm install @laravel/cloud-cli
npx cloud --help
npx cloud model-gateway-key:create --help
npx cloud model-gateway-model:list --json -n
The peers
One key in front of many model providers isn’t new. Vercel, Cloudflare and OpenRouter all sell a version of it, and they differ mostly in what they charge and what they let you bring. I’ve covered Cloudflare’s gateway before.
| Gateway | What it charges | Your own provider keys |
|---|---|---|
| Laravel Model Gateway | AI credits. The page publishes no per-token rates | Not supported |
| Vercel AI Gateway | Provider list price, no markup and no platform fee on tokens | Supported on the paid tier, no gateway fee |
| Cloudflare AI Gateway | No markup on inference, and a 5% fee on credits bought through Unified Billing | Supported |
| OpenRouter | No markup on inference, and a 5.5% fee on credits on the Standard plan or 8% on Business | Free up to a monthly allowance, then a 5% fee |
Budgets are where the comparison gets interesting. Laravel calls its caps hard. Vercel’s own comparison page says its budgets are checked at the start of a request, so a request that crosses the limit can finish. I haven’t been able to test how Laravel enforces its caps, so that difference is worth checking once you have access.
What it means
The Laravel AI SDK reached version 1.0 in September and has since gained runtime providers, so an app can build one from a tenant’s own key, along with support for any OpenAI-compatible provider. The gateway is the hosting half of that. The SDK picks the model, and Cloud supplies the key and the cap. I built a set of small Laravel AI SDK apps in my piece on free ChatGPT API credits, and that’s the kind of app a per-environment key suits.
For a team already on Cloud, this removes a chore: one place to create keys, one credit balance, one bill, and a limit per environment so a runaway preview can’t eat into production’s budget. The limits are just as plain. You can only use Laravel’s provider accounts, so any discount or commitment you hold with a provider doesn’t carry over. The product page doesn’t publish per-token prices, so you can’t compare the cost with going direct until you have access. And access today is a request form.
It’s also one of several Cloud announcements this week. Cloud now runs Rails, Django, Go and Rust apps, and Taylor Otwell’s Laravel for Rust arrived the same day. Coding agents get an MCP server for coding agents.




