---
title: "Discussion on \"How to use Surplus AI Api keys in Claude Code ?\" | Hashnode"
description: "Discussion on \"How to use Surplus AI Api keys in Claude Code ?\". Anthropic is very strict about it's harness , It does not allow OpenAI compatible API keys to get used within itself.To use the openAi compatible API keys with the claude code you need to use a proxy."
url: "https://hashnode.com/posts/how-to-use-surplus-ai-api-keys-in-claude-code/6a34fe65ec117cdb4a64fa91"
---

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

Discussion

# [How to use Surplus AI Api keys in Claude Code ?](https://shikkhar.hashnode.dev/how-to-use-surplus-ai-api-keys-in-claude-code?utm_source=hashnode&utm_medium=feed)

Anthropic is very strict about it's harness , It does not allow OpenAI compatible API keys to get used within itself.To use the openAi compatible API keys with the claude code you need to use a proxy.

Jun 19 · 4 min read · shikkhar.hashnode.dev  
Read the article

## Written by

[Shikhar Pratap Verma](https://hashnode.com/@shikkhar)

@shikkhar · Uttar Pradesh, India

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

Explaining like you are a 10y/o 😊.

My name is Shikhar from India , got introduced with WEB3.0 in Jan22 &amp; instantly became enthusiast of it . Starting Hashnode to simplify the hard concepts and topics . Tech lover from a Commerce background , love to connect and help peoples to get into Web3.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
