Daily completions
25M input + 10M output tokens / month
Terra or Sonnet in Cursor chat
- Official (GPT-5.6 Terra)
- $212.50/mo
- LumeAPI
- $63.75/mo
- Monthly savings
- $148.7570% off
Vibe coding API
Point Cursor, Windsurf, Cline, and other OpenAI-compatible IDEs at LumeAPI — keep your flow, swap base URL and model id, cut completion spend on GPT and Claude tiers.
Tab autocomplete may still use the IDE vendor backend; chat and agent panels route through your custom OpenAI-compatible endpoint when configured.
Official reference vs LumeAPI catalog rates. Pricing unit: per 1M input / output tokens. Last updated: 2026-07-22. Source: provider list price.
| Model | Official (in / out) | LumeAPI (in / out) | Savings | |
|---|---|---|---|---|
| GPT-5.6 Solgpt-5.6-sol | $5.00 / $30.00 | $1.50 / $9.00 | 70% off | Details → |
| GPT-5.6 Terragpt-5.6-terra | $2.50 / $15.00 | $0.75 / $4.50 | 70% off | Details → |
| GPT-5.5gpt-5.5 | $5.00 / $30.00 | $1.50 / $9.00 | 70% off | Details → |
| GPT-5.4gpt-5.4 | $2.50 / $15.00 | $0.75 / $4.50 | 70% off | Details → |
| Claude Fable 5claude-fable-5 | $10.00 / $50.00 | $5.00 / $25.00 | 50% off | Details → |
| Claude Opus 4.8claude-opus-4-8 | $5.00 / $25.00 | $2.50 / $12.50 | 50% off | Details → |
| Claude Opus 4.7claude-opus-4-7 | $5.00 / $25.00 | $2.50 / $12.50 | 50% off | Details → |
| Claude Sonnet 4.6claude-sonnet-4-6 | $3.00 / $15.00 | $1.50 / $7.50 | 50% off | Details → |
| Gemini 3.1 Progemini-3.1-pro-preview | $2.00 / $12.00 | $1.00 / $6.00 | 50% off | Details → |
| GPT-5.4 minigpt-5.4-mini | $0.75 / $4.50 | $0.225 / $1.35 | 70% off | Details → |
| Gemini 3.5 Flashgemini-3.5-flash | $1.50 / $9.00 | $0.75 / $4.50 | 50% off | Details → |
| Gemini 3 Flashgemini-3-flash | $0.50 / $3.00 | $0.25 / $1.50 | 50% off | Details → |
Illustrative totals for gpt-5.6-terra using catalog list prices — your actual bill depends on retries, tool loops, and output length.
25M input + 10M output tokens / month
Terra or Sonnet in Cursor chat
80M input + 35M output tokens / month
Multi-file agent loops
Last verified: 2026-07-25
LumeAPI gives coding tools one OpenAI-compatible Chat Completions endpoint: https://api.lumeapi.site/v1. Your IDE sends a Bearer API key from the LumeAPI Console, selects an exact catalog model id, and receives standard chat-completion responses. That makes it practical to use one gateway across GPT, Claude, and Gemini model tiers without maintaining separate provider credentials and endpoint formats.
For vibe coding, separate the work that needs a full agent or chat session from the work that needs low-latency editor-native completion. Planning a feature, tracing an unfamiliar code path, reviewing a diff, generating tests, and running a multi-step coding agent are all chat-oriented tasks. Those are the workflows OpenAI-compatible IDE integrations can usually send through a custom base URL.
The important implementation detail is the base URL boundary. Configure https://api.lumeapi.site/v1 as the base URL only. Do not add /chat/completions to that value: OpenAI-compatible SDKs and IDE clients append the Chat Completions path themselves. A duplicated path is one of the most common causes of avoidable integration failures.
Treat model ids as production configuration, not friendly labels. Use exact catalog strings such as gpt-5.6-terra, claude-sonnet-4-6, gpt-5.4-mini, gpt-5.6-sol, or gemini-3.5-flash. Start with a small approved model set for each repository so developers can make intentional tradeoffs between cost, response quality, and the amount of context an agent is asked to process.
LumeAPI is independent and is not OpenAI, Anthropic, or Google.
Last verified: 2026-07-25
Cursor can use a custom OpenAI-compatible endpoint for its chat and plan panel. Configure the endpoint once, then add only the catalog models your team intends to use.
Use Cursor’s custom endpoint for the workflows it actually routes through that endpoint; do not present tab completion coverage as guaranteed.
Last verified: 2026-07-25
Use this matrix to decide where LumeAPI belongs in a developer’s daily loop. The integration target is OpenAI-compatible Chat Completions at https://api.lumeapi.site/v1.
| Tool | Verified configuration path | LumeAPI configuration | Best fit | Known boundary |
|---|---|---|---|---|
| Cursor | Settings → Models → Override OpenAI Base URL | Base URL https://api.lumeapi.site/v1; enter key in OpenAI API Key; add exact model ids manually | Chat and Plan panel, including Ctrl+L workflows | Tab autocomplete and Cmd+K inline edit often remain on the Cursor vendor backend; some builds require Pro for custom API |
| Windsurf | Settings search AI/API, or config JSON ai.baseUrl and ai.provider | Set ai.provider to openai-compatible and ai.baseUrl to https://api.lumeapi.site/v1 with no trailing slash | Chat-style coding workflows where the build exposes an OpenAI-compatible provider | Native BYOK can be Anthropic-only in some builds; use Roo Code with its OpenAI Compatible provider when that occurs |
| Cline | VS Code extension → OpenAI Compatible provider → Base URL + API key | Set Base URL to https://api.lumeapi.site/v1 and provide the LumeAPI Console key | Agentic repository tasks, terminal-assisted implementation, and review loops | Use exact model ids rather than provider display names |
| Continue | config.json openai apiBase field | Set openai apiBase to https://api.lumeapi.site/v1 and select a LumeAPI catalog model | Configured chat, edit, and codebase-assistance workflows supported by the installed Continue setup | Keep the API base at /v1 only; the client constructs the Chat Completions request path |
Configuration availability can vary by IDE version, extension version, and plan. Validate the actual request path before standardizing an organization-wide setup.
Last verified: 2026-07-25
import os
from openai import OpenAI
# Set LUMEAPI_API_KEY in your shell or secrets manager before running.
client = OpenAI(
api_key=os.environ["LUMEAPI_API_KEY"],
# Keep this at /v1. The SDK adds /chat/completions.
base_url="https://api.lumeapi.site/v1",
)
response = client.chat.completions.create(
model="gpt-5.6-terra",
messages=[
{
"role": "user",
"content": "Reply with a one-sentence confirmation that Chat Completions is working."
}
],
)
print(response.choices[0].message.content)
Install an OpenAI-compatible Python client in your project environment and export LUMEAPI_API_KEY from a secure local secret source. Do not commit API keys to repository configuration.
Last verified: 2026-07-25
Use a repeatable rollout process. The goal is not to make every IDE behave identically; it is to make base URL, credential handling, model ids, and verification consistent.
A single base URL does not mean identical IDE behavior. Each IDE decides which features use its configurable chat provider and which stay on its own backend.
Last verified: 2026-07-25
Vibe coding costs are driven less by a single completion than by repeated context transfer. Agents read repository files, tool output, tests, diffs, and earlier conversation turns. Output tokens matter when an agent produces a large patch or detailed review, but input volume usually grows first as developers ask the tool to understand more of a codebase.
LumeAPI’s catalog makes a tiered policy practical. gpt-5.4-mini is priced at $0.225 input and $1.35 output versus an official listed rate of $0.75 and $4.50. gpt-5.6-terra is $0.75 and $4.50 versus $2.50 and $15.00. For a higher-cost review lane, claude-sonnet-4-6 is $1.50 and $7.50 versus $3.00 and $15.00. These comparisons show why teams should reserve premium reasoning models for decisions that benefit from them rather than selecting one expensive default for every prompt.
Use gpt-5.4-mini or gemini-3-flash for narrow tasks: explain an error, draft a unit test outline, rename a local abstraction, or summarize a focused diff. Move to gpt-5.6-terra when the task spans multiple files and requires implementation judgment. Use claude-sonnet-4-6, gpt-5.6-sol, or gemini-3.1-pro-preview for consequential design reviews, difficult migrations, and prompts where an incomplete answer creates costly rework.
The best cost control is prompt scope. Ask an agent to inspect named files and answer a bounded question before granting it the entire repository problem. Require a plan before a large edit, ask for a diff-oriented implementation, and run tests after each meaningful change. This reduces unnecessary context growth while making the human review point explicit.
Catalog pricing was updated 2026-07-22. Listed figures are input/output catalog rates and should be checked against current Console pricing before setting budgets.
Last verified: 2026-07-25
An OpenAI-compatible endpoint solves protocol compatibility, not every feature difference between coding products. IDE vendors can use proprietary services for inline completion, edit prediction, indexing, tool execution, account checks, or background requests. Cursor is the clearest example: its custom URL applies to Chat and Plan usage, while tab autocomplete and Cmd+K inline editing often do not use that endpoint.
Make that limitation part of the product decision. If your requirement is provider-controlled chat and agent traffic, validate those exact flows. If your requirement is provider-controlled tab completion, confirm it in the specific IDE build with network evidence before committing to a rollout. Do not infer coverage from the presence of a base URL field.
Keep production safeguards close to the developer workflow. Require review for generated changes, run tests before accepting edits, and prevent secrets, customer data, and production credentials from being placed into prompts unless your organization has approved that handling. An agent can produce a convincing patch that compiles while still violating an architectural boundary or changing behavior outside the requested scope.
Finally, keep troubleshooting boring. Test the LumeAPI endpoint directly with a small Chat Completions call, then test one IDE integration, then test one model at a time. When a request fails, compare the configured base URL, Bearer key source, exact model id, and request path before changing several variables at once. That sequence finds configuration drift faster than repeatedly reinstalling extensions or switching providers.
For Cursor connection issues, the verified fallback setting is Settings → Network → HTTP Compatibility Mode HTTP/1.1.
Vibe coding spend concentrates in chat and agent panels where you set a custom OpenAI base URL. Tab autocomplete in some IDEs still uses the vendor backend — budget around completions you route to LumeAPI.
Start with gpt-5.6-terra or claude-sonnet-4-6 for daily work; drop to gpt-5.4-mini for boilerplate. Escalate to Sol or Opus only when evals on your repo fail on cheaper tiers.
The step-by-step Cursor, Windsurf, and Cline checklists on this page were verified against 2026 IDE documentation patterns.
LumeAPI is designed for developers who want to integrate without scheduling demos. Create an account, confirm your email, and open Console to generate an API key. Fund your USD wallet with USDT on supported chains when you are ready for billable traffic—there is no mandatory minimum beyond what your tests require.
Point your OpenAI-compatible client at https://api.lumeapi.site/v1, set Authorization to Bearer your key, and pass a catalog model id in the model field. Run a short curl or SDK script from /docs to verify latency, streaming, and error handling before you attach the key to production services.
Use Usage logs to reconcile per-call cost with finance forecasts. When a model tier is too expensive or quality is insufficient, change model id—not your entire integration. For cross-provider price tables and Research deep dives, follow internal links on this page rather than duplicating migration math here.
Every catalog model has a detail page under /models with official reference pricing, LumeAPI pricing, and links to /docs/models/{id} for parameters and curl examples. Start there when this commercial page points you to a model id you have not called before.
The /docs index lists gateway authentication, Chat Completions, image endpoints, and async video patterns. llms.txt bundles the same information for agent tooling—useful when you want a single URL to paste into Cursor or an internal bot.
Research articles explain why bills grow and how to compare providers; commercial pages like this one explain what LumeAPI offers and how to start. Follow internal links instead of searching for duplicate migration content across pages.
If billing, chain deposits, or integration behavior is unclear, use /contact for support channels. Include your model id, approximate request time, and whether the issue is authentication, balance, or model parameters—that speeds up resolution.
A single API key calls GPT, Claude, Gemini, and more on one USD wallet — no separate vendor accounts per provider.
Published catalog rates undercut official list pricing. GPT tiers up to ~70% off; Claude and Gemini 50% off official reference.
Model capacity is sourced through major providers’ authorized application channels — recognizable catalog ids, not opaque repackaged endpoints.
Every call records model id, token counts, latency, and exact USD cost. Audit any line item in Console — usage and price are traceable.
Point Cursor, SDKs, and agents at one base URL. Change API key, base URL, and model id — keep your existing integration shape.
Chat, image generation, and async video on the same key and wallet when you outgrow text-only workloads.
Three values change: API key, base URL, model id. Everything else stays the same.
from openai import OpenAI
client = OpenAI(api_key="YOUR_OPENAI_API_KEY")
response = client.chat.completions.create(
model="gpt-5.6-terra",
messages=[{"role": "user", "content": "Hello"}],
)from openai import OpenAI
client = OpenAI(
api_key="YOUR_LUMEAPI_KEY",
base_url="https://api.lumeapi.site/v1",
)
response = client.chat.completions.create(
model="gpt-5.6-terra",
messages=[{"role": "user", "content": "Hello"}],
)Full step-by-step rollout, streaming checks, and FAQ: Cheapest LLM API 2026 guide →
API key, base URL (https://api.lumeapi.site/v1), and model id to a LumeAPI catalog entry. Message shape stays OpenAI-compatible for most apps.
Streaming, tool calling, JSON mode, and error handling on your heaviest models. Shadow 5–10% of traffic before full cutover.
Provider-native features (Anthropic Batch, Google Grounding, OpenAI Assistants) may require the official API. Test your exact payload.
Keep environment variables for base URL and model id. Switch back instantly if staging tests fail.
Chat and agent panels that accept a custom OpenAI base URL. Tab completion often stays on the IDE vendor.
https://api.lumeapi.site/v1 — do not append /chat/completions; clients add the path.
Use OpenAI-compatible override with a LumeAPI Claude catalog id (e.g. claude-sonnet-4-6).
Per-token at published catalog rates; trace in Usage.
Override OpenAI Base URL in IDE settings — use catalog model ids.
OpenAI-compatible provider with LumeAPI base URL and key.
Terra or mini for drafts; Sonnet or Sol for hard refactors.
Console Usage logs show per-completion cost by model id.
Part of the Cheap LLM API hub — models, pricing, and integration guides for this provider.
Iterative AI-assisted coding in the IDE — chat, inline edits, and agent loops on your repo.
Settings → Models → Override OpenAI Base URL + API key. See unique sections on this page.
gpt-5.4-mini or gpt-5.6-terra for most tasks; escalate when evals fail.
This page is IDE integration focused. /coding-ai-api covers repo evals and coding agent economics.
Supported on catalog text models — test in your IDE.
See /cheap-llm-api for budget mainstream picks.
Create a key and point your IDE at https://api.lumeapi.site/v1. Need help choosing a model? Browse the developer docs or contact support.