1. Installation
Mote API
english
  • 简体中文
  • english
  • Platform Usage
    • Create API Key
    • How It Works
  • Installation
    • Codex CLI
    • Codex App
    • Claude Code CLI
    • Claude Code App
    • Gemini
  • API reference
    • Chat
      • Openai
        • ChatCompletions Format
        • Responses Format
      • Gemini
        • Gemini Text Chat
        • Gemini Media Recognition
      • Native Claude Format
    • Images
      • Openai
        • Generate Images
        • Edit Image
      • Qwen
        • Generate Images
        • Edit Image
      • Nano Banana
        • Gemini Native Format
        • OpenAI Chat Format
    • Videos
      • Sora
        • Create Video
        • Get video task status
        • Get video content
      • Kling
        • Kling text-to-video
        • Get Kling text-to-video task status
        • Kling image-to-video
        • Get Kling image-to-video task status
      • Jimeng
        • Jimeng video generation
      • Create video generation task
      • Get video generation task status
    • Embeddings
      • Native OpenAI format
      • Native Gemini format
    • Completions
      • Native OpenAI format
    • Audio
      • Openai
        • Audio transcription
        • Audio translation
        • Text-to-speech
      • Native Gemini format
    • Realtime
      • Native OpenAI format
    • Rerank
      • Document reranking
    • Models
      • List Model
        • Native OpenAI format
        • Native Gemini format
    • Moderations
      • Native OpenAI format
    • Unimplemented
      • Fine-tuning
        • List fine-tuning tasks (not implemented)
        • Create fine-tuning task (not implemented)
        • Get fine-tuning task details (not implemented)
        • Cancel fine-tuning task (not implemented)
        • Get fine-tuning task events (not implemented)
      • Files
        • List files (not implemented)
        • Upload file (not implemented)
        • Get file info (not implemented)
        • Delete file (not implemented)
        • Get file content (not implemented)
  • Schemas
    • Schemas
      • User
      • Log
      • Model
      • Token
      • Usage
      • PageInfo
      • Channel
      • Redemption
      • ApiResponse
      • ModelsResponse
      • ErrorResponse
      • Message
      • MessageContent
      • Tool
      • ToolCall
      • GeminiModelsResponse
      • ChatCompletionResponse
      • ChatCompletionRequest
      • ChatCompletionStreamResponse
      • CompletionRequest
      • CompletionResponse
      • ResponseFormat
      • ResponsesRequest
      • ResponsesResponse
      • ResponsesStreamResponse
      • ClaudeRequest
      • ClaudeMessage
      • ClaudeResponse
      • EmbeddingRequest
      • EmbeddingResponse
      • ImageGenerationRequest
      • ImageEditRequest
      • ImageResponse
      • AudioTranscriptionRequest
      • AudioTranslationRequest
      • AudioTranscriptionResponse
      • SpeechRequest
      • RerankRequest
      • RerankResponse
      • VideoRequest
      • ModerationRequest
      • VideoResponse
      • ModerationResponse
      • VideoTaskResponse
      • GeminiRequest
      • VideoTaskMetadata
      • VideoTaskError
      • GeminiResponse
      • OpenAIVideo
      • OpenAIVideoError
  1. Installation

Claude Code App

Claude Desktop App#

Connect to the AICodeWith service by configuring the Gateway URL, API key, and Model ID.

Claude Desktop App Configuration#

macOS / Linux#

macOS or Linux requires Git to be installed first.

Install Git#

Go to the Git official website.
On macOS, you can choose the Homebrew installation method. Some resources required during Homebrew installation are hosted overseas, so you may need to enable a TUN proxy.
image.png
Click to copy the command and run it in Terminal.
image.png
Run the installation command in Terminal:
Verify the installation:
image.png

1. Download the Claude App#

The download page requires access to the international internet.
Open https://claude.com/download to download the Claude App.
image.png

2. Enable Developer Mode#

After installation, open the Claude App. In the top-left corner of the screen, click Help -> Troubleshooting -> Enable Developer Mode, then select Enable in the pop-up.
image.png
image.png

3. Open Third-Party Inference Configuration#

The app will restart automatically. After it restarts, click Developer -> Configure Third-Party Inference in the top-left corner of the screen to open the configuration page.
image.png

4. Fill in the Gateway Base URL and Gateway API Key#

On the Connection page, enter the Gateway base URL and Gateway API key, then set Gateway auth scheme to x-api-key.
Base URL:
https://api.moteapi.com
Get an API key: Create an API Key
image.png

5. Add Models#

Model ID page: https://moteapi.com/pricing
image.png
Scroll down to the Model list section, click Add to add a model, and enter a Model ID, for example:
claude-opus-4-8
claude-4.6-sonnet-medium
claude-haiku-4-5-20251001
The display name is the name shown in the app. You can use a short name for the corresponding model.
image.png
image.png
Finally, click Apply Changes to apply the changes. When prompted to restart, select Save & Restart to save and restart the app.
image.png
image.png

6. Test#

If you receive a normal response after entering a message, the configuration was successful.
image.png

Windows#

Windows 10/11 requires Git to be installed first.
Go to the Git official website, download the installer, then follow the prompts to finish the installation.
image.png

1. Download the Claude App#

The download page requires access to the international internet.
Open https://claude.com/download to download the Claude App.
image.png

2. Install After Downloading#

After installation is complete, the app page will open automatically.
image.png

3. Enable Developer Mode#

Click the three-line menu in the top-left corner, choose Help -> Troubleshooting -> Enable Developer Mode, then select Enable in the pop-up.
image.png
image.png

4. Open Third-Party Inference Configuration#

The app will restart automatically. Then click the three-line menu in the top-left corner and choose Developer -> Configure Third-Party Inference to open the configuration page.
image.png

5. Fill in the Gateway Base URL and Gateway API Key#

On the Connection page, enter the Gateway base URL and Gateway API key, then set Gateway auth scheme to x-api-key.
Base URL:
https://api.moteapi.com
Get an API key: Create an API Key
image.png

6. Add Models#

Model ID page: https://moteapi.com/pricing
image.png
Scroll down to the Model list section, click Add to add a model, and enter a Model ID, for example:
claude-opus-4-6
claude-sonnet-4-6
Click Apply locally at the bottom, then save. The app will restart automatically and enter the usage page.
image.png

7. Test#

If you receive a normal response after entering a message, the configuration was successful.
image.png
Modified at 2026-07-13 06:58:57
Previous
Claude Code CLI
Next
Gemini
Built with