SDK examples

By language and provider · API reference

You keep the provider's own SDK or plain HTTP. Switching to MyAppToken is two settings on the client: the base URL and the credential. Pick your language or provider:

All combinations

LanguageOpenAIAnthropicDeepSeek
Raw HTTPOpenAIAnthropicDeepSeek
Flutter / DartOpenAIAnthropicDeepSeek
TypeScript / React NativeOpenAIAnthropicDeepSeek
Kotlin / AndroidOpenAIAnthropicDeepSeek
Swift / iOSOpenAIAnthropicDeepSeek
PythonOpenAIAnthropicDeepSeek

Other providers (Gemini, Replicate, fal.ai) work the same way: see the guides.