Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation how to use the OpenAI client to access DeepSeek #2120

Conversation

apappascs
Copy link
Contributor

DeepSeek has recently garnered significant attention in the global AI community. This pull request introduces comprehensive documentation and integration tests to facilitate its use with Spring AI.

@apappascs
Copy link
Contributor Author

following the examples from @tzolov on Nvidia and Groq

@apappascs
Copy link
Contributor Author

apappascs commented Jan 26, 2025

Pricing Comparison: DeepSeek vs OpenAI

DeepSeek-Chat vs GPT-4o

Feature DeepSeek-Chat GPT-4o Percentage Difference (Cheaper)
1M Input Tokens (Cache Miss) $0.14 $2.50 94.4%
1M Cached Input Tokens $0.014 $1.25 98.88%
1M Output Tokens $0.28 $10.00 97.2%

DeepSeek-Reasoner vs o1

Feature DeepSeek-Reasoner o1 Percentage Difference (Cheaper)
1M Input Tokens (Cache Miss) $0.14 $15.00 99.07%
1M Cached Input Tokens $0.55 $7.50 92.67%
1M Output Tokens $2.19 $60.00 96.35%

@markpollack markpollack self-assigned this Jan 27, 2025
@markpollack markpollack added the documentation Improvements or additions to documentation label Jan 27, 2025
@markpollack
Copy link
Member

thanks, pretty neato!

merged in bada403

@markpollack markpollack added this to the 1.0.0-M6 milestone Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants