Chatbox & app integration

Chatbox API — LobeChat, Chatbox, LibreChat & OpenAI-Compatible UIs

Plug LobeChat, Chatbox, LibreChat, or your own chat UI into LumeAPI via standard OpenAI-compatible Chat Completions — one API key, streaming, and published catalog rates.

Desktop and self-hosted chat clients expect a custom base URL and model list. LumeAPI exposes GPT, Claude, and Gemini through the same OpenAI-shaped endpoint.

  • One API key
  • Dozens of models
  • Text, image & video
  • Up to 70% off

Mainstream chat client models

Official reference vs LumeAPI catalog rates. Pricing unit: per 1M input / output tokens. Last updated: 2026-07-22. Source: provider list price.

ModelOfficial (in / out)LumeAPI (in / out)Savings
GPT-5.6 Solgpt-5.6-sol$5.00 / $30.00$1.50 / $9.0070% offDetails →
GPT-5.6 Terragpt-5.6-terra$2.50 / $15.00$0.75 / $4.5070% offDetails →
GPT-5.5gpt-5.5$5.00 / $30.00$1.50 / $9.0070% offDetails →
GPT-5.4gpt-5.4$2.50 / $15.00$0.75 / $4.5070% offDetails →
Claude Fable 5claude-fable-5$10.00 / $50.00$5.00 / $25.0050% offDetails →
Claude Opus 4.8claude-opus-4-8$5.00 / $25.00$2.50 / $12.5050% offDetails →
Claude Opus 4.7claude-opus-4-7$5.00 / $25.00$2.50 / $12.5050% offDetails →
Claude Sonnet 4.6claude-sonnet-4-6$3.00 / $15.00$1.50 / $7.5050% offDetails →
Gemini 3.1 Progemini-3.1-pro-preview$2.00 / $12.00$1.00 / $6.0050% offDetails →
GPT-5.4 minigpt-5.4-mini$0.75 / $4.50$0.225 / $1.3570% offDetails →
Gemini 3.5 Flashgemini-3.5-flash$1.50 / $9.00$0.75 / $4.5050% offDetails →
Gemini 3 Flashgemini-3-flash$0.50 / $3.00$0.25 / $1.5050% offDetails →

Monthly cost examples

Illustrative totals for gemini-3.5-flash using catalog list prices — your actual bill depends on retries, tool loops, and output length.

Personal Chatbox

8M input + 3M output tokens / month

Flash for daily chat

Official (Gemini 3.5 Flash)
$39.00/mo
LumeAPI
$19.50/mo
Monthly savings
$19.5050% off

Rates last updated 2026-07-22

Team LobeChat

45M input + 15M output tokens / month

Multi-user self-hosted

Official (Gemini 3.5 Flash)
$202.50/mo
LumeAPI
$101.25/mo
Monthly savings
$101.2550% off

Rates last updated 2026-07-22

One OpenAI-Compatible Endpoint for Three Chat Client Patterns

Last verified: 2026-07-25

LumeAPI gives chat clients a single OpenAI-compatible Chat Completions endpoint at https://api.lumeapi.site/v1. LobeChat, Chatbox desktop, and LibreChat can send standard chat requests to that gateway with a Bearer API key from the LumeAPI Console. The client chooses the model by its exact catalog id; LumeAPI does not translate approximate names or provider aliases.

The implementation detail that causes most setup failures is the base URL. Configure https://api.lumeapi.site/v1 as the API host or base URL, not a completed Chat Completions URL. OpenAI-compatible SDKs and clients normally append /chat/completions themselves. Supplying https://api.lumeapi.site/v1/chat/completions as the base URL can produce duplicated paths or connection failures.

This architecture is useful when teams want one chat workspace while routing work across GPT, Claude, and Gemini tiers. A support team can use gemini-3-flash for high-volume conversations, move difficult analysis to claude-sonnet-4-6, and reserve gpt-5.6-terra for work where its stronger tier is justified. The conversation client remains the user interface; LumeAPI is the independent gateway behind it.

