<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ai-inference-now-available-in-supabase-edge-functions-4uccdylpv" -->

---
title: AI Inference now available in Supabase Edge Functions
description: Supabase Edge Functions now support AI inference with the ability to run AI models, generate embeddings using models like &#x27;gte-small&#x27;, and use Large Language...
canonical: https://daily.dev/posts/ai-inference-now-available-in-supabase-edge-functions-4uccdylpv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AI Inference now available in Supabase Edge Functions | daily.dev
og:description: Supabase Edge Functions now support AI inference with the ability to run AI models, generate embeddings using models like &#x27;gte-small&#x27;, and use Large Language...
og:url: https://daily.dev/posts/ai-inference-now-available-in-supabase-edge-functions-4uccdylpv
og:image: https://api.daily.dev/og/posts/4uccdyLpv.png
og:image:alt: AI Inference now available in Supabase Edge Functions
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.

# AI Inference now available in Supabase Edge Functions

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

## Summary

Supabase Edge Functions now support AI inference with the ability to run AI models, generate embeddings using models like 'gte-small', and use Large Language Models like 'llama2' and 'mistral' for GenAI workloads. The release introduces improvements to remove cold starts using Ort and adds LLM support using Ollama.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://supabase.com/blog/ai-inference-now-available-in-supabase-edge-functions>

---

Tags: [#ai](https://daily.dev/tags/ai), [#embeddings](https://daily.dev/tags/embeddings), [#llama](https://daily.dev/tags/llama), [#supabase](https://daily.dev/tags/supabase)

[View this post on daily.dev](https://daily.dev/posts/ai-inference-now-available-in-supabase-edge-functions-4uccdylpv)

```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":"AI Inference now available in Supabase Edge Functions","url":"https://daily.dev/posts/ai-inference-now-available-in-supabase-edge-functions-4uccdylpv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ai-inference-now-available-in-supabase-edge-functions-4uccdylpv"},"datePublished":"2024-04-16T14:43:31.526Z","dateModified":"2024-07-02T02:13:37.722Z","description":"Supabase Edge Functions now support AI inference with the ability to run AI models, generate embeddings using models like 'gte-small', and use Large Language...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4b645961c1c72d56f029f2192b182023?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4b645961c1c72d56f029f2192b182023?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Supabase","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":"Supabase","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d0aa77cfb88d44dd8e6d5cd02fdf80bd","url":"https://daily.dev/sources/supabase"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ai-inference-now-available-in-supabase-edge-functions-4uccdylpv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,embeddings,llama,supabase","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Supabase","item":"https://daily.dev/sources/supabase"},{"@type":"ListItem","position":3,"name":"AI Inference now available in Supabase Edge Functions"}]}
```

