<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/introducing-convex-ai-gateway-get-to-the-model-call-jqblbys4w" -->

---
title: Introducing Convex AI Gateway: get to the model call
description: Convex has launched AI Gateway, a service that lets developers call hundreds of AI models directly from their Convex apps without creating provider accounts,...
canonical: https://daily.dev/posts/introducing-convex-ai-gateway-get-to-the-model-call-jqblbys4w
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Introducing Convex AI Gateway: get to the model call | daily.dev
og:description: Convex has launched AI Gateway, a service that lets developers call hundreds of AI models directly from their Convex apps without creating provider accounts,...
og:url: https://daily.dev/posts/introducing-convex-ai-gateway-get-to-the-model-call-jqblbys4w
og:image: https://api.daily.dev/og/posts/JQbLbYS4W.png
og:image:alt: Introducing Convex AI Gateway: get to the model call
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing Convex AI Gateway: get to the model call

**[Convex](https://daily.dev/sources/convex)** · 5 min read · 0 upvotes · 0 comments

## Summary

Convex has launched AI Gateway, a service that lets developers call hundreds of AI models directly from their Convex apps without creating provider accounts, managing API keys, or setting up separate billing. It works with the Vercel AI SDK, the OpenAI SDK, and the Convex Agent Component, supports text generation, embeddings, and evaluation, and bills usage at the same rates as OpenRouter with no markup. Usage is tracked per project, deployment, and function on the Convex dashboard, and spend counts toward existing team spending limits. AI Gateway is available now on all paid Convex plans, including Starter.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://news.convex.dev/introducing-convex-ai-gateway>

## Questions this post answers

### How do I call an AI model from a Convex app without managing my own API keys?

Install the @convex-dev/ai-sdk-provider package alongside the ai package, then use convexGateway("provider/model-name") as the model in generateText, generateObject, streamText, embed, or evaluate calls from a Convex action. Convex issues a short-lived credential scoped to the deployment, so no OpenAI or Anthropic account or API key needs to be created or stored.

_daily.dev surfaces integration guides like this for developers wiring AI calls into their backend._

### Does Convex AI Gateway charge extra fees on top of model provider pricing?

No, Convex charges the same model rates as OpenRouter with no additional gateway markup. AI Gateway usage shows up as a separate line item on the Convex invoice, and spend can be tracked by project, deployment, and function in the dashboard's Usage page, then counted toward a team's existing spending limits.

_Developers comparing AI gateway pricing options can track cost breakdowns like this on daily.dev._

### Which SDKs and APIs work with Convex AI Gateway?

Convex AI Gateway supports the Vercel AI SDK (generateText, generateObject, streamText, embed, evaluate), the OpenAI SDK by pointing its baseURL at the gateway, the Convex Agent Component, and both OpenAI Responses and Anthropic Messages APIs through the AI SDK. Image and video model support is planned but not yet available.

_daily.dev helps developers evaluating AI SDK compatibility keep up with gateway integrations like this._

## Similar posts on daily.dev

- [AI Gateway is now available on AWS Marketplace](https://daily.dev/posts/ai-gateway-is-now-available-on-aws-marketplace-ymud3btwh) · Vercel · 1 upvotes · 1 comments
- [Having Fun with Vercel’s AI SDK and AI Gateway – Master.dev Blog](https://daily.dev/posts/having-fun-with-vercel-s-ai-sdk-and-ai-gateway-master-dev-blog-wa1cxmlb1) · Frontend Masters · 0 upvotes · 0 comments
- [Use AI Gateway with Clawdbot](https://daily.dev/posts/use-ai-gateway-with-clawdbot-qszis99sm) · Vercel · 2 upvotes · 0 comments

---

Tags: [#ai-gateway](https://daily.dev/tags/ai-gateway), [#ai-sdk](https://daily.dev/tags/ai-sdk), [#convex](https://daily.dev/tags/convex), [#vector-search](https://daily.dev/tags/vector-search)

[View this post on daily.dev](https://daily.dev/posts/introducing-convex-ai-gateway-get-to-the-model-call-jqblbys4w)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Introducing Convex AI Gateway: get to the model call","url":"https://daily.dev/posts/introducing-convex-ai-gateway-get-to-the-model-call-jqblbys4w","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/introducing-convex-ai-gateway-get-to-the-model-call-jqblbys4w"},"datePublished":"2026-09-21T17:51:24.226Z","dateModified":"2026-10-15T02:22:42.449Z","description":"Convex has launched AI Gateway, a service that lets developers call hundreds of AI models directly from their Convex apps without creating provider accounts,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/483809fdcd1e1251ea216ea231e1ad51?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/483809fdcd1e1251ea216ea231e1ad51?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Convex","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Convex","logo":"https://media.daily.dev/image/upload/s--Idacs64S--/f_auto/v1749712913/logos/convex","url":"https://daily.dev/sources/convex"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/introducing-convex-ai-gateway-get-to-the-model-call-jqblbys4w","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-gateway,ai-sdk,convex,vector-search","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Convex","item":"https://daily.dev/sources/convex"},{"@type":"ListItem","position":3,"name":"Introducing Convex AI Gateway: get to the model call"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/introducing-convex-ai-gateway-get-to-the-model-call-jqblbys4w#faq","mainEntity":[{"@type":"Question","name":"How do I call an AI model from a Convex app without managing my own API keys?","acceptedAnswer":{"@type":"Answer","text":"Install the @convex-dev/ai-sdk-provider package alongside the ai package, then use convexGateway(\"provider/model-name\") as the model in generateText, generateObject, streamText, embed, or evaluate calls from a Convex action. Convex issues a short-lived credential scoped to the deployment, so no OpenAI or Anthropic account or API key needs to be created or stored. daily.dev surfaces integration guides like this for developers wiring AI calls into their backend."}},{"@type":"Question","name":"Does Convex AI Gateway charge extra fees on top of model provider pricing?","acceptedAnswer":{"@type":"Answer","text":"No, Convex charges the same model rates as OpenRouter with no additional gateway markup. AI Gateway usage shows up as a separate line item on the Convex invoice, and spend can be tracked by project, deployment, and function in the dashboard's Usage page, then counted toward a team's existing spending limits. Developers comparing AI gateway pricing options can track cost breakdowns like this on daily.dev."}},{"@type":"Question","name":"Which SDKs and APIs work with Convex AI Gateway?","acceptedAnswer":{"@type":"Answer","text":"Convex AI Gateway supports the Vercel AI SDK (generateText, generateObject, streamText, embed, evaluate), the OpenAI SDK by pointing its baseURL at the gateway, the Convex Agent Component, and both OpenAI Responses and Anthropic Messages APIs through the AI SDK. Image and video model support is planned but not yet available. daily.dev helps developers evaluating AI SDK compatibility keep up with gateway integrations like this."}}]}
```

