By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: AnyLanguageModel: Unified API for Local and Cloud LLMs on Apple Platforms
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > AnyLanguageModel: Unified API for Local and Cloud LLMs on Apple Platforms
News

AnyLanguageModel: Unified API for Local and Cloud LLMs on Apple Platforms

News Room
Last updated: 2025/11/24 at 2:27 AM
News Room Published 24 November 2025
Share
AnyLanguageModel: Unified API for Local and Cloud LLMs on Apple Platforms
SHARE

Developers on Apple platforms often face a fragmented ecosystem when using language models. Local models via Core ML or MLX offer privacy and offline capabilities, while cloud services like OpenAI, Anthropic, or Google Gemini provide advanced features. AnyLanguageModel, a new Swift package, simplifies integration by offering a unified API for both local and remote models.

AnyLanguageModel works seamlessly with Apple’s Foundation Models framework, letting developers switch with minimal code changes while keeping session and response structures intact. It supports Core ML, MLX, llama.cpp/llama.swift, Ollama-hosted models, and cloud services from OpenAI, Anthropic, Google Gemini, and Hugging Face. Swift package traits enable developers to include only the backends they need, minimizing dependencies.

AnyLanguageModel also extends beyond the current capabilities of Foundation Models by supporting vision-language prompts, allowing developers to send images alongside textual queries. This includes interactions with models like Anthropic’s Claude, enabling tasks such as image description, text extraction, and visual analysis without waiting for Apple’s own framework to support these features.

Mattt, the developer behind the package, explained the reason for targeting the Foundation Models API:

Most apps use some mix of local & remote models from different providers, and it’s annoying to get them all to play nicely together. Apple’s Foundation Models provides a kind of ‘public option’ — a fallback built into all macOS and iOS devices. Since that’s available only through Foundation Models, it made sense to target that as the API for supporting other providers, too.

The library is currently pre-1.0, with ongoing development aimed at implementing tool calling, structured output generation, and performance optimizations for local inference. The accompanying demonstration application, chat-ui-swift, showcases streaming responses, chat persistence, Apple Foundation Models integration, and Hugging Face OAuth authentication. The app is intended as a starting point for developers to explore, extend, and adapt the API to their own projects.

Early community feedback has been positive. Krzysztof Zabłocki commented:

Great work, mate. I have been using it in a new project, eagerly waiting for your branch with OpenAI support for Generable to land.

AnyLanguageModel and the chat-ui-swift demo are available on GitHub, allowing developers to experiment, report issues, and contribute enhancements. The project represents a step toward reducing friction in AI application development while promoting consistent, multi-provider LLM workflows on Apple platforms.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Europe Is Bending the Knee to the US on Tech Policy Europe Is Bending the Knee to the US on Tech Policy
Next Article This overlooked Apple TV movie you probably didn’t see is one of Jennifer Lawrence’s best performances This overlooked Apple TV movie you probably didn’t see is one of Jennifer Lawrence’s best performances
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Tim Cook May Not Be Leaving Apple As Soon As You Think – BGR
Tim Cook May Not Be Leaving Apple As Soon As You Think – BGR
News
Ezra Olubi claims Paystack fired him unfairly
Ezra Olubi claims Paystack fired him unfairly
Computing
Apple gives up on Mac Pro, an iPhone designer, and MLS on the AppleInsider Podcast
Apple gives up on Mac Pro, an iPhone designer, and MLS on the AppleInsider Podcast
News
the Senate validates an ultra-sensitive amendment
the Senate validates an ultra-sensitive amendment
Mobile

You Might also Like

Tim Cook May Not Be Leaving Apple As Soon As You Think – BGR
News

Tim Cook May Not Be Leaving Apple As Soon As You Think – BGR

5 Min Read
Apple gives up on Mac Pro, an iPhone designer, and MLS on the AppleInsider Podcast
News

Apple gives up on Mac Pro, an iPhone designer, and MLS on the AppleInsider Podcast

1 Min Read
Why I regret skipping a case and screen protector for my Pixel 10 Pro
News

Why I regret skipping a case and screen protector for my Pixel 10 Pro

7 Min Read
Exact clues to instantly expose bank-emptying text set to flood phones this week
News

Exact clues to instantly expose bank-emptying text set to flood phones this week

10 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?