Do not treat LumeAPI as OpenAI, Anthropic, or Google. Use a LumeAPI API key from the Console, point the client to the LumeAPI gateway, and select the LumeAPI catalog model ids exactly as published. This keeps credentials, endpoint ownership, and billing expectations clear for administrators and end users.

Gateway: https://api.lumeapi.site/v1. Authentication: Bearer API key from the LumeAPI Console.

Configure LobeChat with LumeAPI Environment Variables

Last verified: 2026-07-25

Use LobeChat's OpenAI-compatible environment configuration when deploying or self-hosting LobeChat. Keep the endpoint at the versioned API base URL.

  • Create or copy a LumeAPI API key from the LumeAPI Console.
  • Set OPENAI_API_KEY to the LumeAPI API key in the environment used by the LobeChat deployment.
  • Set OPENAI_PROXY_URL=https://api.lumeapi.site/v1.
  • Set ENABLED_OPENAI=1 so the OpenAI-compatible provider is available in LobeChat.
  • Restart or redeploy LobeChat after changing the environment variables; environment changes are not applied to an already running container or process automatically.
  • Open the LobeChat model selector and add or select exact LumeAPI catalog ids such as gpt-5.6-terra, claude-sonnet-4-6, gemini-3.5-flash, or gemini-3-flash.
  • Start with one short non-streaming-style prompt such as “Reply with the word connected” to separate connectivity problems from model or prompt behavior.
  • If LobeChat returns empty responses, test the documented /v1 suffix adjustment for OPENAI_PROXY_URL. Do not append /chat/completions to the configured base URL.
  • Keep the API key server-side in deployment environment variables. Do not expose a shared gateway key in browser-delivered client configuration.

Verified LobeChat settings: OPENAI_API_KEY, OPENAI_PROXY_URL=https://api.lumeapi.site/v1, ENABLED_OPENAI=1.

Connect Chatbox Desktop Through Its OpenAI-Compatible Provider

Last verified: 2026-07-25

Chatbox desktop is a good fit for individual operators, internal evaluators, and support leads who need a local chat client without changing application code.

  • Open Chatbox and go to Settings → Model Provider → Add.
  • Choose OpenAI API compatible as the provider type.
  • Enter a provider name that makes ownership obvious to users, such as LumeAPI.
  • Paste a LumeAPI Console API key into the provider API key field.
  • Set API Host to https://api.lumeapi.site/v1.
  • Leave API Path at its default value, /chat/completions.
  • Add catalog model ids exactly, beginning with gemini-3-flash for a low-cost connectivity test and gpt-5.6-terra or claude-sonnet-4-6 for higher-tier evaluation.
  • Use Check connection before starting production conversations.
  • Send a short prompt to each configured model and confirm that the response is attributed to the intended model selection.
  • If connection validation fails, verify that API Host ends at /v1 and that /chat/completions appears only in the API Path field, not inside API Host.

Verified Chatbox settings path: Settings → Model Provider → Add → OpenAI API compatible. API Host: https://api.lumeapi.site/v1. API Path default: /chat/completions.

LibreChat Custom Endpoint Configuration

Last verified: 2026-07-25

yaml
endpoints:
  custom:
    - name: LumeAPI
      baseURL: https://api.lumeapi.site/v1
      apiKey: ${LUMEAPI_KEY}
      models:
        default:
          - gpt-5.6-terra
          - gpt-5.4-mini
          - claude-sonnet-4-6
          - gemini-3.5-flash
          - gemini-3-flash
      titleConvo: true

Save this in librechat.yaml and provide LUMEAPI_KEY through the LibreChat runtime environment. The baseURL is the API base only; do not add /chat/completions.

Deploy and Validate LibreChat as a Shared LumeAPI Workspace

Last verified: 2026-07-25

