---
title: "Hono + AI SDK"
description: "Using AI SDK with a Hono backend"
url: "https://vercel.com/templates/hono/hono-ai-sdk"
links:
  repository: "https://github.com/vercel/examples/tree/main/starter/hono-ai-sdk"
  demo: "https://hono-ai-sdk.labs.vercel.dev/"
  deploy: "https://vercel.com/new/clone?demo-title=Hono+%2B+AI+SDK&demo-description=Using+AI+SDK+with+a+Hono+backend&demo-url=https%3A%2F%2Fhono-ai-sdk.labs.vercel.dev%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2FCYbcj30ZJhtGhg8JnR2Jm%2Fb1392bfde220f41fbe806c041f01b119%2FGeist_OG_Light.jpeg&project-name=Hono+%2B+AI+SDK&repository-name=hono-ai-sdk&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fstarter%2Fhono-ai-sdk&from=templates&skippable-integrations=1"
---

# Hono + AI SDK

Using AI SDK with a Hono backend

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/framework-boilerplates/hono&template=hono)

Live Example: https://hono-ai-sdk-demo.vercel.app/

Prerequisites:

- [Vercel CLI](https://vercel.com/docs/cli) installed globally
- [AI Gateway](https://vercel.com/docs/ai-gateway#using-the-ai-gateway-with-an-api-key) key

To develop locally:

```
npm install
vc dev
```

```
open http://localhost:3000
```

To build locally:

```
npm install
vc build
```

To deploy:

```
npm install
vc deploy
```

## Related Templates

### [Hono on Vercel](https://vercel.com/templates/hono/hono-on-vercel)

Deploying an API on Vercel with Hono.

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
