Claude and GPT Tool Integration Guide
API configuration guides and support scope for Claude Code, Codex CLI, OpenCode, OpenClaw, WorkBuddy, Hermes Agent, Cursor, Cline, Cherry Studio, and CC Switch.
Enter the guide for the tool you are using. The statuses below are compiled from existing integration documentation and do not mean that all tool versions have been verified end-to-end. After a tool upgrade, please re-run the call verification on the page.
Programming Tools
Section titled “Programming Tools”Native Anthropic integration. Environment variables, configuration files, and common issues.
Calling OpenAI / GPT models via the Responses API.
Distinguishing v1 and v2 configuration, custom OpenAI-compatible providers.
OpenAI-compatible integration. First check the scope of custom keys and interface differences.
Anthropic mode is preferred; an OpenAI Compatible configuration is also provided.
Desktop Assistants
Section titled “Desktop Assistants”Adding a custom provider in a chat client.
Adding a custom address via model settings; note the full URL and protocol toggle.
More Clients and Import Methods
Section titled “More Clients and Import Methods”Importing via link or clipboard JSON, with manual fallback configuration supported.
Android provider QR code; key content is hidden by default.
Custom provider fields and model configuration.
Admin YAML endpoint and per-user independent keys.
Anthropic configuration for the VS Code extension.
One-click protocols are only for operations that the client has publicly supported. ChatWise’s open-conversation protocol is not the same as importing a key; LibreChat requires admin configuration. Do not treat all tools as having the same import link.
Agent Platforms
Section titled “Agent Platforms”Configuring a custom Anthropic provider and default Agent model.
Configuring Chat Completions via the model wizard or a named provider.
The guides for OpenCode, OpenClaw, WorkBuddy, and Hermes Agent have been checked against official configuration, but end-to-end verification on this site is not yet complete. Please check the actual version against the guide and verify the call.
Configuration Management
Section titled “Configuration Management”Managing provider configuration for Claude Code to reduce manual switching.
Other Tools Supporting Custom APIs
Section titled “Other Tools Supporting Custom APIs”First check whether the tool can set an API address, key, and model ID, then choose a configuration based on the protocol:
| Protocol supported by the tool | This site’s endpoint | Next step |
|---|---|---|
| Anthropic Messages | /v1/messages | Check whether the client automatically appends /v1; see address notes |
| OpenAI Chat Completions | /v1/chat/completions | Usually fill Base URL with https://1zheai.com/v1; except for full endpoint fields |
| OpenAI Responses | /v1/responses | Fill Base URL with https://1zheai.com/v1; see Codex CLI |
| Only supports official account login | Do not use this site’s API key | Check whether the tool has a separate custom provider setting |
How to Confirm the Configuration Succeeded
Section titled “How to Confirm the Configuration Succeeded”- Select the protocol and Base URL according to the guide; whether each tool needs
/v1is shown in the address comparison table . - Select a currently available model from supported models .
- Send one short request and check that the tool returns normally.
- Verify the corresponding call in call logs ; do not judge which provider the request went through based only on the reply content.
If you encounter a problem, first see error codes and troubleshooting . If you are writing your own program, go to the developer guide .
