A cognitive gateway layer for external inference systems. LogicBasis injects stable Core identities during request transit while you retain full control over models, providers, inference parameters, context construction, and execution flow.
LogicBasis is not a hosted language model provider. Your system sends inference requests through the LogicBasis gateway while continuing to use your own external provider accounts.
The gateway validates your LogicBasis market key, deducts exactly 1 request unit, injects the selected Core identity, forwards the request to the chosen provider, and returns a normalized response structure.
LogicBasis does not rewrite, reinterpret, or manually alter provider outputs beyond Core identity injection and response normalization.
The Core identities exposed through the LogicBasis Market are derived abstractions of the original LogicBasis system — intentionally reduced so others can build independently without exposing the internal architecture of the complete environment.
View original system documentation →Every request requires both a LogicBasis market key and a provider API key.
Authorization: Bearer YOUR_LOGICBASIS_MARKET_KEY x-provider-api-key: YOUR_PROVIDER_API_KEY
Each Core is exposed as a dedicated POST endpoint. The gateway accepts a minimal unified request structure independent of the selected provider.
| Field | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Target provider model identifier |
| input | string | Yes | Raw user input sequence |
| temperature | number | No | Sampling temperature. Default: 0.0 |
| top_p | number | No | Nucleus sampling parameter. Default: 1.0 |
| provider | string | No | Explicit provider selector: openai, anthropic, deepseek |
| max_tokens | number | No | Supported only for Anthropic requests |
POST /api/v1/lb-1.1
Content-Type: application/json
Authorization: Bearer YOUR_LOGICBASIS_MARKET_KEY
x-provider-api-key: YOUR_PROVIDER_API_KEY
{
"model": "gpt-4o",
"temperature": 0.0,
"top_p": 1.0,
"input": "The raw user sequence to process..."
}Different providers return different response formats. LogicBasis normalizes provider responses into a unified structure independent of provider-specific schemas.
The returned output field contains the extracted provider-generated response content.
{
"status": "success",
"core": "lb-1.1",
"output": "The provider-generated response..."
}| Core | Endpoint |
|---|---|
| Analysis Core | /api/v1/lb-1.1 |
| Clarify Core | /api/v1/lb-1.2 |
| Reduction Core | /api/v1/lb-1.3 |
| Strategy Core | /api/v1/lb-1.4 |
| Synthesis Core | /api/v1/lb-1.5 |
LogicBasis currently supports OpenAI, Anthropic, and DeepSeek provider routing.
If no explicit provider is supplied, the gateway infers the provider from the model identifier.
| Model Prefix | Provider |
|---|---|
| claude- | Anthropic |
| deepseek- | DeepSeek |
| all other models | OpenAI |
Each successful request deducts exactly 1 unit from your LogicBasis market balance.
Provider-side inference costs are billed directly through your own provider account.
When your balance reaches zero, the gateway returns a402response.
All requests are transmitted over TLS.
The gateway is designed not to persist provider API keys, payload content, provider outputs, or conversation history beyond transient request execution.
LogicBasis does not provide persistent memory, conversation storage, inference trace retention, or behavioral analytics.
LogicBasis is designed to provide stable Core identity conditioning during provider transit.
Final output behavior remains dependent on: model family, provider infrastructure, inference parameters, runtime conditions, and context construction.
You remain fully responsible for output supervision, factual verification, safety evaluation, and downstream system integration.
| Code | Meaning |
|---|---|
| 400 | Invalid input or model |
| 401 | Missing or invalid LogicBasis key |
| 402 | Insufficient balance |
| 5xx | Provider-side or internal gateway failure |
| Provider Status | Provider-side error codes may be forwarded transparently |
For calm and minimal communication regarding integration or account matters: contact@logicbasis.ch