LibreChat works best when endpoint configuration is treated as deployable infrastructure: version the YAML, inject credentials through the runtime environment, and validate every exposed model after changes.

  • Add the LumeAPI endpoint under librechat.yaml → endpoints.custom using the name LumeAPI.
  • Set baseURL to https://api.lumeapi.site/v1 exactly.
  • Set apiKey to ${LUMEAPI_KEY} instead of placing the raw key in librechat.yaml.
  • Add LUMEAPI_KEY to the environment used by the LibreChat service, container, or deployment platform.
  • Populate models.default with exact catalog strings that your users are allowed to select, such as gpt-5.6-terra, gpt-5.4-mini, claude-sonnet-4-6, gemini-3.5-flash, and gemini-3-flash.
  • Set titleConvo: true if you want LibreChat to generate conversation titles through the configured endpoint behavior.
  • Restart the LibreChat service after updating librechat.yaml or its environment variables.
  • Open LibreChat, select the LumeAPI endpoint, and send a one-sentence test prompt to every model listed under models.default.
  • Remove models that your organization does not intend to offer rather than using the model picker as an unrestricted catalog browser.
  • When troubleshooting, first compare the selected model string with librechat.yaml character for character. A near-match is not a valid LumeAPI model id.

Verified LibreChat configuration fields: librechat.yaml → endpoints.custom; name LumeAPI; baseURL https://api.lumeapi.site/v1; apiKey ${LUMEAPI_KEY}; models.default; titleConvo true.

Model Routing and Cost Levers for Chat Workspaces

Last verified: 2026-07-25

Use the lower-cost tiers as defaults for routine chat, then make premium models deliberate user-selectable options. Catalog pricing was updated 2026-07-22; figures below are listed as input / output catalog rates.

Model idBest chat-client roleLumeAPI input / outputOfficial input / outputRouting guidance
gemini-3-flashDefault for lightweight, high-volume chat$0.25 / $1.50$0.50 / $3.00Use for connectivity tests, drafting, summaries, and routine internal questions.
gpt-5.4-miniEconomical structured assistant$0.225 / $1.35$0.75 / $4.50Offer as a budget-conscious option for recurring team conversations.
gemini-3.5-flashFaster general-purpose tier$0.75 / $4.50$1.50 / $9.00Use when routine chat needs more capability than the lowest-cost default.
gpt-5.6-terraPremium general work$0.75 / $4.50$2.50 / $15.00Expose for analysis, difficult writing, and tasks where the stronger tier earns its cost.
claude-sonnet-4-6Premium writing and analysis option$1.50 / $7.50$3.00 / $15.00Make this an explicit user choice for higher-value conversations rather than the universal default.
claude-opus-4-8Highest-cost specialist path$2.50 / $12.50$5.00 / $25.00Restrict to users or workflows with a clear reason to use the premium tier.

Prices are catalog figures supplied for 2026-07-22. Model availability and exact model ids should be reviewed against the current LumeAPI catalog before changing production defaults.

Operate the Client Integration Like a Gateway, Not a Provider Plugin

Last verified: 2026-07-25

The practical operating model is simple: each chat client owns its interface, user session behavior, saved prompts, and local configuration; LumeAPI receives OpenAI-compatible Chat Completions requests at one gateway. That separation lets an operations team standardize endpoint configuration across LobeChat, Chatbox, and LibreChat while still giving different groups the client experience they prefer.

Model selection is the main economics control. Do not make every conversation default to a premium tier because it is available. Set gemini-3-flash or gpt-5.4-mini as the first-choice model for routine work, then make gpt-5.6-terra, claude-sonnet-4-6, or higher-priced tiers available for tasks that justify them. This is easier to govern when LibreChat's models.default list and Chatbox's manually added model list contain only approved ids.

Credential handling deserves the same discipline as any production API integration. Store LumeAPI keys in server or deployment environment variables for LobeChat and LibreChat. For a desktop tool such as Chatbox, treat the configured API key as access granted to the desktop user and avoid distributing one shared unrestricted key across a large organization. Rotate keys through the LumeAPI Console when access changes.

There are client limitations to account for. OpenAI-compatible chat configuration applies to Chat Completions workflows, not every feature branded as AI inside a developer tool. For example, Cursor tab completion may not use a custom URL even when its chat features can use a compatible endpoint. Test the exact feature your team plans to deploy, including streaming behavior, model selection, title generation, and connection checks, before presenting it as supported.

LumeAPI is independent from OpenAI, Anthropic, and Google. Use LumeAPI-issued credentials and exact LumeAPI catalog model ids.

One backend, many chat shells

