EmpirioLabs AI Chat Completions API

The chatCompletions API from EmpirioLabs AI — 1 operation(s) for chatcompletions.

Business capability
Model Inference AE-110.10

Operations 1

POST /v1/chat/completions Create a chat completion #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/empiriolabs-ai:empiriolabs-ai-chatcompletions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

empiriolabs-ai-chatcompletions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Chat Completions API
  version: 1.0.0
tags:
- name: chatCompletions
paths:
  /v1/chat/completions:
    post:
      operationId: chatCompletions_createChatCompletion
      summary: Create a chat completion
      description: 'OpenAI-compatible chat completions. Pass any chat-capable model

        from the catalog as `model`. Supports streaming (SSE), tool

        calling, vision input, audio input, JSON mode, structured

        output, and provider-specific reasoning controls.


        Streaming uses Server-Sent Events with `data: ...` lines and a

        final `data: [DONE]`.

        `usage` arrives at the end of the stream on a chunk that also has

        `choices`. Set `stream_options.include_usage` to `true` to receive it

        the way OpenAI sends it, in its own chunk just before `[DONE]` whose

        `choices` is an empty list; some models still report it on a chunk

        with `choices`. Read `usage` from the last chunk that carries it.'
      tags:
      - chatCompletions
      responses:
        '200':
          description: Completion (or SSE stream when `stream=true`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatResponse'
        '400':
          description: Invalid request; see error message for the offending parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: The account cannot cover the pay-as-you-go amount required by the request. An active plan can run a request at zero balance only when the entire request is covered by remaining allowance. Partly covered requests require enough balance for the full remainder before work starts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded for this API key. Retry with backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
      security:
      - bearerAuth: []
components:
  schemas:
    Message:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            param:
              type: string
            code:
              type: string
    ChatResponse:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
        created:
          type: integer
        model:
          type: string
        choices:
          type: array
          items:
            $ref: '#/components/schemas/Choice'
    ChatRequest:
      type: object
      properties:
        model:
          type: string
        messages:
          type: array
          items:
            $ref: '#/components/schemas/Message'
    Choice:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT