---
title: "Discussion on \"How do you use DeepSeek V4.1 Flash and Kimi K3 in opencode through a custom OpenAI-compatible provider?\" | Hashnode"
description: "Discussion on \"How do you use DeepSeek V4.1 Flash and Kimi K3 in opencode through a custom OpenAI-compatible provider?\". One provider block in opencode.json, four exact model IDs, a sanity check from the openai package, and the fixes for the errors you are likely to hit"
url: "https://hashnode.com/posts/opencode-custom-provider-deepseek-kimi/6adfad943b9bd4b0552f3a00"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How do you use DeepSeek V4.1 Flash and Kimi K3 in opencode through a custom OpenAI-compatible provider?](https://cloudgpu.hashnode.dev/opencode-custom-provider-deepseek-kimi?utm_source=hashnode&utm_medium=feed)

One provider block in opencode.json, four exact model IDs, a sanity check from the openai package, and the fixes for the errors you are likely to hit

Oct 26 · 7 min read · cloudgpu.hashnode.dev  
Read the article

-   [#opencode](https://hashnode.com/tag/opencode)
-   [#llm](https://hashnode.com/tag/llm)
-   [#ai-tools](https://hashnode.com/tag/ai-tools)
-   [#devtools](https://hashnode.com/tag/devtools)
-   [#api](https://hashnode.com/tag/api)

## Written by

[CloudGPU](https://hashnode.com/@cloudgpu)

@cloudgpu

  
[View profile](https://hashnode.com/@cloudgpu)

GPUs by the minute + an OpenAI-compatible API on one balance

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
