MINTOK
1658 CODING SCORE
LOG IN BUY PRO ($9.99)
INTEGRATION GUIDE SETUP TIME: 2 MINUTES DROP-IN OPENAI COMPATIBLE EDGE AST PRUNING

Cursor IDE + MinTok Integration

Point Cursor to MinTok's OpenAI-compatible endpoint for unlimited frontier coding.

Avoid $0.10/request Cursor Pro overages
Instant 1658 LMSYS Coding Arena score
Sub-400ms edge response latency across 300+ PoPs
Full privacy with zero source code retention
GENERATE API KEY DOWNLOAD MINTOK CLI EXPLORE ALL INTEGRATIONS →
EDGE RUNTIME ARCHITECTURE

How Cursor IDE Works with MinTok Edge

When integrating Cursor IDE with MinTok, your development workflow benefits from a two-tier edge compilation architecture. Requests originating from Cursor IDE route through MinTok's Cloudflare Edge proxy (`https://mintok.adstim.net/v1`).

Before payload transmission to the underlying reasoning models, the edge compiler validates incoming JSON schemas, isolates tool call histories, and applies Tree-sitter abstract syntax tree compaction to file reads. This ensures that Cursor IDE maintains a lightweight context footprint even during complex, 50-turn debugging sessions across enterprise repositories.

SETUP RUNBOOK

Step-by-Step Configuration

1
Open Cursor Settings (Cmd+, or Ctrl+,) and navigate to the 'Models' tab.
2
Toggle 'OpenAI API Key' to ON.
3
Enter your MinTok API key: mtk_live_your_key_here.
4
Click 'Override OpenAI Base URL' and enter: https://mintok.adstim.net/v1
5
In the model list, add 'mintok-1-max', 'mintok-1-pro', and 'mintok-1-flash'.
6
Select 'mintok-1-max' as your primary agent model.
PAYLOAD SPECIFICATION

Configuration Payload

ENDPOINT / ENVIRONMENT CONFIG
# Cursor Custom Endpoint Configuration
OPENAI_API_KEY=mtk_live_xxxxxxxxxxxxxxxxxxxx
OPENAI_BASE_URL=https://mintok.adstim.net/v1
DEFAULT_MODEL=mintok-1-max
PROJECT RULES / .cursorrules SYSTEM DIRECTIVE
# .cursorrules for MinTok
You are paired with the MinTok Inference Compiler.
When reviewing code, prioritize concise AST-level diffs.
Models available:
- mintok-1-max: Frontier complex architecture (1658 Elo)
- mintok-1-pro: Rapid feature delivery (1638 Elo)
- mintok-1-flash: Sub-second linting & tests (1615 Elo)
OPTIMAL WORKLOAD PARTITIONING

Dual-Model Strategy: Maximize Speed & Slash Unit Cost

To maximize cost efficiency and speed in Cursor IDE, we recommend a dual-model configuration:
1. Fast / Agile Tier (`mintok-1-flash`): Set as your inline autocomplete, git commit message, and test-runner summarization model. Operates at <150ms latency and $0.05/M prompt tokens.
2. Frontier / Architecture Tier (`mintok-1-max`): Set as your primary agent reasoning and multi-file refactoring model. Captures 1658 Coding Arena Elo at $0.42/M prompt tokens (6.2x cheaper than Claude Sonnet 5.5).

PRODUCTION TROUBLESHOOTING

Common Edge Cases & Resolution

Resolving Context Window Truncation

Ensure your request payload does not manually duplicate previously sent file contents. MinTok automatically handles state deduplication across turns.

Custom Proxy & Corporate Firewalls

If your corporate network intercepts SSL certificates, ensure the MinTok base URL is whitelisted: `https://mintok.adstim.net/v1`. MinTok runs on Cloudflare's global anycast network with TLS 1.3.

Streaming Response Buffer Stalls

If completions appear buffered in your terminal or IDE, ensure HTTP/2 or SSE streaming is enabled in your configuration.

Verification & Connection Test

Once configured, verify connectivity with: curl -H "Authorization: Bearer mtk_live_..." https://mintok.adstim.net/v1/models

GET PRODUCTION KEY ($9.99/MO)
FREQUENTLY ASKED QUESTIONS

Everything You Need to Know About Cursor IDE + MinTok

How long does it take to connect MinTok to Cursor IDE?

Setup typically takes under 2 minutes. You only need to set the OpenAI Base URL to `https://mintok.adstim.net/v1` and add your `mtk_live_...` API key in Cursor IDE's settings.

Are there rate limits on concurrent agent loops?

Standard plans include up to 100 requests per minute with automatic burst scaling across Cloudflare Edge PoPs.

Can I use MinTok with private corporate repositories?

Yes. MinTok enforces zero code retention. Code is processed inside secure V8 WebAssembly sandboxes and never written to disk or used for training.

What credit balance do I need to get started?

Every new account receives $10 in free testing credits, which is sufficient for over 10,000 tasks on MinTok-1-Pro.