Top
Best
New

Posted by MehrdadKhnzd 15 hours ago

Apple Foundation Models(platform.claude.com)
421 points | 196 commentspage 2
theopsimist 5 hours ago|
Is this included in the free AI tier for small developers? Big news if so
_pdp_ 11 hours ago||
From app developer standpoint why would anyone ship claude keys like that ... or am I missing something? From consumer standpoint - I guess they can use their own keys but it is not something that is very user friendly as you can imagine.
nl 11 hours ago||
it says:

Proxy (production)

For production, route requests through your own back end with .proxied. The relay at baseURL adds the Claude API credential server-side, so the app ships no key. The headers you provide are sent on every request so your proxy can authorize the caller.

https://platform.claude.com/docs/en/cli-sdks-libraries/libra...

cush 4 hours ago||
Since Claude is technically a subscription, Apple will slowly weasel their way into skimming 30% of the token spend
hmokiguess 4 hours ago|
How does it work now though? There is a Claude app on iOS
mark_l_watson 7 hours ago||
I think Apple has a fairly good plan for supplying a common API and default on device models.

What confuses me about this article is: The code examples Python, Ruby, etc.) look to me like the original Anthropic APIs, not Apple’s abstraction. Did I miss something?

ryanshrott 5 hours ago||
Shared daemon is the only way this makes sense on-device. A 3B model at 4-bit is roughly 2GB - three apps loading their own copies would eat an 8GB phone.
_josh_meyer_ 13 hours ago||
the github repo: https://github.com/anthropics/ClaudeForFoundationModels
pgt 9 hours ago||
I’m surprised to see the model names hardcoded as an enum (e.g. `.sonnet4_6`), instead of a string with model discovery so that the user can select their preferred model without having to get a new app version through the App Store to support newer models.
klausa 9 hours ago|
>Model identifiers are values of ClaudeModel. Use a compiled-in constant, or construct one with explicit capabilities for an ID that isn't compiled in yet (see Capabilities):

Special emphasis on the "isn't compiled in yet" and "or construct one" bit.

Traster 11 hours ago||
This seems smart. Apple, despite not really leading in AI themselves, are right on the hot path of where developers are going to yolo slop into the ecosystem. Make a tonne of sense to define a nice clean API that places like Anthropic can build on top of and expose to developers.

It's also smart for them to make sure the billing is going direct from Anthropic to the developer. The initial thought is "That means Apple's not taking a cut", but from the other side of it, developers who use this API are going to have to expose that cost to customers somehow, and that translates to subscription/InAppPurchase etc. on top of which Apple will get it's 30%.

me551ah 11 hours ago||
So where does the api key reside? You can’t ship it on the iOS client since anyone can read and abuse it
laxmansharma 10 hours ago||
https://platform.claude.com/docs/en/cli-sdks-libraries/libra...
yilugurlu 9 hours ago||
it says put into your API layer and proxy it.
hedora 5 hours ago||
Isn’t that a privacy and compliance nightmare?
21-DOT-DEV 11 hours ago|
> Usage is billed to your Anthropic account at standard API pricing.

While expected, it’s still a bummer.

isoprophlex 9 hours ago|
The pricing squeezes will continue until token spend improves!
More comments...