Skip to main content
Configure Cursor to use the Comput3 Network API for enhanced AI coding assistance. This guide shows how to set up Cursor with Comput3’s distributed GPU infrastructure for faster and more powerful AI responses.

Prerequisites

Configuration Steps

1

Open Cursor Settings

Open Cursor and navigate to SettingsGeneralModels
Cursor settings panel showing model configuration
2

Add Custom OpenAI API

  1. Click “Add model” or “Override OpenAI Base URL”
  2. Configure the following settings:
API Base URL
string
required
API Key
string
required
Your Comput3 API key from the dashboard
Model
string
default:"hermes4:70b"
Use any available model from Comput3 Network
Keep your API key secure and never commit it to version control.
3

Test the Configuration

  1. Open any code file in Cursor
  2. Press Cmd+K (macOS) or Ctrl+K (Windows/Linux) to open the AI chat
  3. Ask a coding question to test the connection
You should see responses powered by Comput3’s GPU infrastructure.

Advanced Configuration

For team projects, use environment variables to manage API keys securely:
Add to your ~/.bashrc, ~/.zshrc, or ~/.profile:
Then restart your terminal and Cursor will automatically use this key.

Custom Model Configuration

Configure specific models for different use cases:
Best for: Writing new code, implementing features
Best for: Code analysis, bug detection, optimization
Best for: Writing documentation, comments, explanations

Troubleshooting

Error: “Failed to connect to API”Solutions:
  • Verify your API key is correct and active
  • Check if your firewall allows HTTPS connections
  • Ensure the base URL is exactly: https://api.comput3.ai/v1
Test your API key with a simple curl request first:
Error: “Invalid API key” or “Unauthorized”Solutions:
  • Double-check your API key from the Comput3 dashboard
  • Ensure there are no extra spaces or characters
  • Verify your account has sufficient credits
API keys are case-sensitive and must be copied exactly.
Error: “Rate limit exceeded”Solutions:
  • Wait for the rate limit window to reset
  • Consider upgrading your Comput3 plan
  • Implement request queuing in your workflow
Check your current rate limits in the Comput3 Dashboard.

Benefits of Using Comput3

Faster Response Times

Distributed GPU infrastructure provides significantly faster AI responses compared to standard APIs.

Cost Effective

Competitive pricing with transparent per-token billing and no hidden fees.

High Availability

99.9% uptime with automatic failover across multiple GPU clusters.

Privacy Focused

Your code never leaves the secure Comput3 network infrastructure.