Tutorials

How to Use Cline with Puter

On this page

In this tutorial, you'll learn how to connect Cline to Puter, allowing you to use your Puter account to access hundreds of AI models directly from your code editor. Cline is an AI coding assistant that lives in your editor, and since Puter exposes an OpenAI-compatible endpoint, you can use it as Cline's API provider with minimal configuration.

Prerequisites

Puter copy auth token
  • Cline installed in your editor

Step 1: Install Cline

Cline can be installed from various places, but in this tutorial we'll be using VS Code. The same principle applies to any other editor that supports Cline.

Cline website

Follow the installation instructions for your editor. Once Cline is installed, open the Cline panel from your sidebar.

Step 2: Open Cline Settings

In the Cline panel, click the settings icon to open the API configuration.

Cline settings icon

Step 3: Configure the API Provider

In the settings, you'll see an API Provider dropdown. Select OpenAI Compatible from the list.

Select OpenAI Compatible as API provider in Cline

Now fill in the following fields:

  • Base URL: https://api.puter.com/puterai/openai/v1/
  • API Key: Paste the auth token you copied from your Puter dashboard
  • Model ID: Enter the model you want to use, for example gpt-5.3-codex
Cline API configuration with Puter base URL and auth token

You can use any model supported by Puter. Some popular choices for coding tasks:

Model Model ID
GPT-5.3 Codex gpt-5.3-codex
Claude Sonnet 4.6 claude-sonnet-4-6

For the full list of available models, see the supported AI models page.

Step 4: Start Using Cline

That's it for setup. You can now use Cline as you normally would. Type a message in the Cline chat panel and it will use your selected Puter model to respond.

Cline chat working with Puter AI model

You can ask Cline to write code, explain files, fix bugs, refactor, and more, all powered by the model you selected through Puter.

Switching Models

Want to try a different model? Go back to Cline's settings and change the Model ID field. Since Puter gives you access to hundreds of models through a single endpoint, you can switch between GPT, Claude, Gemini, DeepSeek, and more without changing anything else.

Conclusion

You can use Cline with Puter by setting the API provider to OpenAI Compatible, pointing it to Puter's base URL (https://api.puter.com/puterai/openai/v1/), and using your Puter auth token as the API key. This gives you access to hundreds of AI models directly from your code editor, all through a single account.

To go further, check out the full list of supported AI models or learn more about Puter's OpenAI-compatible endpoint.

Free, Serverless AI and Cloud

Start creating powerful web applications with Puter.js in seconds!

Get Started Now

Read the Docs Try the Playground