[GH-ISSUE #1401] More AI API Servse #891

Closed
opened 2026-03-02 11:53:32 +03:00 by kerem · 8 comments
Owner

Originally created by @XJY00 on GitHub (May 14, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1401

Describe the feature you'd like

Can it support the addition of different ai service providers, such as openai, deepseek, ollma
api add

Describe the benefits this would bring to existing Karakeep users

In some countries, it is difficult to access specific company ai service networks, and personal local ollma services rely on server performance. It is effective to be able to customize ai service apis and keys

Can the goal of this request already be achieved via other means?

Add relevant custom options in the ai Settings

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

Originally created by @XJY00 on GitHub (May 14, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1401 ### Describe the feature you'd like Can it support the addition of different ai service providers, such as openai, deepseek, ollma api add ### Describe the benefits this would bring to existing Karakeep users In some countries, it is difficult to access specific company ai service networks, and personal local ollma services rely on server performance. It is effective to be able to customize ai service apis and keys ### Can the goal of this request already be achieved via other means? Add relevant custom options in the ai Settings ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### Additional context _No response_
Author
Owner

@Eragos commented on GitHub (May 17, 2025):

Hey!

I think we have some kind of already. I personally use a local ollama installation and you can adjust the OPENAI_BASE_URL OR OLLAMA_BASE_URL to use a compatible service. See documentsation

If you have different things in mind, feel free to let us know. Best with an example 😉

Best Michael

<!-- gh-comment-id:2888471526 --> @Eragos commented on GitHub (May 17, 2025): Hey! I think we have _some kind of_ already. I personally use a local ollama installation and you can adjust the `OPENAI_BASE_URL` OR `OLLAMA_BASE_URL` to use a compatible service. See [documentsation](https://docs.karakeep.app/configuration/) If you have different things in mind, feel free to let us know. Best with an example 😉 Best Michael
Author
Owner

@MohamedBassem commented on GitHub (May 17, 2025):

Adding to what @Eragos said, there's specific documentation about using other AI providers here: https://docs.karakeep.app/Guides/different-ai-providers

<!-- gh-comment-id:2888478912 --> @MohamedBassem commented on GitHub (May 17, 2025): Adding to what @Eragos said, there's specific documentation about using other AI providers here: https://docs.karakeep.app/Guides/different-ai-providers
Author
Owner

@ddpopbb3 commented on GitHub (May 18, 2025):

Thanks, I got it.
Do I have to use Openrouter to use DeepSeek?

<!-- gh-comment-id:2888890909 --> @ddpopbb3 commented on GitHub (May 18, 2025): Thanks, I got it. Do I have to use Openrouter to use DeepSeek?
Author
Owner

@MohamedBassem commented on GitHub (May 18, 2025):

@ddpopbb3 no, they support openai API: https://api-docs.deepseek.com/

<!-- gh-comment-id:2888900778 --> @MohamedBassem commented on GitHub (May 18, 2025): @ddpopbb3 no, they support openai API: https://api-docs.deepseek.com/
Author
Owner

@ddpopbb3 commented on GitHub (May 18, 2025):

@ddpopbb3 no, they support openai API: https://api-docs.deepseek.com/

Thanks, and how can I set up base_url ?

<!-- gh-comment-id:2889066644 --> @ddpopbb3 commented on GitHub (May 18, 2025): > [@ddpopbb3](https://github.com/ddpopbb3) no, they support openai API: https://api-docs.deepseek.com/ Thanks, and how can I set up base_url ?
Author
Owner

@MohamedBassem commented on GitHub (May 18, 2025):

https://api.deepseek.com

<!-- gh-comment-id:2889067033 --> @MohamedBassem commented on GitHub (May 18, 2025): `https://api.deepseek.com`
Author
Owner

@ddpopbb3 commented on GitHub (May 18, 2025):

https://api.deepseek.com

Image

I mean which parameter in .env , I just find OPENAI_API_KEY

<!-- gh-comment-id:2889067855 --> @ddpopbb3 commented on GitHub (May 18, 2025): > `https://api.deepseek.com` ![Image](https://github.com/user-attachments/assets/cf5c15a5-8a4a-41cb-8cc5-a4298936523e) I mean which parameter in .env , I just find OPENAI_API_KEY
Author
Owner

@MohamedBassem commented on GitHub (May 18, 2025):

OPENAI_BASE_URL

<!-- gh-comment-id:2889068267 --> @MohamedBassem commented on GitHub (May 18, 2025): `OPENAI_BASE_URL`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#891
No description provided.