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
https://api.comput3.ai/v1
API Key
string
required
Your Comput3 API key from the dashboard
c3_1234567890abcdef...
Model
string
default:"hermes4:70b"
Use any available model from Comput3 Network
hermes4:70b
hermes4:405b
deepseek-v3.1
kimi-k2
qwen3-coder:480b
qwen3-max
grok-code-fast-1
claude-sonnet-4
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:
export COMPUT3_API_KEY="your_api_key_here"
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
{
  "model": "hermes4:70b",
  "temperature": 0.2,
  "max_tokens": 2048
}
Best for: Code analysis, bug detection, optimization
{
  "model": "hermes4:405b",
  "temperature": 0.1,
  "max_tokens": 4096
}
Best for: Writing documentation, comments, explanations
{
  "model": "kimi-k2",
  "temperature": 0.3,
  "max_tokens": 1024
}

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:
curl -H "Authorization: Bearer YOUR_API_KEY" https://api.comput3.ai/v1/models
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.