You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,7 @@ SwiftOpenAI supports various providers that are OpenAI-compatible, including but
104
104
-[Gemini](#gemini)
105
105
-[Ollama](#ollama)
106
106
-[Groq](#groq)
107
+
-[OpenRouter](#openRouter)
107
108
-[AIProxy](#aiproxy)
108
109
109
110
Check OpenAIServiceFactory for convenience initializers that you can use to provide custom URLs.
@@ -3254,6 +3255,31 @@ let service = OpenAIServiceFactory.service(apiKey: apiKey, overrideBaseURL: "htt
3254
3255
3255
3256
For Supported API's using Groq visit its [documentation](https://console.groq.com/docs/openai).
3256
3257
3258
+
## OpenRouter
3259
+
3260
+
[OpenRouter](https://openrouter.ai/docs/quick-start) provides an OpenAI-compatible completion API to 314 models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.
0 commit comments