cohesion-org / deepseek-go
Go SDK for DeepSeek V4 API — chat, reasoning, Anthropic-compatible endpoint, tool calling, FIM, and streaming. Also supports OpenRouter, Azure, Ollama, and OpenAI-compatible providers.
Why this job: says: openai compatible

What it does
- Chat Completion. Send chat messages and receive responses from DeepSeek's V4 models with streaming support.
- Anthropic API. Full Anthropic-compatible endpoint support via NewAnthropicClient with content blocks, tool use, and streaming.
- Thinking Mode. Chain-of-thought reasoning with configurable reasoning_effort ("high" / "max").
- Tool Calling. Function calling with standard and strict mode (beta, with automatic /beta routing).
- FIM Completion. Fill-in-the-Middle completions for code generation, with streaming.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 5 months ago
- Stars
- 348
- +2 this week
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v1.4.0
- Released 5 months ago
- Built with
- Go
- 100% of the code
Is it looked after?
- Contributors
- 0
- Last 90 days
- Issues
- 98% closed
- 1 still open
- Pull requests
- 29 merged
- 2 waiting
- Releases
- 25
- 3 in the last year
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| sums001 / Deepseek-API | 354 | 11 days ago | MIT | No downloads |
| lidge-jun / opencodex | 18,334 | today | MIT | Mac, Windows, Linux |
| ajsai47 / backdoor | 302 | 5 months ago | MIT | No downloads |
More: languages, topics and project record
Languages
- Go 100%
- Makefile <1%
Topics
- ai
- api
- deepseek
- deepseek-api
- deepseek-v4
- go
- golang
- golang-library
- llm
- ollama
- openrouter
- sdk
Project record
- JobModel gateways
- StatusListed
- Commits338
- Forks35
- Watching3
- Stars in 28 days+3
- CreatedNov 29, 2024
- First seen by usNov 7, 2026
- CheckedNov 7, 2026