LobeChat, Chatbox, and LibreChat are front ends — they need API Host, key, and model ids. LumeAPI supplies OpenAI-compatible Chat Completions with streaming on catalog text models.

Self-hosted LobeChat uses OPENAI_PROXY_URL; Chatbox uses OpenAI API compatible provider; LibreChat uses librechat.yaml custom endpoints. All point at the same gateway base URL.

Add catalog model ids manually in each client; verify with a short test conversation before rolling out to a team.

Self-serve path: register to first API call

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.

Documentation, catalog, and support

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.

Why LumeAPI

One key, dozens of models

A single API key calls GPT, Claude, Gemini, and more on one USD wallet — no separate vendor accounts per provider.

Up to 70% below reference

Published catalog rates undercut official list pricing. GPT tiers up to ~70% off; Claude and Gemini 50% off official reference.

Official application channels

Model capacity is sourced through major providers’ authorized application channels — recognizable catalog ids, not opaque repackaged endpoints.

Real-time Usage logs

Every call records model id, token counts, latency, and exact USD cost. Audit any line item in Console — usage and price are traceable.

OpenAI-compatible gateway

Point Cursor, SDKs, and agents at one base URL. Change API key, base URL, and model id — keep your existing integration shape.

Text, image, and video

Chat, image generation, and async video on the same key and wallet when you outgrow text-only workloads.

Get started in three steps

  1. Create an API key — register and open Console.
  2. Set the LumeAPI base URLhttps://api.lumeapi.site/v1
  3. Choose a supported model id — from the table above or model catalog.

Migrate in minutes

Three values change: API key, base URL, model id. Everything else stays the same.

Before (official provider in chat app)

python
from openai import OpenAI

client = OpenAI(api_key="YOUR_OPENAI_API_KEY")

response = client.chat.completions.create(
    model="gemini-3.5-flash",
    messages=[{"role": "user", "content": "Hello"}],
)

After (LumeAPI)

python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_LUMEAPI_KEY",
    base_url="https://api.lumeapi.site/v1",
)

response = client.chat.completions.create(
    model="gemini-3.5-flash",
    messages=[{"role": "user", "content": "Hello"}],
)

Full step-by-step rollout, streaming checks, and FAQ: LLM pricing comparison →

Migration & compatibility

What changes

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.

What to test

Streaming, tool calling, JSON mode, and error handling on your heaviest models. Shadow 5–10% of traffic before full cutover.

What may differ

Provider-native features (Anthropic Batch, Google Grounding, OpenAI Assistants) may require the official API. Test your exact payload.

Rollback

Keep environment variables for base URL and model id. Switch back instantly if staging tests fail.

Trust & billing

Streaming?

stream: true on catalog text models — enable in client settings.

Model list?

Add catalog ids manually (e.g. gpt-5.6-terra, claude-sonnet-4-6).

Self-hosted LobeChat?

Set OPENAI_API_KEY and OPENAI_PROXY_URL in deployment env.

Empty responses?

If proxy strips /v1, try with or without /v1 suffix per provider docs.

Built for these workloads

LobeChat

OPENAI_PROXY_URL=https://api.lumeapi.site/v1 in env.

Chatbox desktop

Add OpenAI API compatible provider with API Host + key.

LibreChat

custom endpoint in librechat.yaml with baseURL and model list.

Custom web UI

OpenAI JS/Python SDK with LumeAPI base URL.

Related guides

Part of the Cheap LLM API hub — models, pricing, and integration guides for this provider.

FAQ

LobeChat base URL?

OPENAI_PROXY_URL=https://api.lumeapi.site/v1 — see checklist on this page.

Chatbox API Host?

https://api.lumeapi.site/v1 — OpenAI API compatible mode.

LibreChat custom endpoint?

baseURL: https://api.lumeapi.site/v1 in librechat.yaml endpoints.custom.

vs /chatbot-api?

/chatbot-api is for SaaS bots you build. This page is third-party chat shells.

Vision models?

Use catalog ids that support image input — check /models.

Multi-model switch?

Same key — pick different model id per conversation in the client.

Connect your chat client

Use base URL https://api.lumeapi.site/v1. Need help choosing a model? Browse the developer docs or contact support.