<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/use-any-llm-through-one-swift-api-mjtshfu0n" -->

---
title: Use any LLM through one Swift API | daily.dev
description: Apple is expanding the Foundation Models Framework to support server-side LLMs like Claude and Gemini through a unified Swift API. Third-party model providers...
canonical: https://daily.dev/posts/use-any-llm-through-one-swift-api-mjtshfu0n
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Use any LLM through one Swift API | daily.dev
og:description: Apple is expanding the Foundation Models Framework to support server-side LLMs like Claude and Gemini through a unified Swift API. Third-party model providers...
og:url: https://daily.dev/posts/use-any-llm-through-one-swift-api-mjtshfu0n
og:image: https://api.daily.dev/og/posts/MJtSHFU0N.png
og:image:alt: Use any LLM through one Swift API
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.

# Use any LLM through one Swift API

**[Apple Developer](https://daily.dev/sources/appledeveloper)** · 1 min read · 1 upvotes · 0 comments

## Summary

Apple is expanding the Foundation Models Framework to support server-side LLMs like Claude and Gemini through a unified Swift API. Third-party model providers can create Swift packages conforming to a language model protocol, giving developers flexibility in choosing their AI backend. Apple is also opening access to its on-device Foundation model via Private Cloud Compute at no API cost, positioning the framework as a universal way to integrate any LLM into iOS/macOS apps.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=5DIZPo19Lt0>

---

Tags: [#ai](https://daily.dev/tags/ai), [#llm](https://daily.dev/tags/llm), [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift)

[View this post on daily.dev](https://daily.dev/posts/use-any-llm-through-one-swift-api-mjtshfu0n)

```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":"Use any LLM through one Swift API","url":"https://daily.dev/posts/use-any-llm-through-one-swift-api-mjtshfu0n","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/use-any-llm-through-one-swift-api-mjtshfu0n"},"datePublished":"2026-06-11T22:08:31.296Z","dateModified":"2026-06-11T22:08:46.480Z","description":"Apple is expanding the Foundation Models Framework to support server-side LLMs like Claude and Gemini through a unified Swift API. Third-party model providers...","image":"https://i.ytimg.com/vi/5DIZPo19Lt0/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/5DIZPo19Lt0/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Apple Developer","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":"Apple Developer","logo":"https://media.daily.dev/image/upload/s--CAtMViBl--/f_auto/v1711726806/logos/appledeveloper","url":"https://daily.dev/sources/appledeveloper"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/use-any-llm-through-one-swift-api-mjtshfu0n","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,llm,ios,swift","timeRequired":"PT1M","video":{"@type":"VideoObject","name":"Use any LLM through one Swift API","description":"Apple is expanding the Foundation Models Framework to support server-side LLMs like Claude and Gemini through a unified Swift API. Third-party model providers...","thumbnailUrl":"https://i.ytimg.com/vi/5DIZPo19Lt0/sddefault.jpg","uploadDate":"2026-06-11T22:08:31.296Z","duration":"PT1M","url":"https://api.daily.dev/r/MJtSHFU0N","embedUrl":"https://www.youtube.com/embed/5DIZPo19Lt0"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Apple Developer","item":"https://daily.dev/sources/appledeveloper"},{"@type":"ListItem","position":3,"name":"Use any LLM through one Swift API"}]}
```

